You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mindinsight_summary_pb2.py 48 kB

5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: mindinsight_summary.proto
  4. from google.protobuf import descriptor as _descriptor
  5. from google.protobuf import message as _message
  6. from google.protobuf import reflection as _reflection
  7. from google.protobuf import symbol_database as _symbol_database
  8. # @@protoc_insertion_point(imports)
  9. _sym_db = _symbol_database.Default()
  10. from mindinsight.datavisual.proto_files import mindinsight_anf_ir_pb2 as mindinsight__anf__ir__pb2
  11. DESCRIPTOR = _descriptor.FileDescriptor(
  12. name='mindinsight_summary.proto',
  13. package='mindinsight',
  14. syntax='proto2',
  15. serialized_options=b'\370\001\001',
  16. serialized_pb=b'\n\x19mindinsight_summary.proto\x12\x0bmindinsight\x1a\x18mindinsight_anf_ir.proto\"\xc0\x02\n\x05\x45vent\x12\x11\n\twall_time\x18\x01 \x02(\x01\x12\x0c\n\x04step\x18\x02 \x01(\x03\x12\x11\n\x07version\x18\x03 \x01(\tH\x00\x12,\n\tgraph_def\x18\x04 \x01(\x0b\x32\x17.mindinsight.GraphProtoH\x00\x12\'\n\x07summary\x18\x05 \x01(\x0b\x32\x14.mindinsight.SummaryH\x00\x12\x32\n\rtrain_lineage\x18\x06 \x01(\x0b\x32\x19.mindinsight.TrainLineageH\x00\x12<\n\x12\x65valuation_lineage\x18\x07 \x01(\x0b\x32\x1e.mindinsight.EvaluationLineageH\x00\x12\x32\n\rdataset_graph\x18\t \x01(\x0b\x32\x19.mindinsight.DatasetGraphH\x00\x42\x06\n\x04what\"\xb6\x04\n\x0cTrainLineage\x12\x43\n\x10hyper_parameters\x18\x01 \x01(\x0b\x32).mindinsight.TrainLineage.HyperParameters\x12=\n\rtrain_dataset\x18\x02 \x01(\x0b\x32&.mindinsight.TrainLineage.TrainDataset\x12\x36\n\talgorithm\x18\x03 \x01(\x0b\x32#.mindinsight.TrainLineage.Algorithm\x12.\n\x05model\x18\x04 \x01(\x0b\x32\x1f.mindinsight.TrainLineage.Model\x1a\xa0\x01\n\x0fHyperParameters\x12\x11\n\toptimizer\x18\x01 \x01(\t\x12\x15\n\rlearning_rate\x18\x02 \x01(\x02\x12\x15\n\rloss_function\x18\x03 \x01(\t\x12\r\n\x05\x65poch\x18\x04 \x01(\x05\x12\x15\n\rparallel_mode\x18\x05 \x01(\t\x12\x12\n\ndevice_num\x18\x06 \x01(\x05\x12\x12\n\nbatch_size\x18\x08 \x01(\x05\x1a\x46\n\x0cTrainDataset\x12\x1a\n\x12train_dataset_path\x18\x01 \x01(\t\x12\x1a\n\x12train_dataset_size\x18\x02 \x01(\x05\x1a*\n\tAlgorithm\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x0c\n\x04loss\x18\x02 \x01(\x02\x1a#\n\x05Model\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\x03\"\xaf\x01\n\x11\x45valuationLineage\x12\x0e\n\x06metric\x18\x02 \x01(\t\x12\x42\n\rvalid_dataset\x18\x03 \x01(\x0b\x32+.mindinsight.EvaluationLineage.ValidDataset\x1a\x46\n\x0cValidDataset\x12\x1a\n\x12valid_dataset_path\x18\x01 \x01(\t\x12\x1a\n\x12valid_dataset_size\x18\x02 \x01(\x05\"\x98\x02\n\x07Summary\x12)\n\x05value\x18\x01 \x03(\x0b\x32\x1a.mindinsight.Summary.Value\x1aQ\n\x05Image\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05width\x18\x02 \x02(\x05\x12\x12\n\ncolorspace\x18\x03 \x02(\x05\x12\x15\n\rencoded_image\x18\x04 \x02(\x0c\x1a\x8e\x01\n\x05Value\x12\x0b\n\x03tag\x18\x01 \x02(\t\x12\x16\n\x0cscalar_value\x18\x03 \x01(\x02H\x00\x12+\n\x05image\x18\x04 \x01(\x0b\x32\x1a.mindinsight.Summary.ImageH\x00\x12*\n\x06tensor\x18\x08 \x01(\x0b\x32\x18.mindinsight.TensorProtoH\x00\x42\x07\n\x05value\"\xc4\x01\n\x0c\x44\x61tasetGraph\x12+\n\x08\x63hildren\x18\x01 \x03(\x0b\x32\x19.mindinsight.DatasetGraph\x12\x32\n\tparameter\x18\x02 \x01(\x0b\x32\x1f.mindinsight.OperationParameter\x12*\n\noperations\x18\x03 \x03(\x0b\x32\x16.mindinsight.Operation\x12\'\n\x07sampler\x18\x04 \x01(\x0b\x32\x16.mindinsight.Operation\"c\n\tOperation\x12\x37\n\x0eoperationParam\x18\x01 \x01(\x0b\x32\x1f.mindinsight.OperationParameter\x12\x0c\n\x04size\x18\x02 \x03(\x05\x12\x0f\n\x07weights\x18\x03 \x03(\x02\"\xde\x04\n\x12OperationParameter\x12;\n\x06mapStr\x18\x01 \x03(\x0b\x32+.mindinsight.OperationParameter.MapStrEntry\x12\x43\n\nmapStrList\x18\x02 \x03(\x0b\x32/.mindinsight.OperationParameter.MapStrListEntry\x12=\n\x07mapBool\x18\x03 \x03(\x0b\x32,.mindinsight.OperationParameter.MapBoolEntry\x12;\n\x06mapInt\x18\x04 \x03(\x0b\x32+.mindinsight.OperationParameter.MapIntEntry\x12\x41\n\tmapDouble\x18\x05 \x03(\x0b\x32..mindinsight.OperationParameter.MapDoubleEntry\x1a-\n\x0bMapStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aG\n\x0fMapStrListEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.mindinsight.StrList:\x02\x38\x01\x1a.\n\x0cMapBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a-\n\x0bMapIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x30\n\x0eMapDoubleEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\x1b\n\x07StrList\x12\x10\n\x08strValue\x18\x01 \x03(\tB\x03\xf8\x01\x01'
  17. ,
  18. dependencies=[mindinsight__anf__ir__pb2.DESCRIPTOR,])
  19. _EVENT = _descriptor.Descriptor(
  20. name='Event',
  21. full_name='mindinsight.Event',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. containing_type=None,
  25. fields=[
  26. _descriptor.FieldDescriptor(
  27. name='wall_time', full_name='mindinsight.Event.wall_time', index=0,
  28. number=1, type=1, cpp_type=5, label=2,
  29. has_default_value=False, default_value=float(0),
  30. message_type=None, enum_type=None, containing_type=None,
  31. is_extension=False, extension_scope=None,
  32. serialized_options=None, file=DESCRIPTOR),
  33. _descriptor.FieldDescriptor(
  34. name='step', full_name='mindinsight.Event.step', index=1,
  35. number=2, type=3, cpp_type=2, label=1,
  36. has_default_value=False, default_value=0,
  37. message_type=None, enum_type=None, containing_type=None,
  38. is_extension=False, extension_scope=None,
  39. serialized_options=None, file=DESCRIPTOR),
  40. _descriptor.FieldDescriptor(
  41. name='version', full_name='mindinsight.Event.version', index=2,
  42. number=3, type=9, cpp_type=9, label=1,
  43. has_default_value=False, default_value=b"".decode('utf-8'),
  44. message_type=None, enum_type=None, containing_type=None,
  45. is_extension=False, extension_scope=None,
  46. serialized_options=None, file=DESCRIPTOR),
  47. _descriptor.FieldDescriptor(
  48. name='graph_def', full_name='mindinsight.Event.graph_def', index=3,
  49. number=4, type=11, cpp_type=10, label=1,
  50. has_default_value=False, default_value=None,
  51. message_type=None, enum_type=None, containing_type=None,
  52. is_extension=False, extension_scope=None,
  53. serialized_options=None, file=DESCRIPTOR),
  54. _descriptor.FieldDescriptor(
  55. name='summary', full_name='mindinsight.Event.summary', index=4,
  56. number=5, type=11, cpp_type=10, label=1,
  57. has_default_value=False, default_value=None,
  58. message_type=None, enum_type=None, containing_type=None,
  59. is_extension=False, extension_scope=None,
  60. serialized_options=None, file=DESCRIPTOR),
  61. _descriptor.FieldDescriptor(
  62. name='train_lineage', full_name='mindinsight.Event.train_lineage', index=5,
  63. number=6, type=11, cpp_type=10, label=1,
  64. has_default_value=False, default_value=None,
  65. message_type=None, enum_type=None, containing_type=None,
  66. is_extension=False, extension_scope=None,
  67. serialized_options=None, file=DESCRIPTOR),
  68. _descriptor.FieldDescriptor(
  69. name='evaluation_lineage', full_name='mindinsight.Event.evaluation_lineage', index=6,
  70. number=7, type=11, cpp_type=10, label=1,
  71. has_default_value=False, default_value=None,
  72. message_type=None, enum_type=None, containing_type=None,
  73. is_extension=False, extension_scope=None,
  74. serialized_options=None, file=DESCRIPTOR),
  75. _descriptor.FieldDescriptor(
  76. name='dataset_graph', full_name='mindinsight.Event.dataset_graph', index=7,
  77. number=9, type=11, cpp_type=10, label=1,
  78. has_default_value=False, default_value=None,
  79. message_type=None, enum_type=None, containing_type=None,
  80. is_extension=False, extension_scope=None,
  81. serialized_options=None, file=DESCRIPTOR),
  82. ],
  83. extensions=[
  84. ],
  85. nested_types=[],
  86. enum_types=[
  87. ],
  88. serialized_options=None,
  89. is_extendable=False,
  90. syntax='proto2',
  91. extension_ranges=[],
  92. oneofs=[
  93. _descriptor.OneofDescriptor(
  94. name='what', full_name='mindinsight.Event.what',
  95. index=0, containing_type=None, fields=[]),
  96. ],
  97. serialized_start=69,
  98. serialized_end=389,
  99. )
  100. _TRAINLINEAGE_HYPERPARAMETERS = _descriptor.Descriptor(
  101. name='HyperParameters',
  102. full_name='mindinsight.TrainLineage.HyperParameters',
  103. filename=None,
  104. file=DESCRIPTOR,
  105. containing_type=None,
  106. fields=[
  107. _descriptor.FieldDescriptor(
  108. name='optimizer', full_name='mindinsight.TrainLineage.HyperParameters.optimizer', index=0,
  109. number=1, type=9, cpp_type=9, label=1,
  110. has_default_value=False, default_value=b"".decode('utf-8'),
  111. message_type=None, enum_type=None, containing_type=None,
  112. is_extension=False, extension_scope=None,
  113. serialized_options=None, file=DESCRIPTOR),
  114. _descriptor.FieldDescriptor(
  115. name='learning_rate', full_name='mindinsight.TrainLineage.HyperParameters.learning_rate', index=1,
  116. number=2, type=2, cpp_type=6, label=1,
  117. has_default_value=False, default_value=float(0),
  118. message_type=None, enum_type=None, containing_type=None,
  119. is_extension=False, extension_scope=None,
  120. serialized_options=None, file=DESCRIPTOR),
  121. _descriptor.FieldDescriptor(
  122. name='loss_function', full_name='mindinsight.TrainLineage.HyperParameters.loss_function', index=2,
  123. number=3, type=9, cpp_type=9, label=1,
  124. has_default_value=False, default_value=b"".decode('utf-8'),
  125. message_type=None, enum_type=None, containing_type=None,
  126. is_extension=False, extension_scope=None,
  127. serialized_options=None, file=DESCRIPTOR),
  128. _descriptor.FieldDescriptor(
  129. name='epoch', full_name='mindinsight.TrainLineage.HyperParameters.epoch', index=3,
  130. number=4, type=5, cpp_type=1, label=1,
  131. has_default_value=False, default_value=0,
  132. message_type=None, enum_type=None, containing_type=None,
  133. is_extension=False, extension_scope=None,
  134. serialized_options=None, file=DESCRIPTOR),
  135. _descriptor.FieldDescriptor(
  136. name='parallel_mode', full_name='mindinsight.TrainLineage.HyperParameters.parallel_mode', index=4,
  137. number=5, type=9, cpp_type=9, label=1,
  138. has_default_value=False, default_value=b"".decode('utf-8'),
  139. message_type=None, enum_type=None, containing_type=None,
  140. is_extension=False, extension_scope=None,
  141. serialized_options=None, file=DESCRIPTOR),
  142. _descriptor.FieldDescriptor(
  143. name='device_num', full_name='mindinsight.TrainLineage.HyperParameters.device_num', index=5,
  144. number=6, type=5, cpp_type=1, label=1,
  145. has_default_value=False, default_value=0,
  146. message_type=None, enum_type=None, containing_type=None,
  147. is_extension=False, extension_scope=None,
  148. serialized_options=None, file=DESCRIPTOR),
  149. _descriptor.FieldDescriptor(
  150. name='batch_size', full_name='mindinsight.TrainLineage.HyperParameters.batch_size', index=6,
  151. number=8, type=5, cpp_type=1, label=1,
  152. has_default_value=False, default_value=0,
  153. message_type=None, enum_type=None, containing_type=None,
  154. is_extension=False, extension_scope=None,
  155. serialized_options=None, file=DESCRIPTOR),
  156. ],
  157. extensions=[
  158. ],
  159. nested_types=[],
  160. enum_types=[
  161. ],
  162. serialized_options=None,
  163. is_extendable=False,
  164. syntax='proto2',
  165. extension_ranges=[],
  166. oneofs=[
  167. ],
  168. serialized_start=645,
  169. serialized_end=805,
  170. )
  171. _TRAINLINEAGE_TRAINDATASET = _descriptor.Descriptor(
  172. name='TrainDataset',
  173. full_name='mindinsight.TrainLineage.TrainDataset',
  174. filename=None,
  175. file=DESCRIPTOR,
  176. containing_type=None,
  177. fields=[
  178. _descriptor.FieldDescriptor(
  179. name='train_dataset_path', full_name='mindinsight.TrainLineage.TrainDataset.train_dataset_path', index=0,
  180. number=1, type=9, cpp_type=9, label=1,
  181. has_default_value=False, default_value=b"".decode('utf-8'),
  182. message_type=None, enum_type=None, containing_type=None,
  183. is_extension=False, extension_scope=None,
  184. serialized_options=None, file=DESCRIPTOR),
  185. _descriptor.FieldDescriptor(
  186. name='train_dataset_size', full_name='mindinsight.TrainLineage.TrainDataset.train_dataset_size', index=1,
  187. number=2, type=5, cpp_type=1, label=1,
  188. has_default_value=False, default_value=0,
  189. message_type=None, enum_type=None, containing_type=None,
  190. is_extension=False, extension_scope=None,
  191. serialized_options=None, file=DESCRIPTOR),
  192. ],
  193. extensions=[
  194. ],
  195. nested_types=[],
  196. enum_types=[
  197. ],
  198. serialized_options=None,
  199. is_extendable=False,
  200. syntax='proto2',
  201. extension_ranges=[],
  202. oneofs=[
  203. ],
  204. serialized_start=807,
  205. serialized_end=877,
  206. )
  207. _TRAINLINEAGE_ALGORITHM = _descriptor.Descriptor(
  208. name='Algorithm',
  209. full_name='mindinsight.TrainLineage.Algorithm',
  210. filename=None,
  211. file=DESCRIPTOR,
  212. containing_type=None,
  213. fields=[
  214. _descriptor.FieldDescriptor(
  215. name='network', full_name='mindinsight.TrainLineage.Algorithm.network', index=0,
  216. number=1, type=9, cpp_type=9, label=1,
  217. has_default_value=False, default_value=b"".decode('utf-8'),
  218. message_type=None, enum_type=None, containing_type=None,
  219. is_extension=False, extension_scope=None,
  220. serialized_options=None, file=DESCRIPTOR),
  221. _descriptor.FieldDescriptor(
  222. name='loss', full_name='mindinsight.TrainLineage.Algorithm.loss', index=1,
  223. number=2, type=2, cpp_type=6, label=1,
  224. has_default_value=False, default_value=float(0),
  225. message_type=None, enum_type=None, containing_type=None,
  226. is_extension=False, extension_scope=None,
  227. serialized_options=None, file=DESCRIPTOR),
  228. ],
  229. extensions=[
  230. ],
  231. nested_types=[],
  232. enum_types=[
  233. ],
  234. serialized_options=None,
  235. is_extendable=False,
  236. syntax='proto2',
  237. extension_ranges=[],
  238. oneofs=[
  239. ],
  240. serialized_start=879,
  241. serialized_end=921,
  242. )
  243. _TRAINLINEAGE_MODEL = _descriptor.Descriptor(
  244. name='Model',
  245. full_name='mindinsight.TrainLineage.Model',
  246. filename=None,
  247. file=DESCRIPTOR,
  248. containing_type=None,
  249. fields=[
  250. _descriptor.FieldDescriptor(
  251. name='path', full_name='mindinsight.TrainLineage.Model.path', index=0,
  252. number=3, type=9, cpp_type=9, label=1,
  253. has_default_value=False, default_value=b"".decode('utf-8'),
  254. message_type=None, enum_type=None, containing_type=None,
  255. is_extension=False, extension_scope=None,
  256. serialized_options=None, file=DESCRIPTOR),
  257. _descriptor.FieldDescriptor(
  258. name='size', full_name='mindinsight.TrainLineage.Model.size', index=1,
  259. number=4, type=3, cpp_type=2, label=1,
  260. has_default_value=False, default_value=0,
  261. message_type=None, enum_type=None, containing_type=None,
  262. is_extension=False, extension_scope=None,
  263. serialized_options=None, file=DESCRIPTOR),
  264. ],
  265. extensions=[
  266. ],
  267. nested_types=[],
  268. enum_types=[
  269. ],
  270. serialized_options=None,
  271. is_extendable=False,
  272. syntax='proto2',
  273. extension_ranges=[],
  274. oneofs=[
  275. ],
  276. serialized_start=923,
  277. serialized_end=958,
  278. )
  279. _TRAINLINEAGE = _descriptor.Descriptor(
  280. name='TrainLineage',
  281. full_name='mindinsight.TrainLineage',
  282. filename=None,
  283. file=DESCRIPTOR,
  284. containing_type=None,
  285. fields=[
  286. _descriptor.FieldDescriptor(
  287. name='hyper_parameters', full_name='mindinsight.TrainLineage.hyper_parameters', index=0,
  288. number=1, type=11, cpp_type=10, label=1,
  289. has_default_value=False, default_value=None,
  290. message_type=None, enum_type=None, containing_type=None,
  291. is_extension=False, extension_scope=None,
  292. serialized_options=None, file=DESCRIPTOR),
  293. _descriptor.FieldDescriptor(
  294. name='train_dataset', full_name='mindinsight.TrainLineage.train_dataset', index=1,
  295. number=2, type=11, cpp_type=10, label=1,
  296. has_default_value=False, default_value=None,
  297. message_type=None, enum_type=None, containing_type=None,
  298. is_extension=False, extension_scope=None,
  299. serialized_options=None, file=DESCRIPTOR),
  300. _descriptor.FieldDescriptor(
  301. name='algorithm', full_name='mindinsight.TrainLineage.algorithm', index=2,
  302. number=3, type=11, cpp_type=10, label=1,
  303. has_default_value=False, default_value=None,
  304. message_type=None, enum_type=None, containing_type=None,
  305. is_extension=False, extension_scope=None,
  306. serialized_options=None, file=DESCRIPTOR),
  307. _descriptor.FieldDescriptor(
  308. name='model', full_name='mindinsight.TrainLineage.model', index=3,
  309. number=4, type=11, cpp_type=10, label=1,
  310. has_default_value=False, default_value=None,
  311. message_type=None, enum_type=None, containing_type=None,
  312. is_extension=False, extension_scope=None,
  313. serialized_options=None, file=DESCRIPTOR),
  314. ],
  315. extensions=[
  316. ],
  317. nested_types=[_TRAINLINEAGE_HYPERPARAMETERS, _TRAINLINEAGE_TRAINDATASET, _TRAINLINEAGE_ALGORITHM, _TRAINLINEAGE_MODEL, ],
  318. enum_types=[
  319. ],
  320. serialized_options=None,
  321. is_extendable=False,
  322. syntax='proto2',
  323. extension_ranges=[],
  324. oneofs=[
  325. ],
  326. serialized_start=392,
  327. serialized_end=958,
  328. )
  329. _EVALUATIONLINEAGE_VALIDDATASET = _descriptor.Descriptor(
  330. name='ValidDataset',
  331. full_name='mindinsight.EvaluationLineage.ValidDataset',
  332. filename=None,
  333. file=DESCRIPTOR,
  334. containing_type=None,
  335. fields=[
  336. _descriptor.FieldDescriptor(
  337. name='valid_dataset_path', full_name='mindinsight.EvaluationLineage.ValidDataset.valid_dataset_path', index=0,
  338. number=1, type=9, cpp_type=9, label=1,
  339. has_default_value=False, default_value=b"".decode('utf-8'),
  340. message_type=None, enum_type=None, containing_type=None,
  341. is_extension=False, extension_scope=None,
  342. serialized_options=None, file=DESCRIPTOR),
  343. _descriptor.FieldDescriptor(
  344. name='valid_dataset_size', full_name='mindinsight.EvaluationLineage.ValidDataset.valid_dataset_size', index=1,
  345. number=2, type=5, cpp_type=1, label=1,
  346. has_default_value=False, default_value=0,
  347. message_type=None, enum_type=None, containing_type=None,
  348. is_extension=False, extension_scope=None,
  349. serialized_options=None, file=DESCRIPTOR),
  350. ],
  351. extensions=[
  352. ],
  353. nested_types=[],
  354. enum_types=[
  355. ],
  356. serialized_options=None,
  357. is_extendable=False,
  358. syntax='proto2',
  359. extension_ranges=[],
  360. oneofs=[
  361. ],
  362. serialized_start=1066,
  363. serialized_end=1136,
  364. )
  365. _EVALUATIONLINEAGE = _descriptor.Descriptor(
  366. name='EvaluationLineage',
  367. full_name='mindinsight.EvaluationLineage',
  368. filename=None,
  369. file=DESCRIPTOR,
  370. containing_type=None,
  371. fields=[
  372. _descriptor.FieldDescriptor(
  373. name='metric', full_name='mindinsight.EvaluationLineage.metric', index=0,
  374. number=2, type=9, cpp_type=9, label=1,
  375. has_default_value=False, default_value=b"".decode('utf-8'),
  376. message_type=None, enum_type=None, containing_type=None,
  377. is_extension=False, extension_scope=None,
  378. serialized_options=None, file=DESCRIPTOR),
  379. _descriptor.FieldDescriptor(
  380. name='valid_dataset', full_name='mindinsight.EvaluationLineage.valid_dataset', index=1,
  381. number=3, type=11, cpp_type=10, label=1,
  382. has_default_value=False, default_value=None,
  383. message_type=None, enum_type=None, containing_type=None,
  384. is_extension=False, extension_scope=None,
  385. serialized_options=None, file=DESCRIPTOR),
  386. ],
  387. extensions=[
  388. ],
  389. nested_types=[_EVALUATIONLINEAGE_VALIDDATASET, ],
  390. enum_types=[
  391. ],
  392. serialized_options=None,
  393. is_extendable=False,
  394. syntax='proto2',
  395. extension_ranges=[],
  396. oneofs=[
  397. ],
  398. serialized_start=961,
  399. serialized_end=1136,
  400. )
  401. _SUMMARY_IMAGE = _descriptor.Descriptor(
  402. name='Image',
  403. full_name='mindinsight.Summary.Image',
  404. filename=None,
  405. file=DESCRIPTOR,
  406. containing_type=None,
  407. fields=[
  408. _descriptor.FieldDescriptor(
  409. name='height', full_name='mindinsight.Summary.Image.height', index=0,
  410. number=1, type=5, cpp_type=1, label=2,
  411. has_default_value=False, default_value=0,
  412. message_type=None, enum_type=None, containing_type=None,
  413. is_extension=False, extension_scope=None,
  414. serialized_options=None, file=DESCRIPTOR),
  415. _descriptor.FieldDescriptor(
  416. name='width', full_name='mindinsight.Summary.Image.width', index=1,
  417. number=2, type=5, cpp_type=1, label=2,
  418. has_default_value=False, default_value=0,
  419. message_type=None, enum_type=None, containing_type=None,
  420. is_extension=False, extension_scope=None,
  421. serialized_options=None, file=DESCRIPTOR),
  422. _descriptor.FieldDescriptor(
  423. name='colorspace', full_name='mindinsight.Summary.Image.colorspace', index=2,
  424. number=3, type=5, cpp_type=1, label=2,
  425. has_default_value=False, default_value=0,
  426. message_type=None, enum_type=None, containing_type=None,
  427. is_extension=False, extension_scope=None,
  428. serialized_options=None, file=DESCRIPTOR),
  429. _descriptor.FieldDescriptor(
  430. name='encoded_image', full_name='mindinsight.Summary.Image.encoded_image', index=3,
  431. number=4, type=12, cpp_type=9, label=2,
  432. has_default_value=False, default_value=b"",
  433. message_type=None, enum_type=None, containing_type=None,
  434. is_extension=False, extension_scope=None,
  435. serialized_options=None, file=DESCRIPTOR),
  436. ],
  437. extensions=[
  438. ],
  439. nested_types=[],
  440. enum_types=[
  441. ],
  442. serialized_options=None,
  443. is_extendable=False,
  444. syntax='proto2',
  445. extension_ranges=[],
  446. oneofs=[
  447. ],
  448. serialized_start=1193,
  449. serialized_end=1274,
  450. )
  451. _SUMMARY_VALUE = _descriptor.Descriptor(
  452. name='Value',
  453. full_name='mindinsight.Summary.Value',
  454. filename=None,
  455. file=DESCRIPTOR,
  456. containing_type=None,
  457. fields=[
  458. _descriptor.FieldDescriptor(
  459. name='tag', full_name='mindinsight.Summary.Value.tag', index=0,
  460. number=1, type=9, cpp_type=9, label=2,
  461. has_default_value=False, default_value=b"".decode('utf-8'),
  462. message_type=None, enum_type=None, containing_type=None,
  463. is_extension=False, extension_scope=None,
  464. serialized_options=None, file=DESCRIPTOR),
  465. _descriptor.FieldDescriptor(
  466. name='scalar_value', full_name='mindinsight.Summary.Value.scalar_value', index=1,
  467. number=3, type=2, cpp_type=6, label=1,
  468. has_default_value=False, default_value=float(0),
  469. message_type=None, enum_type=None, containing_type=None,
  470. is_extension=False, extension_scope=None,
  471. serialized_options=None, file=DESCRIPTOR),
  472. _descriptor.FieldDescriptor(
  473. name='image', full_name='mindinsight.Summary.Value.image', index=2,
  474. number=4, type=11, cpp_type=10, label=1,
  475. has_default_value=False, default_value=None,
  476. message_type=None, enum_type=None, containing_type=None,
  477. is_extension=False, extension_scope=None,
  478. serialized_options=None, file=DESCRIPTOR),
  479. _descriptor.FieldDescriptor(
  480. name='tensor', full_name='mindinsight.Summary.Value.tensor', index=3,
  481. number=8, type=11, cpp_type=10, label=1,
  482. has_default_value=False, default_value=None,
  483. message_type=None, enum_type=None, containing_type=None,
  484. is_extension=False, extension_scope=None,
  485. serialized_options=None, file=DESCRIPTOR),
  486. ],
  487. extensions=[
  488. ],
  489. nested_types=[],
  490. enum_types=[
  491. ],
  492. serialized_options=None,
  493. is_extendable=False,
  494. syntax='proto2',
  495. extension_ranges=[],
  496. oneofs=[
  497. _descriptor.OneofDescriptor(
  498. name='value', full_name='mindinsight.Summary.Value.value',
  499. index=0, containing_type=None, fields=[]),
  500. ],
  501. serialized_start=1277,
  502. serialized_end=1419,
  503. )
  504. _SUMMARY = _descriptor.Descriptor(
  505. name='Summary',
  506. full_name='mindinsight.Summary',
  507. filename=None,
  508. file=DESCRIPTOR,
  509. containing_type=None,
  510. fields=[
  511. _descriptor.FieldDescriptor(
  512. name='value', full_name='mindinsight.Summary.value', index=0,
  513. number=1, type=11, cpp_type=10, label=3,
  514. has_default_value=False, default_value=[],
  515. message_type=None, enum_type=None, containing_type=None,
  516. is_extension=False, extension_scope=None,
  517. serialized_options=None, file=DESCRIPTOR),
  518. ],
  519. extensions=[
  520. ],
  521. nested_types=[_SUMMARY_IMAGE, _SUMMARY_VALUE, ],
  522. enum_types=[
  523. ],
  524. serialized_options=None,
  525. is_extendable=False,
  526. syntax='proto2',
  527. extension_ranges=[],
  528. oneofs=[
  529. ],
  530. serialized_start=1139,
  531. serialized_end=1419,
  532. )
  533. _DATASETGRAPH = _descriptor.Descriptor(
  534. name='DatasetGraph',
  535. full_name='mindinsight.DatasetGraph',
  536. filename=None,
  537. file=DESCRIPTOR,
  538. containing_type=None,
  539. fields=[
  540. _descriptor.FieldDescriptor(
  541. name='children', full_name='mindinsight.DatasetGraph.children', index=0,
  542. number=1, type=11, cpp_type=10, label=3,
  543. has_default_value=False, default_value=[],
  544. message_type=None, enum_type=None, containing_type=None,
  545. is_extension=False, extension_scope=None,
  546. serialized_options=None, file=DESCRIPTOR),
  547. _descriptor.FieldDescriptor(
  548. name='parameter', full_name='mindinsight.DatasetGraph.parameter', index=1,
  549. number=2, type=11, cpp_type=10, label=1,
  550. has_default_value=False, default_value=None,
  551. message_type=None, enum_type=None, containing_type=None,
  552. is_extension=False, extension_scope=None,
  553. serialized_options=None, file=DESCRIPTOR),
  554. _descriptor.FieldDescriptor(
  555. name='operations', full_name='mindinsight.DatasetGraph.operations', index=2,
  556. number=3, type=11, cpp_type=10, label=3,
  557. has_default_value=False, default_value=[],
  558. message_type=None, enum_type=None, containing_type=None,
  559. is_extension=False, extension_scope=None,
  560. serialized_options=None, file=DESCRIPTOR),
  561. _descriptor.FieldDescriptor(
  562. name='sampler', full_name='mindinsight.DatasetGraph.sampler', index=3,
  563. number=4, type=11, cpp_type=10, label=1,
  564. has_default_value=False, default_value=None,
  565. message_type=None, enum_type=None, containing_type=None,
  566. is_extension=False, extension_scope=None,
  567. serialized_options=None, file=DESCRIPTOR),
  568. ],
  569. extensions=[
  570. ],
  571. nested_types=[],
  572. enum_types=[
  573. ],
  574. serialized_options=None,
  575. is_extendable=False,
  576. syntax='proto2',
  577. extension_ranges=[],
  578. oneofs=[
  579. ],
  580. serialized_start=1422,
  581. serialized_end=1618,
  582. )
  583. _OPERATION = _descriptor.Descriptor(
  584. name='Operation',
  585. full_name='mindinsight.Operation',
  586. filename=None,
  587. file=DESCRIPTOR,
  588. containing_type=None,
  589. fields=[
  590. _descriptor.FieldDescriptor(
  591. name='operationParam', full_name='mindinsight.Operation.operationParam', index=0,
  592. number=1, type=11, cpp_type=10, label=1,
  593. has_default_value=False, default_value=None,
  594. message_type=None, enum_type=None, containing_type=None,
  595. is_extension=False, extension_scope=None,
  596. serialized_options=None, file=DESCRIPTOR),
  597. _descriptor.FieldDescriptor(
  598. name='size', full_name='mindinsight.Operation.size', index=1,
  599. number=2, type=5, cpp_type=1, label=3,
  600. has_default_value=False, default_value=[],
  601. message_type=None, enum_type=None, containing_type=None,
  602. is_extension=False, extension_scope=None,
  603. serialized_options=None, file=DESCRIPTOR),
  604. _descriptor.FieldDescriptor(
  605. name='weights', full_name='mindinsight.Operation.weights', index=2,
  606. number=3, type=2, cpp_type=6, label=3,
  607. has_default_value=False, default_value=[],
  608. message_type=None, enum_type=None, containing_type=None,
  609. is_extension=False, extension_scope=None,
  610. serialized_options=None, file=DESCRIPTOR),
  611. ],
  612. extensions=[
  613. ],
  614. nested_types=[],
  615. enum_types=[
  616. ],
  617. serialized_options=None,
  618. is_extendable=False,
  619. syntax='proto2',
  620. extension_ranges=[],
  621. oneofs=[
  622. ],
  623. serialized_start=1620,
  624. serialized_end=1719,
  625. )
  626. _OPERATIONPARAMETER_MAPSTRENTRY = _descriptor.Descriptor(
  627. name='MapStrEntry',
  628. full_name='mindinsight.OperationParameter.MapStrEntry',
  629. filename=None,
  630. file=DESCRIPTOR,
  631. containing_type=None,
  632. fields=[
  633. _descriptor.FieldDescriptor(
  634. name='key', full_name='mindinsight.OperationParameter.MapStrEntry.key', index=0,
  635. number=1, type=9, cpp_type=9, label=1,
  636. has_default_value=False, default_value=b"".decode('utf-8'),
  637. message_type=None, enum_type=None, containing_type=None,
  638. is_extension=False, extension_scope=None,
  639. serialized_options=None, file=DESCRIPTOR),
  640. _descriptor.FieldDescriptor(
  641. name='value', full_name='mindinsight.OperationParameter.MapStrEntry.value', index=1,
  642. number=2, type=9, cpp_type=9, label=1,
  643. has_default_value=False, default_value=b"".decode('utf-8'),
  644. message_type=None, enum_type=None, containing_type=None,
  645. is_extension=False, extension_scope=None,
  646. serialized_options=None, file=DESCRIPTOR),
  647. ],
  648. extensions=[
  649. ],
  650. nested_types=[],
  651. enum_types=[
  652. ],
  653. serialized_options=b'8\001',
  654. is_extendable=False,
  655. syntax='proto2',
  656. extension_ranges=[],
  657. oneofs=[
  658. ],
  659. serialized_start=2065,
  660. serialized_end=2110,
  661. )
  662. _OPERATIONPARAMETER_MAPSTRLISTENTRY = _descriptor.Descriptor(
  663. name='MapStrListEntry',
  664. full_name='mindinsight.OperationParameter.MapStrListEntry',
  665. filename=None,
  666. file=DESCRIPTOR,
  667. containing_type=None,
  668. fields=[
  669. _descriptor.FieldDescriptor(
  670. name='key', full_name='mindinsight.OperationParameter.MapStrListEntry.key', index=0,
  671. number=1, type=9, cpp_type=9, label=1,
  672. has_default_value=False, default_value=b"".decode('utf-8'),
  673. message_type=None, enum_type=None, containing_type=None,
  674. is_extension=False, extension_scope=None,
  675. serialized_options=None, file=DESCRIPTOR),
  676. _descriptor.FieldDescriptor(
  677. name='value', full_name='mindinsight.OperationParameter.MapStrListEntry.value', index=1,
  678. number=2, type=11, cpp_type=10, label=1,
  679. has_default_value=False, default_value=None,
  680. message_type=None, enum_type=None, containing_type=None,
  681. is_extension=False, extension_scope=None,
  682. serialized_options=None, file=DESCRIPTOR),
  683. ],
  684. extensions=[
  685. ],
  686. nested_types=[],
  687. enum_types=[
  688. ],
  689. serialized_options=b'8\001',
  690. is_extendable=False,
  691. syntax='proto2',
  692. extension_ranges=[],
  693. oneofs=[
  694. ],
  695. serialized_start=2112,
  696. serialized_end=2183,
  697. )
  698. _OPERATIONPARAMETER_MAPBOOLENTRY = _descriptor.Descriptor(
  699. name='MapBoolEntry',
  700. full_name='mindinsight.OperationParameter.MapBoolEntry',
  701. filename=None,
  702. file=DESCRIPTOR,
  703. containing_type=None,
  704. fields=[
  705. _descriptor.FieldDescriptor(
  706. name='key', full_name='mindinsight.OperationParameter.MapBoolEntry.key', index=0,
  707. number=1, type=9, cpp_type=9, label=1,
  708. has_default_value=False, default_value=b"".decode('utf-8'),
  709. message_type=None, enum_type=None, containing_type=None,
  710. is_extension=False, extension_scope=None,
  711. serialized_options=None, file=DESCRIPTOR),
  712. _descriptor.FieldDescriptor(
  713. name='value', full_name='mindinsight.OperationParameter.MapBoolEntry.value', index=1,
  714. number=2, type=8, cpp_type=7, label=1,
  715. has_default_value=False, default_value=False,
  716. message_type=None, enum_type=None, containing_type=None,
  717. is_extension=False, extension_scope=None,
  718. serialized_options=None, file=DESCRIPTOR),
  719. ],
  720. extensions=[
  721. ],
  722. nested_types=[],
  723. enum_types=[
  724. ],
  725. serialized_options=b'8\001',
  726. is_extendable=False,
  727. syntax='proto2',
  728. extension_ranges=[],
  729. oneofs=[
  730. ],
  731. serialized_start=2185,
  732. serialized_end=2231,
  733. )
  734. _OPERATIONPARAMETER_MAPINTENTRY = _descriptor.Descriptor(
  735. name='MapIntEntry',
  736. full_name='mindinsight.OperationParameter.MapIntEntry',
  737. filename=None,
  738. file=DESCRIPTOR,
  739. containing_type=None,
  740. fields=[
  741. _descriptor.FieldDescriptor(
  742. name='key', full_name='mindinsight.OperationParameter.MapIntEntry.key', index=0,
  743. number=1, type=9, cpp_type=9, label=1,
  744. has_default_value=False, default_value=b"".decode('utf-8'),
  745. message_type=None, enum_type=None, containing_type=None,
  746. is_extension=False, extension_scope=None,
  747. serialized_options=None, file=DESCRIPTOR),
  748. _descriptor.FieldDescriptor(
  749. name='value', full_name='mindinsight.OperationParameter.MapIntEntry.value', index=1,
  750. number=2, type=5, cpp_type=1, label=1,
  751. has_default_value=False, default_value=0,
  752. message_type=None, enum_type=None, containing_type=None,
  753. is_extension=False, extension_scope=None,
  754. serialized_options=None, file=DESCRIPTOR),
  755. ],
  756. extensions=[
  757. ],
  758. nested_types=[],
  759. enum_types=[
  760. ],
  761. serialized_options=b'8\001',
  762. is_extendable=False,
  763. syntax='proto2',
  764. extension_ranges=[],
  765. oneofs=[
  766. ],
  767. serialized_start=2233,
  768. serialized_end=2278,
  769. )
  770. _OPERATIONPARAMETER_MAPDOUBLEENTRY = _descriptor.Descriptor(
  771. name='MapDoubleEntry',
  772. full_name='mindinsight.OperationParameter.MapDoubleEntry',
  773. filename=None,
  774. file=DESCRIPTOR,
  775. containing_type=None,
  776. fields=[
  777. _descriptor.FieldDescriptor(
  778. name='key', full_name='mindinsight.OperationParameter.MapDoubleEntry.key', index=0,
  779. number=1, type=9, cpp_type=9, label=1,
  780. has_default_value=False, default_value=b"".decode('utf-8'),
  781. message_type=None, enum_type=None, containing_type=None,
  782. is_extension=False, extension_scope=None,
  783. serialized_options=None, file=DESCRIPTOR),
  784. _descriptor.FieldDescriptor(
  785. name='value', full_name='mindinsight.OperationParameter.MapDoubleEntry.value', index=1,
  786. number=2, type=1, cpp_type=5, label=1,
  787. has_default_value=False, default_value=float(0),
  788. message_type=None, enum_type=None, containing_type=None,
  789. is_extension=False, extension_scope=None,
  790. serialized_options=None, file=DESCRIPTOR),
  791. ],
  792. extensions=[
  793. ],
  794. nested_types=[],
  795. enum_types=[
  796. ],
  797. serialized_options=b'8\001',
  798. is_extendable=False,
  799. syntax='proto2',
  800. extension_ranges=[],
  801. oneofs=[
  802. ],
  803. serialized_start=2280,
  804. serialized_end=2328,
  805. )
  806. _OPERATIONPARAMETER = _descriptor.Descriptor(
  807. name='OperationParameter',
  808. full_name='mindinsight.OperationParameter',
  809. filename=None,
  810. file=DESCRIPTOR,
  811. containing_type=None,
  812. fields=[
  813. _descriptor.FieldDescriptor(
  814. name='mapStr', full_name='mindinsight.OperationParameter.mapStr', index=0,
  815. number=1, type=11, cpp_type=10, label=3,
  816. has_default_value=False, default_value=[],
  817. message_type=None, enum_type=None, containing_type=None,
  818. is_extension=False, extension_scope=None,
  819. serialized_options=None, file=DESCRIPTOR),
  820. _descriptor.FieldDescriptor(
  821. name='mapStrList', full_name='mindinsight.OperationParameter.mapStrList', index=1,
  822. number=2, type=11, cpp_type=10, label=3,
  823. has_default_value=False, default_value=[],
  824. message_type=None, enum_type=None, containing_type=None,
  825. is_extension=False, extension_scope=None,
  826. serialized_options=None, file=DESCRIPTOR),
  827. _descriptor.FieldDescriptor(
  828. name='mapBool', full_name='mindinsight.OperationParameter.mapBool', index=2,
  829. number=3, type=11, cpp_type=10, label=3,
  830. has_default_value=False, default_value=[],
  831. message_type=None, enum_type=None, containing_type=None,
  832. is_extension=False, extension_scope=None,
  833. serialized_options=None, file=DESCRIPTOR),
  834. _descriptor.FieldDescriptor(
  835. name='mapInt', full_name='mindinsight.OperationParameter.mapInt', index=3,
  836. number=4, type=11, cpp_type=10, label=3,
  837. has_default_value=False, default_value=[],
  838. message_type=None, enum_type=None, containing_type=None,
  839. is_extension=False, extension_scope=None,
  840. serialized_options=None, file=DESCRIPTOR),
  841. _descriptor.FieldDescriptor(
  842. name='mapDouble', full_name='mindinsight.OperationParameter.mapDouble', index=4,
  843. number=5, type=11, cpp_type=10, label=3,
  844. has_default_value=False, default_value=[],
  845. message_type=None, enum_type=None, containing_type=None,
  846. is_extension=False, extension_scope=None,
  847. serialized_options=None, file=DESCRIPTOR),
  848. ],
  849. extensions=[
  850. ],
  851. nested_types=[_OPERATIONPARAMETER_MAPSTRENTRY, _OPERATIONPARAMETER_MAPSTRLISTENTRY, _OPERATIONPARAMETER_MAPBOOLENTRY, _OPERATIONPARAMETER_MAPINTENTRY, _OPERATIONPARAMETER_MAPDOUBLEENTRY, ],
  852. enum_types=[
  853. ],
  854. serialized_options=None,
  855. is_extendable=False,
  856. syntax='proto2',
  857. extension_ranges=[],
  858. oneofs=[
  859. ],
  860. serialized_start=1722,
  861. serialized_end=2328,
  862. )
  863. _STRLIST = _descriptor.Descriptor(
  864. name='StrList',
  865. full_name='mindinsight.StrList',
  866. filename=None,
  867. file=DESCRIPTOR,
  868. containing_type=None,
  869. fields=[
  870. _descriptor.FieldDescriptor(
  871. name='strValue', full_name='mindinsight.StrList.strValue', index=0,
  872. number=1, type=9, cpp_type=9, label=3,
  873. has_default_value=False, default_value=[],
  874. message_type=None, enum_type=None, containing_type=None,
  875. is_extension=False, extension_scope=None,
  876. serialized_options=None, file=DESCRIPTOR),
  877. ],
  878. extensions=[
  879. ],
  880. nested_types=[],
  881. enum_types=[
  882. ],
  883. serialized_options=None,
  884. is_extendable=False,
  885. syntax='proto2',
  886. extension_ranges=[],
  887. oneofs=[
  888. ],
  889. serialized_start=2330,
  890. serialized_end=2357,
  891. )
  892. _EVENT.fields_by_name['graph_def'].message_type = mindinsight__anf__ir__pb2._GRAPHPROTO
  893. _EVENT.fields_by_name['summary'].message_type = _SUMMARY
  894. _EVENT.fields_by_name['train_lineage'].message_type = _TRAINLINEAGE
  895. _EVENT.fields_by_name['evaluation_lineage'].message_type = _EVALUATIONLINEAGE
  896. _EVENT.fields_by_name['dataset_graph'].message_type = _DATASETGRAPH
  897. _EVENT.oneofs_by_name['what'].fields.append(
  898. _EVENT.fields_by_name['version'])
  899. _EVENT.fields_by_name['version'].containing_oneof = _EVENT.oneofs_by_name['what']
  900. _EVENT.oneofs_by_name['what'].fields.append(
  901. _EVENT.fields_by_name['graph_def'])
  902. _EVENT.fields_by_name['graph_def'].containing_oneof = _EVENT.oneofs_by_name['what']
  903. _EVENT.oneofs_by_name['what'].fields.append(
  904. _EVENT.fields_by_name['summary'])
  905. _EVENT.fields_by_name['summary'].containing_oneof = _EVENT.oneofs_by_name['what']
  906. _EVENT.oneofs_by_name['what'].fields.append(
  907. _EVENT.fields_by_name['train_lineage'])
  908. _EVENT.fields_by_name['train_lineage'].containing_oneof = _EVENT.oneofs_by_name['what']
  909. _EVENT.oneofs_by_name['what'].fields.append(
  910. _EVENT.fields_by_name['evaluation_lineage'])
  911. _EVENT.fields_by_name['evaluation_lineage'].containing_oneof = _EVENT.oneofs_by_name['what']
  912. _EVENT.oneofs_by_name['what'].fields.append(
  913. _EVENT.fields_by_name['dataset_graph'])
  914. _EVENT.fields_by_name['dataset_graph'].containing_oneof = _EVENT.oneofs_by_name['what']
  915. _TRAINLINEAGE_HYPERPARAMETERS.containing_type = _TRAINLINEAGE
  916. _TRAINLINEAGE_TRAINDATASET.containing_type = _TRAINLINEAGE
  917. _TRAINLINEAGE_ALGORITHM.containing_type = _TRAINLINEAGE
  918. _TRAINLINEAGE_MODEL.containing_type = _TRAINLINEAGE
  919. _TRAINLINEAGE.fields_by_name['hyper_parameters'].message_type = _TRAINLINEAGE_HYPERPARAMETERS
  920. _TRAINLINEAGE.fields_by_name['train_dataset'].message_type = _TRAINLINEAGE_TRAINDATASET
  921. _TRAINLINEAGE.fields_by_name['algorithm'].message_type = _TRAINLINEAGE_ALGORITHM
  922. _TRAINLINEAGE.fields_by_name['model'].message_type = _TRAINLINEAGE_MODEL
  923. _EVALUATIONLINEAGE_VALIDDATASET.containing_type = _EVALUATIONLINEAGE
  924. _EVALUATIONLINEAGE.fields_by_name['valid_dataset'].message_type = _EVALUATIONLINEAGE_VALIDDATASET
  925. _SUMMARY_IMAGE.containing_type = _SUMMARY
  926. _SUMMARY_VALUE.fields_by_name['image'].message_type = _SUMMARY_IMAGE
  927. _SUMMARY_VALUE.fields_by_name['tensor'].message_type = mindinsight__anf__ir__pb2._TENSORPROTO
  928. _SUMMARY_VALUE.containing_type = _SUMMARY
  929. _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
  930. _SUMMARY_VALUE.fields_by_name['scalar_value'])
  931. _SUMMARY_VALUE.fields_by_name['scalar_value'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
  932. _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
  933. _SUMMARY_VALUE.fields_by_name['image'])
  934. _SUMMARY_VALUE.fields_by_name['image'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
  935. _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
  936. _SUMMARY_VALUE.fields_by_name['tensor'])
  937. _SUMMARY_VALUE.fields_by_name['tensor'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
  938. _SUMMARY.fields_by_name['value'].message_type = _SUMMARY_VALUE
  939. _DATASETGRAPH.fields_by_name['children'].message_type = _DATASETGRAPH
  940. _DATASETGRAPH.fields_by_name['parameter'].message_type = _OPERATIONPARAMETER
  941. _DATASETGRAPH.fields_by_name['operations'].message_type = _OPERATION
  942. _DATASETGRAPH.fields_by_name['sampler'].message_type = _OPERATION
  943. _OPERATION.fields_by_name['operationParam'].message_type = _OPERATIONPARAMETER
  944. _OPERATIONPARAMETER_MAPSTRENTRY.containing_type = _OPERATIONPARAMETER
  945. _OPERATIONPARAMETER_MAPSTRLISTENTRY.fields_by_name['value'].message_type = _STRLIST
  946. _OPERATIONPARAMETER_MAPSTRLISTENTRY.containing_type = _OPERATIONPARAMETER
  947. _OPERATIONPARAMETER_MAPBOOLENTRY.containing_type = _OPERATIONPARAMETER
  948. _OPERATIONPARAMETER_MAPINTENTRY.containing_type = _OPERATIONPARAMETER
  949. _OPERATIONPARAMETER_MAPDOUBLEENTRY.containing_type = _OPERATIONPARAMETER
  950. _OPERATIONPARAMETER.fields_by_name['mapStr'].message_type = _OPERATIONPARAMETER_MAPSTRENTRY
  951. _OPERATIONPARAMETER.fields_by_name['mapStrList'].message_type = _OPERATIONPARAMETER_MAPSTRLISTENTRY
  952. _OPERATIONPARAMETER.fields_by_name['mapBool'].message_type = _OPERATIONPARAMETER_MAPBOOLENTRY
  953. _OPERATIONPARAMETER.fields_by_name['mapInt'].message_type = _OPERATIONPARAMETER_MAPINTENTRY
  954. _OPERATIONPARAMETER.fields_by_name['mapDouble'].message_type = _OPERATIONPARAMETER_MAPDOUBLEENTRY
  955. DESCRIPTOR.message_types_by_name['Event'] = _EVENT
  956. DESCRIPTOR.message_types_by_name['TrainLineage'] = _TRAINLINEAGE
  957. DESCRIPTOR.message_types_by_name['EvaluationLineage'] = _EVALUATIONLINEAGE
  958. DESCRIPTOR.message_types_by_name['Summary'] = _SUMMARY
  959. DESCRIPTOR.message_types_by_name['DatasetGraph'] = _DATASETGRAPH
  960. DESCRIPTOR.message_types_by_name['Operation'] = _OPERATION
  961. DESCRIPTOR.message_types_by_name['OperationParameter'] = _OPERATIONPARAMETER
  962. DESCRIPTOR.message_types_by_name['StrList'] = _STRLIST
  963. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  964. Event = _reflection.GeneratedProtocolMessageType('Event', (_message.Message,), {
  965. 'DESCRIPTOR' : _EVENT,
  966. '__module__' : 'mindinsight_summary_pb2'
  967. # @@protoc_insertion_point(class_scope:mindinsight.Event)
  968. })
  969. _sym_db.RegisterMessage(Event)
  970. TrainLineage = _reflection.GeneratedProtocolMessageType('TrainLineage', (_message.Message,), {
  971. 'HyperParameters' : _reflection.GeneratedProtocolMessageType('HyperParameters', (_message.Message,), {
  972. 'DESCRIPTOR' : _TRAINLINEAGE_HYPERPARAMETERS,
  973. '__module__' : 'mindinsight_summary_pb2'
  974. # @@protoc_insertion_point(class_scope:mindinsight.TrainLineage.HyperParameters)
  975. })
  976. ,
  977. 'TrainDataset' : _reflection.GeneratedProtocolMessageType('TrainDataset', (_message.Message,), {
  978. 'DESCRIPTOR' : _TRAINLINEAGE_TRAINDATASET,
  979. '__module__' : 'mindinsight_summary_pb2'
  980. # @@protoc_insertion_point(class_scope:mindinsight.TrainLineage.TrainDataset)
  981. })
  982. ,
  983. 'Algorithm' : _reflection.GeneratedProtocolMessageType('Algorithm', (_message.Message,), {
  984. 'DESCRIPTOR' : _TRAINLINEAGE_ALGORITHM,
  985. '__module__' : 'mindinsight_summary_pb2'
  986. # @@protoc_insertion_point(class_scope:mindinsight.TrainLineage.Algorithm)
  987. })
  988. ,
  989. 'Model' : _reflection.GeneratedProtocolMessageType('Model', (_message.Message,), {
  990. 'DESCRIPTOR' : _TRAINLINEAGE_MODEL,
  991. '__module__' : 'mindinsight_summary_pb2'
  992. # @@protoc_insertion_point(class_scope:mindinsight.TrainLineage.Model)
  993. })
  994. ,
  995. 'DESCRIPTOR' : _TRAINLINEAGE,
  996. '__module__' : 'mindinsight_summary_pb2'
  997. # @@protoc_insertion_point(class_scope:mindinsight.TrainLineage)
  998. })
  999. _sym_db.RegisterMessage(TrainLineage)
  1000. _sym_db.RegisterMessage(TrainLineage.HyperParameters)
  1001. _sym_db.RegisterMessage(TrainLineage.TrainDataset)
  1002. _sym_db.RegisterMessage(TrainLineage.Algorithm)
  1003. _sym_db.RegisterMessage(TrainLineage.Model)
  1004. EvaluationLineage = _reflection.GeneratedProtocolMessageType('EvaluationLineage', (_message.Message,), {
  1005. 'ValidDataset' : _reflection.GeneratedProtocolMessageType('ValidDataset', (_message.Message,), {
  1006. 'DESCRIPTOR' : _EVALUATIONLINEAGE_VALIDDATASET,
  1007. '__module__' : 'mindinsight_summary_pb2'
  1008. # @@protoc_insertion_point(class_scope:mindinsight.EvaluationLineage.ValidDataset)
  1009. })
  1010. ,
  1011. 'DESCRIPTOR' : _EVALUATIONLINEAGE,
  1012. '__module__' : 'mindinsight_summary_pb2'
  1013. # @@protoc_insertion_point(class_scope:mindinsight.EvaluationLineage)
  1014. })
  1015. _sym_db.RegisterMessage(EvaluationLineage)
  1016. _sym_db.RegisterMessage(EvaluationLineage.ValidDataset)
  1017. Summary = _reflection.GeneratedProtocolMessageType('Summary', (_message.Message,), {
  1018. 'Image' : _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), {
  1019. 'DESCRIPTOR' : _SUMMARY_IMAGE,
  1020. '__module__' : 'mindinsight_summary_pb2'
  1021. # @@protoc_insertion_point(class_scope:mindinsight.Summary.Image)
  1022. })
  1023. ,
  1024. 'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
  1025. 'DESCRIPTOR' : _SUMMARY_VALUE,
  1026. '__module__' : 'mindinsight_summary_pb2'
  1027. # @@protoc_insertion_point(class_scope:mindinsight.Summary.Value)
  1028. })
  1029. ,
  1030. 'DESCRIPTOR' : _SUMMARY,
  1031. '__module__' : 'mindinsight_summary_pb2'
  1032. # @@protoc_insertion_point(class_scope:mindinsight.Summary)
  1033. })
  1034. _sym_db.RegisterMessage(Summary)
  1035. _sym_db.RegisterMessage(Summary.Image)
  1036. _sym_db.RegisterMessage(Summary.Value)
  1037. DatasetGraph = _reflection.GeneratedProtocolMessageType('DatasetGraph', (_message.Message,), {
  1038. 'DESCRIPTOR' : _DATASETGRAPH,
  1039. '__module__' : 'mindinsight_summary_pb2'
  1040. # @@protoc_insertion_point(class_scope:mindinsight.DatasetGraph)
  1041. })
  1042. _sym_db.RegisterMessage(DatasetGraph)
  1043. Operation = _reflection.GeneratedProtocolMessageType('Operation', (_message.Message,), {
  1044. 'DESCRIPTOR' : _OPERATION,
  1045. '__module__' : 'mindinsight_summary_pb2'
  1046. # @@protoc_insertion_point(class_scope:mindinsight.Operation)
  1047. })
  1048. _sym_db.RegisterMessage(Operation)
  1049. OperationParameter = _reflection.GeneratedProtocolMessageType('OperationParameter', (_message.Message,), {
  1050. 'MapStrEntry' : _reflection.GeneratedProtocolMessageType('MapStrEntry', (_message.Message,), {
  1051. 'DESCRIPTOR' : _OPERATIONPARAMETER_MAPSTRENTRY,
  1052. '__module__' : 'mindinsight_summary_pb2'
  1053. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter.MapStrEntry)
  1054. })
  1055. ,
  1056. 'MapStrListEntry' : _reflection.GeneratedProtocolMessageType('MapStrListEntry', (_message.Message,), {
  1057. 'DESCRIPTOR' : _OPERATIONPARAMETER_MAPSTRLISTENTRY,
  1058. '__module__' : 'mindinsight_summary_pb2'
  1059. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter.MapStrListEntry)
  1060. })
  1061. ,
  1062. 'MapBoolEntry' : _reflection.GeneratedProtocolMessageType('MapBoolEntry', (_message.Message,), {
  1063. 'DESCRIPTOR' : _OPERATIONPARAMETER_MAPBOOLENTRY,
  1064. '__module__' : 'mindinsight_summary_pb2'
  1065. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter.MapBoolEntry)
  1066. })
  1067. ,
  1068. 'MapIntEntry' : _reflection.GeneratedProtocolMessageType('MapIntEntry', (_message.Message,), {
  1069. 'DESCRIPTOR' : _OPERATIONPARAMETER_MAPINTENTRY,
  1070. '__module__' : 'mindinsight_summary_pb2'
  1071. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter.MapIntEntry)
  1072. })
  1073. ,
  1074. 'MapDoubleEntry' : _reflection.GeneratedProtocolMessageType('MapDoubleEntry', (_message.Message,), {
  1075. 'DESCRIPTOR' : _OPERATIONPARAMETER_MAPDOUBLEENTRY,
  1076. '__module__' : 'mindinsight_summary_pb2'
  1077. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter.MapDoubleEntry)
  1078. })
  1079. ,
  1080. 'DESCRIPTOR' : _OPERATIONPARAMETER,
  1081. '__module__' : 'mindinsight_summary_pb2'
  1082. # @@protoc_insertion_point(class_scope:mindinsight.OperationParameter)
  1083. })
  1084. _sym_db.RegisterMessage(OperationParameter)
  1085. _sym_db.RegisterMessage(OperationParameter.MapStrEntry)
  1086. _sym_db.RegisterMessage(OperationParameter.MapStrListEntry)
  1087. _sym_db.RegisterMessage(OperationParameter.MapBoolEntry)
  1088. _sym_db.RegisterMessage(OperationParameter.MapIntEntry)
  1089. _sym_db.RegisterMessage(OperationParameter.MapDoubleEntry)
  1090. StrList = _reflection.GeneratedProtocolMessageType('StrList', (_message.Message,), {
  1091. 'DESCRIPTOR' : _STRLIST,
  1092. '__module__' : 'mindinsight_summary_pb2'
  1093. # @@protoc_insertion_point(class_scope:mindinsight.StrList)
  1094. })
  1095. _sym_db.RegisterMessage(StrList)
  1096. DESCRIPTOR._options = None
  1097. _OPERATIONPARAMETER_MAPSTRENTRY._options = None
  1098. _OPERATIONPARAMETER_MAPSTRLISTENTRY._options = None
  1099. _OPERATIONPARAMETER_MAPBOOLENTRY._options = None
  1100. _OPERATIONPARAMETER_MAPINTENTRY._options = None
  1101. _OPERATIONPARAMETER_MAPDOUBLEENTRY._options = None
  1102. # @@protoc_insertion_point(module_scope)

MindInsight为MindSpore提供了简单易用的调优调试能力。在训练过程中,可以将标量、张量、图像、计算图、模型超参、训练耗时等数据记录到文件中,通过MindInsight可视化页面进行查看及分析。

Contributors (1)