tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.38k stars 1.92k forks source link

Update supported TypedArray data types in tf.tensor in the documentation #8287

Closed gaikwadrahul8 closed 4 months ago

gaikwadrahul8 commented 4 months ago

Hi, Team

I have updated tf.tensor documentation to accurately reflect its support for TypedArray data types. Previously, the documentation listed 11 supported TypedArray data types. However, only Uint8Array, Uint8ClampedArray, Int32Array, and Float32Array were actually functional. This pull request updates the documentation to correctly reflect these supported data types for TypedArray.

Please refer issue https://github.com/tensorflow/tfjs/issues/8257 for more information

I welcome your feedback and suggestions. Thank you.