-
Notifications
You must be signed in to change notification settings - Fork 751
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 DT_STRING createBuffer() doesn't work #249
Comments
Tensor x = new Tensor(DT_STRING, new TensorShape(2, 2));
StringArray a = x.createStringArray();
a.position(0).put("foo");
a.position(3).put("bar");
System.out.println(a.position(0)); // prints "foo" Let me know if that satisfies your needs! |
Thanks ... tensorflow.jar that I get from Maven doesn't seem to have been updated? |
Need to rebuild from source... |
Update binaries are now on the central: |
This code:
results in a null buffer. However,
works fine.
The text was updated successfully, but these errors were encountered: