1syntax = "proto3";
2
3package tensorflow;
4
5import "tensorflow/core/framework/allocation_description.proto";
6import "tensorflow/core/framework/tensor_shape.proto";
7import "tensorflow/core/framework/types.proto";
8
9option cc_enable_arenas = true;
10option java_outer_classname = "TensorDescriptionProtos";
11option java_multiple_files = true;
12option java_package = "org.tensorflow.framework";
13option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/tensor_description_go_proto";
14
15message TensorDescription {
16  // Data type of tensor elements
17  DataType dtype = 1;
18
19  // Shape of the tensor.
20  TensorShapeProto shape = 2;
21
22  // Information about the size and allocator used for the data
23  AllocationDescription allocation_description = 4;
24}
25