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