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

110 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/meta_graph.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 google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 

16from tensorboard.compat.proto import graph_pb2 as tensorboard_dot_compat_dot_proto_dot_graph__pb2 

17from tensorboard.compat.proto import op_def_pb2 as tensorboard_dot_compat_dot_proto_dot_op__def__pb2 

18from tensorboard.compat.proto import tensor_shape_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__shape__pb2 

19from tensorboard.compat.proto import types_pb2 as tensorboard_dot_compat_dot_proto_dot_types__pb2 

20from tensorboard.compat.proto import saved_object_graph_pb2 as tensorboard_dot_compat_dot_proto_dot_saved__object__graph__pb2 

21from tensorboard.compat.proto import saver_pb2 as tensorboard_dot_compat_dot_proto_dot_saver__pb2 

22from tensorboard.compat.proto import struct_pb2 as tensorboard_dot_compat_dot_proto_dot_struct__pb2 

23 

24 

25DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorboard/compat/proto/meta_graph.proto\x12\x0btensorboard\x1a\x19google/protobuf/any.proto\x1a$tensorboard/compat/proto/graph.proto\x1a%tensorboard/compat/proto/op_def.proto\x1a+tensorboard/compat/proto/tensor_shape.proto\x1a$tensorboard/compat/proto/types.proto\x1a\x31tensorboard/compat/proto/saved_object_graph.proto\x1a$tensorboard/compat/proto/saver.proto\x1a%tensorboard/compat/proto/struct.proto\"\xb3\x07\n\x0cMetaGraphDef\x12<\n\rmeta_info_def\x18\x01 \x01(\x0b\x32%.tensorboard.MetaGraphDef.MetaInfoDef\x12(\n\tgraph_def\x18\x02 \x01(\x0b\x32\x15.tensorboard.GraphDef\x12(\n\tsaver_def\x18\x03 \x01(\x0b\x32\x15.tensorboard.SaverDef\x12\x44\n\x0e\x63ollection_def\x18\x04 \x03(\x0b\x32,.tensorboard.MetaGraphDef.CollectionDefEntry\x12\x42\n\rsignature_def\x18\x05 \x03(\x0b\x32+.tensorboard.MetaGraphDef.SignatureDefEntry\x12\x31\n\x0e\x61sset_file_def\x18\x06 \x03(\x0b\x32\x19.tensorboard.AssetFileDef\x12\x37\n\x10object_graph_def\x18\x07 \x01(\x0b\x32\x1d.tensorboard.SavedObjectGraph\x1a\xf8\x02\n\x0bMetaInfoDef\x12\x1a\n\x12meta_graph_version\x18\x01 \x01(\t\x12-\n\x10stripped_op_list\x18\x02 \x01(\x0b\x32\x13.tensorboard.OpList\x12&\n\x08\x61ny_info\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12\x1a\n\x12tensorflow_version\x18\x05 \x01(\t\x12\x1e\n\x16tensorflow_git_version\x18\x06 \x01(\t\x12\x1e\n\x16stripped_default_attrs\x18\x07 \x01(\x08\x12T\n\x10\x66unction_aliases\x18\x08 \x03(\x0b\x32:.tensorboard.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry\x1a\x36\n\x14\x46unctionAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aP\n\x12\x43ollectionDefEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.tensorboard.CollectionDef:\x02\x38\x01\x1aN\n\x11SignatureDefEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.tensorboard.SignatureDef:\x02\x38\x01\"\xe4\x03\n\rCollectionDef\x12\x38\n\tnode_list\x18\x01 \x01(\x0b\x32#.tensorboard.CollectionDef.NodeListH\x00\x12:\n\nbytes_list\x18\x02 \x01(\x0b\x32$.tensorboard.CollectionDef.BytesListH\x00\x12:\n\nint64_list\x18\x03 \x01(\x0b\x32$.tensorboard.CollectionDef.Int64ListH\x00\x12:\n\nfloat_list\x18\x04 \x01(\x0b\x32$.tensorboard.CollectionDef.FloatListH\x00\x12\x36\n\x08\x61ny_list\x18\x05 \x01(\x0b\x32\".tensorboard.CollectionDef.AnyListH\x00\x1a\x19\n\x08NodeList\x12\r\n\x05value\x18\x01 \x03(\t\x1a\x1a\n\tBytesList\x12\r\n\x05value\x18\x01 \x03(\x0c\x1a\x1e\n\tInt64List\x12\x11\n\x05value\x18\x01 \x03(\x03\x42\x02\x10\x01\x1a\x1e\n\tFloatList\x12\x11\n\x05value\x18\x01 \x03(\x02\x42\x02\x10\x01\x1a.\n\x07\x41nyList\x12#\n\x05value\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB\x06\n\x04kind\"\xd7\x03\n\nTensorInfo\x12\x0e\n\x04name\x18\x01 \x01(\tH\x00\x12\x37\n\ncoo_sparse\x18\x04 \x01(\x0b\x32!.tensorboard.TensorInfo.CooSparseH\x00\x12\x43\n\x10\x63omposite_tensor\x18\x05 \x01(\x0b\x32\'.tensorboard.TensorInfo.CompositeTensorH\x00\x12$\n\x05\x64type\x18\x02 \x01(\x0e\x32\x15.tensorboard.DataType\x12\x33\n\x0ctensor_shape\x18\x03 \x01(\x0b\x32\x1d.tensorboard.TensorShapeProto\x1a\x65\n\tCooSparse\x12\x1a\n\x12values_tensor_name\x18\x01 \x01(\t\x12\x1b\n\x13indices_tensor_name\x18\x02 \x01(\t\x12\x1f\n\x17\x64\x65nse_shape_tensor_name\x18\x03 \x01(\t\x1am\n\x0f\x43ompositeTensor\x12-\n\ttype_spec\x18\x01 \x01(\x0b\x32\x1a.tensorboard.TypeSpecProto\x12+\n\ncomponents\x18\x02 \x03(\x0b\x32\x17.tensorboard.TensorInfoB\n\n\x08\x65ncoding\"\xa4\x02\n\x0cSignatureDef\x12\x35\n\x06inputs\x18\x01 \x03(\x0b\x32%.tensorboard.SignatureDef.InputsEntry\x12\x37\n\x07outputs\x18\x02 \x03(\x0b\x32&.tensorboard.SignatureDef.OutputsEntry\x12\x13\n\x0bmethod_name\x18\x03 \x01(\t\x1a\x46\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tensorboard.TensorInfo:\x02\x38\x01\x1aG\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tensorboard.TensorInfo:\x02\x38\x01\"N\n\x0c\x41ssetFileDef\x12,\n\x0btensor_info\x18\x01 \x01(\x0b\x32\x17.tensorboard.TensorInfo\x12\x10\n\x08\x66ilename\x18\x02 \x01(\tB\x87\x01\n\x18org.tensorflow.frameworkB\x0fMetaGraphProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3') 

26 

27 

28 

29_METAGRAPHDEF = DESCRIPTOR.message_types_by_name['MetaGraphDef'] 

30_METAGRAPHDEF_METAINFODEF = _METAGRAPHDEF.nested_types_by_name['MetaInfoDef'] 

31_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY = _METAGRAPHDEF_METAINFODEF.nested_types_by_name['FunctionAliasesEntry'] 

32_METAGRAPHDEF_COLLECTIONDEFENTRY = _METAGRAPHDEF.nested_types_by_name['CollectionDefEntry'] 

33_METAGRAPHDEF_SIGNATUREDEFENTRY = _METAGRAPHDEF.nested_types_by_name['SignatureDefEntry'] 

34_COLLECTIONDEF = DESCRIPTOR.message_types_by_name['CollectionDef'] 

35_COLLECTIONDEF_NODELIST = _COLLECTIONDEF.nested_types_by_name['NodeList'] 

36_COLLECTIONDEF_BYTESLIST = _COLLECTIONDEF.nested_types_by_name['BytesList'] 

37_COLLECTIONDEF_INT64LIST = _COLLECTIONDEF.nested_types_by_name['Int64List'] 

38_COLLECTIONDEF_FLOATLIST = _COLLECTIONDEF.nested_types_by_name['FloatList'] 

39_COLLECTIONDEF_ANYLIST = _COLLECTIONDEF.nested_types_by_name['AnyList'] 

40_TENSORINFO = DESCRIPTOR.message_types_by_name['TensorInfo'] 

41_TENSORINFO_COOSPARSE = _TENSORINFO.nested_types_by_name['CooSparse'] 

42_TENSORINFO_COMPOSITETENSOR = _TENSORINFO.nested_types_by_name['CompositeTensor'] 

43_SIGNATUREDEF = DESCRIPTOR.message_types_by_name['SignatureDef'] 

44_SIGNATUREDEF_INPUTSENTRY = _SIGNATUREDEF.nested_types_by_name['InputsEntry'] 

45_SIGNATUREDEF_OUTPUTSENTRY = _SIGNATUREDEF.nested_types_by_name['OutputsEntry'] 

46_ASSETFILEDEF = DESCRIPTOR.message_types_by_name['AssetFileDef'] 

47MetaGraphDef = _reflection.GeneratedProtocolMessageType('MetaGraphDef', (_message.Message,), { 

48 

49 'MetaInfoDef' : _reflection.GeneratedProtocolMessageType('MetaInfoDef', (_message.Message,), { 

50 

51 'FunctionAliasesEntry' : _reflection.GeneratedProtocolMessageType('FunctionAliasesEntry', (_message.Message,), { 

52 'DESCRIPTOR' : _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY, 

53 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

54 # @@protoc_insertion_point(class_scope:tensorboard.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry) 

55 }) 

56 , 

57 'DESCRIPTOR' : _METAGRAPHDEF_METAINFODEF, 

58 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

59 # @@protoc_insertion_point(class_scope:tensorboard.MetaGraphDef.MetaInfoDef) 

60 }) 

61 , 

62 

63 'CollectionDefEntry' : _reflection.GeneratedProtocolMessageType('CollectionDefEntry', (_message.Message,), { 

64 'DESCRIPTOR' : _METAGRAPHDEF_COLLECTIONDEFENTRY, 

65 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

66 # @@protoc_insertion_point(class_scope:tensorboard.MetaGraphDef.CollectionDefEntry) 

67 }) 

68 , 

69 

70 'SignatureDefEntry' : _reflection.GeneratedProtocolMessageType('SignatureDefEntry', (_message.Message,), { 

71 'DESCRIPTOR' : _METAGRAPHDEF_SIGNATUREDEFENTRY, 

72 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

73 # @@protoc_insertion_point(class_scope:tensorboard.MetaGraphDef.SignatureDefEntry) 

74 }) 

75 , 

76 'DESCRIPTOR' : _METAGRAPHDEF, 

77 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

78 # @@protoc_insertion_point(class_scope:tensorboard.MetaGraphDef) 

79 }) 

80_sym_db.RegisterMessage(MetaGraphDef) 

81_sym_db.RegisterMessage(MetaGraphDef.MetaInfoDef) 

82_sym_db.RegisterMessage(MetaGraphDef.MetaInfoDef.FunctionAliasesEntry) 

83_sym_db.RegisterMessage(MetaGraphDef.CollectionDefEntry) 

84_sym_db.RegisterMessage(MetaGraphDef.SignatureDefEntry) 

85 

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

87 

88 'NodeList' : _reflection.GeneratedProtocolMessageType('NodeList', (_message.Message,), { 

89 'DESCRIPTOR' : _COLLECTIONDEF_NODELIST, 

90 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

91 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef.NodeList) 

92 }) 

93 , 

94 

95 'BytesList' : _reflection.GeneratedProtocolMessageType('BytesList', (_message.Message,), { 

96 'DESCRIPTOR' : _COLLECTIONDEF_BYTESLIST, 

97 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

98 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef.BytesList) 

99 }) 

100 , 

101 

102 'Int64List' : _reflection.GeneratedProtocolMessageType('Int64List', (_message.Message,), { 

103 'DESCRIPTOR' : _COLLECTIONDEF_INT64LIST, 

104 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

105 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef.Int64List) 

106 }) 

107 , 

108 

109 'FloatList' : _reflection.GeneratedProtocolMessageType('FloatList', (_message.Message,), { 

110 'DESCRIPTOR' : _COLLECTIONDEF_FLOATLIST, 

111 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

112 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef.FloatList) 

113 }) 

114 , 

115 

116 'AnyList' : _reflection.GeneratedProtocolMessageType('AnyList', (_message.Message,), { 

117 'DESCRIPTOR' : _COLLECTIONDEF_ANYLIST, 

118 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

119 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef.AnyList) 

120 }) 

121 , 

122 'DESCRIPTOR' : _COLLECTIONDEF, 

123 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

124 # @@protoc_insertion_point(class_scope:tensorboard.CollectionDef) 

125 }) 

126_sym_db.RegisterMessage(CollectionDef) 

127_sym_db.RegisterMessage(CollectionDef.NodeList) 

128_sym_db.RegisterMessage(CollectionDef.BytesList) 

129_sym_db.RegisterMessage(CollectionDef.Int64List) 

130_sym_db.RegisterMessage(CollectionDef.FloatList) 

131_sym_db.RegisterMessage(CollectionDef.AnyList) 

132 

133TensorInfo = _reflection.GeneratedProtocolMessageType('TensorInfo', (_message.Message,), { 

134 

135 'CooSparse' : _reflection.GeneratedProtocolMessageType('CooSparse', (_message.Message,), { 

136 'DESCRIPTOR' : _TENSORINFO_COOSPARSE, 

137 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

138 # @@protoc_insertion_point(class_scope:tensorboard.TensorInfo.CooSparse) 

139 }) 

140 , 

141 

142 'CompositeTensor' : _reflection.GeneratedProtocolMessageType('CompositeTensor', (_message.Message,), { 

143 'DESCRIPTOR' : _TENSORINFO_COMPOSITETENSOR, 

144 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

145 # @@protoc_insertion_point(class_scope:tensorboard.TensorInfo.CompositeTensor) 

146 }) 

147 , 

148 'DESCRIPTOR' : _TENSORINFO, 

149 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

150 # @@protoc_insertion_point(class_scope:tensorboard.TensorInfo) 

151 }) 

152_sym_db.RegisterMessage(TensorInfo) 

153_sym_db.RegisterMessage(TensorInfo.CooSparse) 

154_sym_db.RegisterMessage(TensorInfo.CompositeTensor) 

155 

156SignatureDef = _reflection.GeneratedProtocolMessageType('SignatureDef', (_message.Message,), { 

157 

158 'InputsEntry' : _reflection.GeneratedProtocolMessageType('InputsEntry', (_message.Message,), { 

159 'DESCRIPTOR' : _SIGNATUREDEF_INPUTSENTRY, 

160 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

161 # @@protoc_insertion_point(class_scope:tensorboard.SignatureDef.InputsEntry) 

162 }) 

163 , 

164 

165 'OutputsEntry' : _reflection.GeneratedProtocolMessageType('OutputsEntry', (_message.Message,), { 

166 'DESCRIPTOR' : _SIGNATUREDEF_OUTPUTSENTRY, 

167 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

168 # @@protoc_insertion_point(class_scope:tensorboard.SignatureDef.OutputsEntry) 

169 }) 

170 , 

171 'DESCRIPTOR' : _SIGNATUREDEF, 

172 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

173 # @@protoc_insertion_point(class_scope:tensorboard.SignatureDef) 

174 }) 

175_sym_db.RegisterMessage(SignatureDef) 

176_sym_db.RegisterMessage(SignatureDef.InputsEntry) 

177_sym_db.RegisterMessage(SignatureDef.OutputsEntry) 

178 

179AssetFileDef = _reflection.GeneratedProtocolMessageType('AssetFileDef', (_message.Message,), { 

180 'DESCRIPTOR' : _ASSETFILEDEF, 

181 '__module__' : 'tensorboard.compat.proto.meta_graph_pb2' 

182 # @@protoc_insertion_point(class_scope:tensorboard.AssetFileDef) 

183 }) 

184_sym_db.RegisterMessage(AssetFileDef) 

185 

186if _descriptor._USE_C_DESCRIPTORS == False: 

187 

188 DESCRIPTOR._options = None 

189 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017MetaGraphProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001' 

190 _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._options = None 

191 _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_options = b'8\001' 

192 _METAGRAPHDEF_COLLECTIONDEFENTRY._options = None 

193 _METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_options = b'8\001' 

194 _METAGRAPHDEF_SIGNATUREDEFENTRY._options = None 

195 _METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_options = b'8\001' 

196 _COLLECTIONDEF_INT64LIST.fields_by_name['value']._options = None 

197 _COLLECTIONDEF_INT64LIST.fields_by_name['value']._serialized_options = b'\020\001' 

198 _COLLECTIONDEF_FLOATLIST.fields_by_name['value']._options = None 

199 _COLLECTIONDEF_FLOATLIST.fields_by_name['value']._serialized_options = b'\020\001' 

200 _SIGNATUREDEF_INPUTSENTRY._options = None 

201 _SIGNATUREDEF_INPUTSENTRY._serialized_options = b'8\001' 

202 _SIGNATUREDEF_OUTPUTSENTRY._options = None 

203 _SIGNATUREDEF_OUTPUTSENTRY._serialized_options = b'8\001' 

204 _METAGRAPHDEF._serialized_start=374 

205 _METAGRAPHDEF._serialized_end=1321 

206 _METAGRAPHDEF_METAINFODEF._serialized_start=783 

207 _METAGRAPHDEF_METAINFODEF._serialized_end=1159 

208 _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_start=1105 

209 _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_end=1159 

210 _METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_start=1161 

211 _METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_end=1241 

212 _METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_start=1243 

213 _METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_end=1321 

214 _COLLECTIONDEF._serialized_start=1324 

215 _COLLECTIONDEF._serialized_end=1808 

216 _COLLECTIONDEF_NODELIST._serialized_start=1635 

217 _COLLECTIONDEF_NODELIST._serialized_end=1660 

218 _COLLECTIONDEF_BYTESLIST._serialized_start=1662 

219 _COLLECTIONDEF_BYTESLIST._serialized_end=1688 

220 _COLLECTIONDEF_INT64LIST._serialized_start=1690 

221 _COLLECTIONDEF_INT64LIST._serialized_end=1720 

222 _COLLECTIONDEF_FLOATLIST._serialized_start=1722 

223 _COLLECTIONDEF_FLOATLIST._serialized_end=1752 

224 _COLLECTIONDEF_ANYLIST._serialized_start=1754 

225 _COLLECTIONDEF_ANYLIST._serialized_end=1800 

226 _TENSORINFO._serialized_start=1811 

227 _TENSORINFO._serialized_end=2282 

228 _TENSORINFO_COOSPARSE._serialized_start=2058 

229 _TENSORINFO_COOSPARSE._serialized_end=2159 

230 _TENSORINFO_COMPOSITETENSOR._serialized_start=2161 

231 _TENSORINFO_COMPOSITETENSOR._serialized_end=2270 

232 _SIGNATUREDEF._serialized_start=2285 

233 _SIGNATUREDEF._serialized_end=2577 

234 _SIGNATUREDEF_INPUTSENTRY._serialized_start=2434 

235 _SIGNATUREDEF_INPUTSENTRY._serialized_end=2504 

236 _SIGNATUREDEF_OUTPUTSENTRY._serialized_start=2506 

237 _SIGNATUREDEF_OUTPUTSENTRY._serialized_end=2577 

238 _ASSETFILEDEF._serialized_start=2579 

239 _ASSETFILEDEF._serialized_end=2657 

240# @@protoc_insertion_point(module_scope)