We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'll just use this issue to save some notes regarding the upgrade:
The new maven dependency for all operating systems (tensorflow-core-platform-mkl-gpu for GPU support though that didn't immediately work for me):
tensorflow-core-platform-mkl-gpu
<dependency> <groupId>org.tensorflow</groupId> <artifactId>tensorflow-core-platform-mkl</artifactId> <version>0.2.0</version> </dependency>
Example of how to create Tensors from arrays with the new API:
float[] imgArray = new float[height * width* channel]; // .. assign img values to array Shape shape = Shape.of(1, height, width, channel); Tensor tensor = TFloat32.tensorOf(NdArrays.wrap(shape, DataBuffers.of(imgArray)));
Ping @tomburke-rse
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'll just use this issue to save some notes regarding the upgrade:
The new maven dependency for all operating systems (
tensorflow-core-platform-mkl-gpu
for GPU support though that didn't immediately work for me):Example of how to create Tensors from arrays with the new API:
Ping @tomburke-rse
The text was updated successfully, but these errors were encountered: