-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
tf.data.array() cannot consume a Tensor, despite the documentation claiming so #8300
Comments
Hi, @AdmiralSnyder I apologize for the delayed response and I was trying to replicate the same behavior from my end with your code snippet and I'm getting same result for reference I have added screenshot below: When I'm trying something like below it seems like working fine, if I've missed something here please let me know. Thank you for your cooperation and patience. |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
Hey, the documentation clearly states that data.array should be able to consume a Tensor, rather than a Tensor[]:
which I read as:
-> and since the simple case where you enter the single tensor into the data.array function clearly doesn't work, this is either a bug in the implementation or in the documentation |
Hi @AdmiralSnyder , I apologize for the delayed response. The documentation for May be I'm misunderstanding your question. Could you please clarify what you're finding confusing? Thank You!! |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
Hi @shmishra99 my issue is with the documentation stating certain types vs. the documentation saying something (the stuff you quoted) in prose - there's a discrepancy there (or at least, there was at the point in time when i created this issue). |
System information
Describe the current behavior
i am trying to create a dataset from a tensor, but that failed, see code:
Describe the expected behavior
the dataset should be create-able
Standalone code to reproduce the issue
The text was updated successfully, but these errors were encountered: