-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Add support for non-scalar string tensors in java #8531
Comments
/cc @asimshankar |
I'm under the impression that someone is working on a contribution for this. I'll check in with them to see if they expect to send a PR anytime soon. |
I completed the implementation of the feature and will contribute it back soon. |
Thanks a lot for making this possible. Any idea when "soon" is? |
@erranli could you push your fix, or cut this issue loose? |
@quaeler : I had an earlier attempt at this than I can resurrect. I'll do that and hope to have something in the next few days. |
@asimshankar ok sounds good; if you want to pass the baton, i'm happy to do the resurrection as well. |
Thanks @ebrevdo - any reason not make this into a PR for tensorflow master? |
Please ignore my commit; this was written by @asimshankar and will show up on master soon. |
Fixes tensorflow#8531 PiperOrigin-RevId: 166749470
@caisq thank you for making the change. Curious when will the change be published to maven central? |
This is part of 1.4, so is available on Maven Central. |
Currently, string tensors are not supported in java:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/src/main/java/org/tensorflow/Tensor.java#L90
Implementing this would be very helpful in scenarios of training a model in one language, and serving from a different one, as it allows moving some of the logic to the tensor flow model.
The text was updated successfully, but these errors were encountered: