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.
|
bool pad_variable_length_inputs = 7; |
|
if (options_.pad_variable_length_inputs) { |
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?
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_inputsin the batching guide?