View source on GitHub
|
Utility function to build TensorInfo proto from a Tensor. (deprecated)
tf.compat.v1.saved_model.build_tensor_info(
tensor
)
Migrate to TF2
This API is not compatible with eager execution as tensor needs to be a
graph tensor, and there is no replacement for it in TensorFlow 2.x. To start
writing programs using TensorFlow 2.x, please refer to the Effective
TensorFlow 2 guide.
View source on GitHub