Comments (4)
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.
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.
Are you satisfied with the resolution of your issue?
Yes
No
from tfjs.
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)
- Error Server HOT 8
- hi, I am using google collab to convert my .h5 model to temsorflowjs. This is the error that I get: HOT 7
- Tensorflowjs converter not work using google collab HOT 5
- Convergence of Actor critic algorthim HOT 6
- Converted Model Using TensorFlow.JS Converter Not Working HOT 7
- Clarification regarding the latest mediapipe facemesh model for tfjs HOT 6
- FP16 inference support in WebGPU
- CUDA version mismatch HOT 4
- [feature request] support webp image format
- Which version of Nodejs is compatible with tflite client? HOT 4
- Loading large custom graph model causes java.lang.OutOfMemoryError on Android (React Native) HOT 6
- TensorFlow.js Converter Issue HOT 13
- Dispatch size exceeds WebGPU limits in Y or Z dimension HOT 5
- tfjs converter - not sure succesful or not HOT 7
- tfjs_binding.node is not available in node modules. HOT 3
- `AdamaxOptimizer#applyGradients` fails when the gradient's order changes HOT 5
- Quick Question on Transferring Model Weights HOT 2
- Bundling tfjs in an npm project incudes over 600 copies of the Google Apache License HOT 3
- Loading TFLite models locally? HOT 1
- Broken link on TensorFlow Tutorial > Upgrading to TensorFlow.js 3.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfjs.