blob: b2c115d80e35ecd9ab1f4b08a612b0a733a264f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Protocol messages for describing the configuration of the ExampleParserOp.
syntax = "proto3";
option cc_enable_arenas = true;
option java_outer_classname = "ExampleParserConfigurationProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.example";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/example";
package tensorflow;
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/types.proto";
message VarLenFeatureProto {
tensorflow.DataType dtype = 1;
string values_output_tensor_name = 2;
string indices_output_tensor_name = 3;
string shapes_output_tensor_name = 4;
};
message FixedLenFeatureProto {
tensorflow.DataType dtype = 1;
tensorflow.TensorShapeProto shape = 2;
tensorflow.TensorProto default_value = 3;
string values_output_tensor_name = 4;
};
message FeatureConfiguration {
oneof config {
FixedLenFeatureProto fixed_len_feature = 1;
VarLenFeatureProto var_len_feature = 2;
}
};
message ExampleParserConfiguration {
map<string, FeatureConfiguration> feature_map = 1;
};
|