-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Docs for batching parameter pad_variable_length_inputs
#1934
Comments
+1 |
1 similar comment
+1 |
Descriptions on Thank you! |
@singhniraj08 Thank you for your help :) I was able to find the related code and understand it, but I think it would be even more helpful if this argument was added to the "TensorFlow Serving Batching Guide" documentation. |
Can we add Thank you! |
When I use TF-Serving with batching options and variable length inputs, I could get errors like
Tensors with name 'example_feature:0' from different tasks have different shapes and padding is turned off.Set pad_variable_length_inputs to true, or ensure that all tensors with the same namehave equal dimensions starting with the first dim.
, and I could find codes related to that parameters.serving/tensorflow_serving/servables/tensorflow/session_bundle_config.proto
Line 165 in 2b20315
serving/tensorflow_serving/batching/batching_session.cc
Line 514 in 21360c7
But in batching guide(https://github.com/tensorflow/serving/blob/master/tensorflow_serving/batching/README.md), there is no description about parameter
pad_variable_length_inputs
.Can you add descriptions for
pad_variable_length_inputs
in the batching guide?The text was updated successfully, but these errors were encountered: