mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-01 08:48:46 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
25 lines
758 B
Protocol Buffer
25 lines
758 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package tensorflow;
|
|
|
|
import "tensorflow/core/framework/allocation_description.proto";
|
|
import "tensorflow/core/framework/tensor_shape.proto";
|
|
import "tensorflow/core/framework/types.proto";
|
|
|
|
option cc_enable_arenas = true;
|
|
option java_outer_classname = "TensorDescriptionProtos";
|
|
option java_multiple_files = true;
|
|
option java_package = "org.tensorflow.framework";
|
|
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/tensor_description_go_proto";
|
|
|
|
message TensorDescription {
|
|
// Data type of tensor elements
|
|
DataType dtype = 1;
|
|
|
|
// Shape of the tensor.
|
|
TensorShapeProto shape = 2;
|
|
|
|
// Information about the size and allocator used for the data
|
|
AllocationDescription allocation_description = 4;
|
|
}
|