1syntax = "proto3"; 2 3package tensorflow; 4 5import "tensorflow/core/framework/tensor.proto"; 6 7option cc_enable_arenas = true; 8option java_outer_classname = "NamedTensorProtos"; 9option java_multiple_files = true; 10option java_package = "org.tensorflow.framework"; 11option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"; 12 13// A pair of tensor name and tensor values. 14message NamedTensorProto { 15 // Name of the tensor. 16 string name = 1; 17 18 // The client can populate a TensorProto using a tensorflow::Tensor`, or 19 // directly using the protobuf field accessors. 20 // 21 // The client specifies whether the returned tensor values should be 22 // filled tensor fields (float_val, int_val, etc.) or encoded in a 23 // compact form in tensor.tensor_content. 24 TensorProto tensor = 2; 25} 26