diff options
Diffstat (limited to 'tensorflow/core/framework/tensor.proto')
-rw-r--r-- | tensorflow/core/framework/tensor.proto | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tensorflow/core/framework/tensor.proto b/tensorflow/core/framework/tensor.proto index 86c5b88153..5d383bcc66 100644 --- a/tensorflow/core/framework/tensor.proto +++ b/tensorflow/core/framework/tensor.proto @@ -28,8 +28,11 @@ message TensorProto { // to represent a constant Tensor with a single value. int32 version_number = 3; - // Serialized content from Tensor::AsProtoTensorContent(). This representation - // can be used for all tensor types. + // Serialized raw tensor content from either Tensor::AsProtoTensorContent or + // memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation + // can be used for all tensor types. The purpose of this representation is to + // reduce serialization overhead during RPC call by avoiding serialization of + // many repeated small items. bytes tensor_content = 4; // Type specific representations that make it easy to create tensor protos in |