-
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
Tensor construction fails for the majority of TypedArray types #8257
Comments
Hi, @controversial Thank you for bringing this issue to our attention and I was able to reproduce the behavior on my end as well. It appears there may be a discrepancy between the TensorFlow.js documentation and the currently supported Here is output log for reference :
Thank you for your understanding and patience. |
Hi, @controversial I sincerely apologize for the delay in responding. I noticed that pull request #8287 has been merged, which addresses the need to update the official documentation. These changes will be reflected in the next release of TensorFlow.js. With this update in place, I'm closing this issue. Thank you for raising this concern and for your valuable time and effort. Thank you for your cooperation and patience. |
Thanks for updating the docs @gaikwadrahul8 ! That’s really helpful Could we reopen this issue as a feature request to add support for the missing array types, instead of just documenting that they aren’t supported? |
System information
Describe the current behavior
Only some types of TypedArrays can be passed to
tf.tensor
:Output:
The error for the failing arrays is:
Describe the expected behavior
Per the docs:
All
TypedArray
s, (listed on the MDN page that’s linked in the TensorFlow.js docs), should be valid for thetf.tensor
constructor.Standalone code to reproduce the issue
See above
The text was updated successfully, but these errors were encountered: