GithubHelp home page GithubHelp logo

Comments (4)

gaikwadrahul8 avatar gaikwadrahul8 commented on September 27, 2024 1

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 TypedArrays for tensor construction. While the documentation lists broader compatibility with all TypedArrays but at the moment seems like it only support (Uint8Array, Uint8ClampedArray, Int32Array, Float32Array) for tensor construction so most probably this issue will be considered as feature request if TensorFlow.js does not support remaining TypedArrays for tensor construction and I'll discuss this issue in our internal meeting and will update you soon on this. thank you for your valuable time and efforts bringing this issue to our attention

Here is output log for reference :

(base) gaikwadrahul-macbookpro:test-8257 gaikwadrahul$ node index.js
- failure: Int8Array
+ success: Uint8Array
+ success: Uint8ClampedArray
- failure: Int16Array
- failure: Uint16Array
+ success: Int32Array
- failure: Uint32Array
+ success: Float32Array
- failure: Float64Array
(base) gaikwadrahul-macbookpro:test-8257 gaikwadrahul$ 

Thank you for your understanding and patience.

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on September 27, 2024

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.

from tfjs.

google-ml-butler avatar google-ml-butler commented on September 27, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tfjs.

controversial avatar controversial commented on September 27, 2024

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?

from tfjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.