Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for tf.linalg.set_diag() is missing return information #67255

Open
khatchad opened this issue May 9, 2024 · 4 comments
Open

Documentation for tf.linalg.set_diag() is missing return information #67255

khatchad opened this issue May 9, 2024 · 4 comments
Assignees
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author type:bug Bug type:docs-bug Document issues

Comments

@khatchad
Copy link

khatchad commented May 9, 2024

Issue type

Documentation Bug

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

2.16.1

Custom code

No

OS platform and distribution

No response

Mobile device

No response

Python version

No response

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Return informationa at https://www.tensorflow.org/api_docs/python/tf/linalg/set_diag. I only see args.

Standalone code to reproduce the issue

It's a documentation "bug."

Relevant log output

No response

@khatchad
Copy link
Author

khatchad commented May 9, 2024

Actually, I'm unsure whether these docs are for the correct API. I don't see a call to it anywhere in the examples.

@khatchad
Copy link
Author

khatchad commented May 9, 2024

Ah, they haven't been updated for TF2. They still refer to the old matrix_set_diag API.

@sushreebarsa
Copy link
Contributor

sushreebarsa commented May 10, 2024

@khatchad You're right, the official TF documentation for tf.linalg.set_diag() doesn't explicitly mention the return value in the descriptiontf.linalg.set_diag. Please refer the master branch for the detailed information.
Thank you!

@sushreebarsa sushreebarsa added the stat:awaiting response Status - Awaiting response from author label May 14, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale This label marks the issue/pr stale - to be closed automatically if no activity label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author type:bug Bug type:docs-bug Document issues
Projects
None yet
Development

No branches or pull requests

2 participants