Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorboard/compat/proto/struct_pb2.py: 62%

73 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# source: tensorboard/compat/proto/struct.proto 

4"""Generated protocol buffer code.""" 

5from google.protobuf import descriptor as _descriptor 

6from google.protobuf import descriptor_pool as _descriptor_pool 

7from google.protobuf import message as _message 

8from google.protobuf import reflection as _reflection 

9from google.protobuf import symbol_database as _symbol_database 

10# @@protoc_insertion_point(imports) 

11 

12_sym_db = _symbol_database.Default() 

13 

14 

15from tensorboard.compat.proto import tensor_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__pb2 

16from tensorboard.compat.proto import tensor_shape_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__shape__pb2 

17from tensorboard.compat.proto import types_pb2 as tensorboard_dot_compat_dot_proto_dot_types__pb2 

18 

19 

20DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorboard/compat/proto/struct.proto\x12\x0btensorboard\x1a%tensorboard/compat/proto/tensor.proto\x1a+tensorboard/compat/proto/tensor_shape.proto\x1a$tensorboard/compat/proto/types.proto\"\xcc\x05\n\x0fStructuredValue\x12,\n\nnone_value\x18\x01 \x01(\x0b\x32\x16.tensorboard.NoneValueH\x00\x12\x17\n\rfloat64_value\x18\x0b \x01(\x01H\x00\x12\x15\n\x0bint64_value\x18\x0c \x01(\x12H\x00\x12\x16\n\x0cstring_value\x18\r \x01(\tH\x00\x12\x14\n\nbool_value\x18\x0e \x01(\x08H\x00\x12;\n\x12tensor_shape_value\x18\x1f \x01(\x0b\x32\x1d.tensorboard.TensorShapeProtoH\x00\x12\x33\n\x12tensor_dtype_value\x18 \x01(\x0e\x32\x15.tensorboard.DataTypeH\x00\x12\x39\n\x11tensor_spec_value\x18! \x01(\x0b\x32\x1c.tensorboard.TensorSpecProtoH\x00\x12\x35\n\x0ftype_spec_value\x18\" \x01(\x0b\x32\x1a.tensorboard.TypeSpecProtoH\x00\x12H\n\x19\x62ounded_tensor_spec_value\x18# \x01(\x0b\x32#.tensorboard.BoundedTensorSpecProtoH\x00\x12,\n\nlist_value\x18\x33 \x01(\x0b\x32\x16.tensorboard.ListValueH\x00\x12.\n\x0btuple_value\x18\x34 \x01(\x0b\x32\x17.tensorboard.TupleValueH\x00\x12,\n\ndict_value\x18\x35 \x01(\x0b\x32\x16.tensorboard.DictValueH\x00\x12\x39\n\x11named_tuple_value\x18\x36 \x01(\x0b\x32\x1c.tensorboard.NamedTupleValueH\x00\x12\x30\n\x0ctensor_value\x18\x37 \x01(\x0b\x32\x18.tensorboard.TensorProtoH\x00\x42\x06\n\x04kind\"\x0b\n\tNoneValue\"9\n\tListValue\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.tensorboard.StructuredValue\":\n\nTupleValue\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.tensorboard.StructuredValue\"\x8c\x01\n\tDictValue\x12\x32\n\x06\x66ields\x18\x01 \x03(\x0b\x32\".tensorboard.DictValue.FieldsEntry\x1aK\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tensorboard.StructuredValue:\x02\x38\x01\"E\n\tPairValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tensorboard.StructuredValue\"G\n\x0fNamedTupleValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x06values\x18\x02 \x03(\x0b\x32\x16.tensorboard.PairValue\"s\n\x0fTensorSpecProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorboard.TensorShapeProto\x12$\n\x05\x64type\x18\x03 \x01(\x0e\x32\x15.tensorboard.DataType\"\xd0\x01\n\x16\x42oundedTensorSpecProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorboard.TensorShapeProto\x12$\n\x05\x64type\x18\x03 \x01(\x0e\x32\x15.tensorboard.DataType\x12)\n\x07minimum\x18\x04 \x01(\x0b\x32\x18.tensorboard.TensorProto\x12)\n\x07maximum\x18\x05 \x01(\x0b\x32\x18.tensorboard.TensorProto\"\xfa\x03\n\rTypeSpecProto\x12\x41\n\x0ftype_spec_class\x18\x01 \x01(\x0e\x32(.tensorboard.TypeSpecProto.TypeSpecClass\x12\x30\n\ntype_state\x18\x02 \x01(\x0b\x32\x1c.tensorboard.StructuredValue\x12\x1c\n\x14type_spec_class_name\x18\x03 \x01(\t\x12\x1b\n\x13num_flat_components\x18\x04 \x01(\x05\"\xb8\x02\n\rTypeSpecClass\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x16\n\x12SPARSE_TENSOR_SPEC\x10\x01\x12\x17\n\x13INDEXED_SLICES_SPEC\x10\x02\x12\x16\n\x12RAGGED_TENSOR_SPEC\x10\x03\x12\x15\n\x11TENSOR_ARRAY_SPEC\x10\x04\x12\x15\n\x11\x44\x41TA_DATASET_SPEC\x10\x05\x12\x16\n\x12\x44\x41TA_ITERATOR_SPEC\x10\x06\x12\x11\n\rOPTIONAL_SPEC\x10\x07\x12\x14\n\x10PER_REPLICA_SPEC\x10\x08\x12\x11\n\rVARIABLE_SPEC\x10\t\x12\x16\n\x12ROW_PARTITION_SPEC\x10\n\x12\x18\n\x14REGISTERED_TYPE_SPEC\x10\x0c\x12\x17\n\x13\x45XTENSION_TYPE_SPEC\x10\r\"\x04\x08\x0b\x10\x0b\x42WZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_protob\x06proto3') 

21 

22 

23 

24_STRUCTUREDVALUE = DESCRIPTOR.message_types_by_name['StructuredValue'] 

25_NONEVALUE = DESCRIPTOR.message_types_by_name['NoneValue'] 

26_LISTVALUE = DESCRIPTOR.message_types_by_name['ListValue'] 

27_TUPLEVALUE = DESCRIPTOR.message_types_by_name['TupleValue'] 

28_DICTVALUE = DESCRIPTOR.message_types_by_name['DictValue'] 

29_DICTVALUE_FIELDSENTRY = _DICTVALUE.nested_types_by_name['FieldsEntry'] 

30_PAIRVALUE = DESCRIPTOR.message_types_by_name['PairValue'] 

31_NAMEDTUPLEVALUE = DESCRIPTOR.message_types_by_name['NamedTupleValue'] 

32_TENSORSPECPROTO = DESCRIPTOR.message_types_by_name['TensorSpecProto'] 

33_BOUNDEDTENSORSPECPROTO = DESCRIPTOR.message_types_by_name['BoundedTensorSpecProto'] 

34_TYPESPECPROTO = DESCRIPTOR.message_types_by_name['TypeSpecProto'] 

35_TYPESPECPROTO_TYPESPECCLASS = _TYPESPECPROTO.enum_types_by_name['TypeSpecClass'] 

36StructuredValue = _reflection.GeneratedProtocolMessageType('StructuredValue', (_message.Message,), { 

37 'DESCRIPTOR' : _STRUCTUREDVALUE, 

38 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

39 # @@protoc_insertion_point(class_scope:tensorboard.StructuredValue) 

40 }) 

41_sym_db.RegisterMessage(StructuredValue) 

42 

43NoneValue = _reflection.GeneratedProtocolMessageType('NoneValue', (_message.Message,), { 

44 'DESCRIPTOR' : _NONEVALUE, 

45 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

46 # @@protoc_insertion_point(class_scope:tensorboard.NoneValue) 

47 }) 

48_sym_db.RegisterMessage(NoneValue) 

49 

50ListValue = _reflection.GeneratedProtocolMessageType('ListValue', (_message.Message,), { 

51 'DESCRIPTOR' : _LISTVALUE, 

52 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

53 # @@protoc_insertion_point(class_scope:tensorboard.ListValue) 

54 }) 

55_sym_db.RegisterMessage(ListValue) 

56 

57TupleValue = _reflection.GeneratedProtocolMessageType('TupleValue', (_message.Message,), { 

58 'DESCRIPTOR' : _TUPLEVALUE, 

59 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

60 # @@protoc_insertion_point(class_scope:tensorboard.TupleValue) 

61 }) 

62_sym_db.RegisterMessage(TupleValue) 

63 

64DictValue = _reflection.GeneratedProtocolMessageType('DictValue', (_message.Message,), { 

65 

66 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), { 

67 'DESCRIPTOR' : _DICTVALUE_FIELDSENTRY, 

68 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

69 # @@protoc_insertion_point(class_scope:tensorboard.DictValue.FieldsEntry) 

70 }) 

71 , 

72 'DESCRIPTOR' : _DICTVALUE, 

73 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

74 # @@protoc_insertion_point(class_scope:tensorboard.DictValue) 

75 }) 

76_sym_db.RegisterMessage(DictValue) 

77_sym_db.RegisterMessage(DictValue.FieldsEntry) 

78 

79PairValue = _reflection.GeneratedProtocolMessageType('PairValue', (_message.Message,), { 

80 'DESCRIPTOR' : _PAIRVALUE, 

81 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

82 # @@protoc_insertion_point(class_scope:tensorboard.PairValue) 

83 }) 

84_sym_db.RegisterMessage(PairValue) 

85 

86NamedTupleValue = _reflection.GeneratedProtocolMessageType('NamedTupleValue', (_message.Message,), { 

87 'DESCRIPTOR' : _NAMEDTUPLEVALUE, 

88 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

89 # @@protoc_insertion_point(class_scope:tensorboard.NamedTupleValue) 

90 }) 

91_sym_db.RegisterMessage(NamedTupleValue) 

92 

93TensorSpecProto = _reflection.GeneratedProtocolMessageType('TensorSpecProto', (_message.Message,), { 

94 'DESCRIPTOR' : _TENSORSPECPROTO, 

95 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

96 # @@protoc_insertion_point(class_scope:tensorboard.TensorSpecProto) 

97 }) 

98_sym_db.RegisterMessage(TensorSpecProto) 

99 

100BoundedTensorSpecProto = _reflection.GeneratedProtocolMessageType('BoundedTensorSpecProto', (_message.Message,), { 

101 'DESCRIPTOR' : _BOUNDEDTENSORSPECPROTO, 

102 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

103 # @@protoc_insertion_point(class_scope:tensorboard.BoundedTensorSpecProto) 

104 }) 

105_sym_db.RegisterMessage(BoundedTensorSpecProto) 

106 

107TypeSpecProto = _reflection.GeneratedProtocolMessageType('TypeSpecProto', (_message.Message,), { 

108 'DESCRIPTOR' : _TYPESPECPROTO, 

109 '__module__' : 'tensorboard.compat.proto.struct_pb2' 

110 # @@protoc_insertion_point(class_scope:tensorboard.TypeSpecProto) 

111 }) 

112_sym_db.RegisterMessage(TypeSpecProto) 

113 

114if _descriptor._USE_C_DESCRIPTORS == False: 

115 

116 DESCRIPTOR._options = None 

117 DESCRIPTOR._serialized_options = b'ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto' 

118 _DICTVALUE_FIELDSENTRY._options = None 

119 _DICTVALUE_FIELDSENTRY._serialized_options = b'8\001' 

120 _STRUCTUREDVALUE._serialized_start=177 

121 _STRUCTUREDVALUE._serialized_end=893 

122 _NONEVALUE._serialized_start=895 

123 _NONEVALUE._serialized_end=906 

124 _LISTVALUE._serialized_start=908 

125 _LISTVALUE._serialized_end=965 

126 _TUPLEVALUE._serialized_start=967 

127 _TUPLEVALUE._serialized_end=1025 

128 _DICTVALUE._serialized_start=1028 

129 _DICTVALUE._serialized_end=1168 

130 _DICTVALUE_FIELDSENTRY._serialized_start=1093 

131 _DICTVALUE_FIELDSENTRY._serialized_end=1168 

132 _PAIRVALUE._serialized_start=1170 

133 _PAIRVALUE._serialized_end=1239 

134 _NAMEDTUPLEVALUE._serialized_start=1241 

135 _NAMEDTUPLEVALUE._serialized_end=1312 

136 _TENSORSPECPROTO._serialized_start=1314 

137 _TENSORSPECPROTO._serialized_end=1429 

138 _BOUNDEDTENSORSPECPROTO._serialized_start=1432 

139 _BOUNDEDTENSORSPECPROTO._serialized_end=1640 

140 _TYPESPECPROTO._serialized_start=1643 

141 _TYPESPECPROTO._serialized_end=2149 

142 _TYPESPECPROTO_TYPESPECCLASS._serialized_start=1837 

143 _TYPESPECPROTO_TYPESPECCLASS._serialized_end=2149 

144# @@protoc_insertion_point(module_scope)