Skip to content

Commit 31dccc7

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Update protos.
PiperOrigin-RevId: 704635136
1 parent 7051dea commit 31dccc7

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

tensorflow_datasets/proto/tf_example_generated_pb2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
# Generated by the protocol buffer compiler. DO NOT EDIT!
2020
# source: tensorflow_datasets/proto/tf_example.proto
2121
"""Generated protocol buffer code."""
22-
from google.protobuf.internal import builder as _builder
2322
from google.protobuf import descriptor as _descriptor
2423
from google.protobuf import descriptor_pool as _descriptor_pool
2524
from google.protobuf import symbol_database as _symbol_database
25+
from google.protobuf.internal import builder as _builder
2626
# @@protoc_insertion_point(imports)
2727

2828
_sym_db = _symbol_database.Default()
@@ -43,6 +43,7 @@
4343
DESCRIPTOR, 'tensorflow_datasets.proto.tf_example_pb2', globals()
4444
)
4545
if _descriptor._USE_C_DESCRIPTORS == False:
46+
4647
DESCRIPTOR._options = None
4748
DESCRIPTOR._serialized_options = b'\n\026org.tensorflow.exampleB\rExampleProtosP\001ZSgithub.com/tensorflow/tensorflow/tensorflow/go/core/example/example_protos_go_proto\370\001\001'
4849
_EXAMPLE._serialized_start = 107

tensorflow_datasets/proto/tf_feature.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ message FloatList {
2121
repeated float value = 1 [packed = true];
2222
}
2323
message Int64List {
24-
repeated int64 value = 1 [packed = true];
24+
repeated int64 value = 1 [packed = true, jstype = JS_STRING];
2525
}
2626
message Feature {
2727
oneof kind {

tensorflow_datasets/proto/tf_feature_generated_pb2.py

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
# Generated by the protocol buffer compiler. DO NOT EDIT!
2020
# source: tensorflow_datasets/proto/tf_feature.proto
2121
"""Generated protocol buffer code."""
22-
from google.protobuf.internal import builder as _builder
2322
from google.protobuf import descriptor as _descriptor
2423
from google.protobuf import descriptor_pool as _descriptor_pool
2524
from google.protobuf import symbol_database as _symbol_database
25+
from google.protobuf.internal import builder as _builder
2626
# @@protoc_insertion_point(imports)
2727

2828
_sym_db = _symbol_database.Default()
@@ -31,8 +31,8 @@
3131
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
3232
b'\n*tensorflow_datasets/proto/tf_feature.proto\x12\x0ftensorflow_copy"\x1a\n\tBytesList\x12\r\n\x05value\x18\x01'
3333
b' \x03(\x0c"\x1e\n\tFloatList\x12\x11\n\x05value\x18\x01'
34-
b' \x03(\x02\x42\x02\x10\x01"\x1e\n\tInt64List\x12\x11\n\x05value\x18\x01'
35-
b' \x03(\x03\x42\x02\x10\x01"\xa7\x01\n\x07\x46\x65\x61ture\x12\x30\n\nbytes_list\x18\x01'
34+
b' \x03(\x02\x42\x02\x10\x01" \n\tInt64List\x12\x13\n\x05value\x18\x01'
35+
b' \x03(\x03\x42\x04\x10\x01\x30\x01"\xa7\x01\n\x07\x46\x65\x61ture\x12\x30\n\nbytes_list\x18\x01'
3636
b' \x01(\x0b\x32\x1a.tensorflow_copy.BytesListH\x00\x12\x30\n\nfloat_list\x18\x02'
3737
b' \x01(\x0b\x32\x1a.tensorflow_copy.FloatListH\x00\x12\x30\n\nint64_list\x18\x03'
3838
b' \x01(\x0b\x32\x1a.tensorflow_copy.Int64ListH\x00\x42\x06\n\x04kind"\x8d\x01\n\x08\x46\x65\x61tures\x12\x37\n\x07\x66\x65\x61ture\x18\x01'
@@ -50,12 +50,13 @@
5050
DESCRIPTOR, 'tensorflow_datasets.proto.tf_feature_pb2', globals()
5151
)
5252
if _descriptor._USE_C_DESCRIPTORS == False:
53+
5354
DESCRIPTOR._options = None
5455
DESCRIPTOR._serialized_options = b'\n\026org.tensorflow.exampleB\rFeatureProtosP\001ZSgithub.com/tensorflow/tensorflow/tensorflow/go/core/example/example_protos_go_proto\370\001\001'
5556
_FLOATLIST.fields_by_name['value']._options = None
5657
_FLOATLIST.fields_by_name['value']._serialized_options = b'\020\001'
5758
_INT64LIST.fields_by_name['value']._options = None
58-
_INT64LIST.fields_by_name['value']._serialized_options = b'\020\001'
59+
_INT64LIST.fields_by_name['value']._serialized_options = b'\020\0010\001'
5960
_FEATURES_FEATUREENTRY._options = None
6061
_FEATURES_FEATUREENTRY._serialized_options = b'8\001'
6162
_FEATURELISTS_FEATURELISTENTRY._options = None
@@ -65,17 +66,17 @@
6566
_FLOATLIST._serialized_start = 91
6667
_FLOATLIST._serialized_end = 121
6768
_INT64LIST._serialized_start = 123
68-
_INT64LIST._serialized_end = 153
69-
_FEATURE._serialized_start = 156
70-
_FEATURE._serialized_end = 323
71-
_FEATURES._serialized_start = 326
72-
_FEATURES._serialized_end = 467
73-
_FEATURES_FEATUREENTRY._serialized_start = 395
74-
_FEATURES_FEATUREENTRY._serialized_end = 467
75-
_FEATURELIST._serialized_start = 469
76-
_FEATURELIST._serialized_end = 525
77-
_FEATURELISTS._serialized_start = 528
78-
_FEATURELISTS._serialized_end = 694
79-
_FEATURELISTS_FEATURELISTENTRY._serialized_start = 614
80-
_FEATURELISTS_FEATURELISTENTRY._serialized_end = 694
69+
_INT64LIST._serialized_end = 155
70+
_FEATURE._serialized_start = 158
71+
_FEATURE._serialized_end = 325
72+
_FEATURES._serialized_start = 328
73+
_FEATURES._serialized_end = 469
74+
_FEATURES_FEATUREENTRY._serialized_start = 397
75+
_FEATURES_FEATUREENTRY._serialized_end = 469
76+
_FEATURELIST._serialized_start = 471
77+
_FEATURELIST._serialized_end = 527
78+
_FEATURELISTS._serialized_start = 530
79+
_FEATURELISTS._serialized_end = 696
80+
_FEATURELISTS_FEATURELISTENTRY._serialized_start = 616
81+
_FEATURELISTS_FEATURELISTENTRY._serialized_end = 696
8182
# @@protoc_insertion_point(module_scope)

0 commit comments

Comments
 (0)