tf.saved_model.utils.build_tensor_info
tf.saved_model.utils.build_tensor_info
tf.saved_model.utils.build_tensor_info
build_tensor_info(tensor)
Defined in tensorflow/python/saved_model/utils_impl.py
.
Utility function to build TensorInfo proto.
Args:
-
tensor
: Tensor whose name, dtype and shape are used to build the TensorInfo.
Returns:
A TensorInfo protocol buffer constructed based on the supplied argument.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/saved_model/utils/build_tensor_info