tensorbored 2.21.0rc1769983804__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. tensorbored/__init__.py +112 -0
  2. tensorbored/_vendor/__init__.py +0 -0
  3. tensorbored/_vendor/bleach/__init__.py +125 -0
  4. tensorbored/_vendor/bleach/_vendor/__init__.py +0 -0
  5. tensorbored/_vendor/bleach/_vendor/html5lib/__init__.py +35 -0
  6. tensorbored/_vendor/bleach/_vendor/html5lib/_ihatexml.py +289 -0
  7. tensorbored/_vendor/bleach/_vendor/html5lib/_inputstream.py +918 -0
  8. tensorbored/_vendor/bleach/_vendor/html5lib/_tokenizer.py +1735 -0
  9. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/__init__.py +5 -0
  10. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/_base.py +40 -0
  11. tensorbored/_vendor/bleach/_vendor/html5lib/_trie/py.py +67 -0
  12. tensorbored/_vendor/bleach/_vendor/html5lib/_utils.py +159 -0
  13. tensorbored/_vendor/bleach/_vendor/html5lib/constants.py +2946 -0
  14. tensorbored/_vendor/bleach/_vendor/html5lib/filters/__init__.py +0 -0
  15. tensorbored/_vendor/bleach/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
  16. tensorbored/_vendor/bleach/_vendor/html5lib/filters/base.py +12 -0
  17. tensorbored/_vendor/bleach/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
  18. tensorbored/_vendor/bleach/_vendor/html5lib/filters/lint.py +93 -0
  19. tensorbored/_vendor/bleach/_vendor/html5lib/filters/optionaltags.py +207 -0
  20. tensorbored/_vendor/bleach/_vendor/html5lib/filters/sanitizer.py +916 -0
  21. tensorbored/_vendor/bleach/_vendor/html5lib/filters/whitespace.py +38 -0
  22. tensorbored/_vendor/bleach/_vendor/html5lib/html5parser.py +2795 -0
  23. tensorbored/_vendor/bleach/_vendor/html5lib/serializer.py +409 -0
  24. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/__init__.py +30 -0
  25. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/genshi.py +54 -0
  26. tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/sax.py +50 -0
  27. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/__init__.py +88 -0
  28. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/base.py +417 -0
  29. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/dom.py +239 -0
  30. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree.py +343 -0
  31. tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
  32. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/__init__.py +154 -0
  33. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/base.py +252 -0
  34. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/dom.py +43 -0
  35. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree.py +131 -0
  36. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
  37. tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/genshi.py +69 -0
  38. tensorbored/_vendor/bleach/_vendor/parse.py +1078 -0
  39. tensorbored/_vendor/bleach/callbacks.py +32 -0
  40. tensorbored/_vendor/bleach/html5lib_shim.py +757 -0
  41. tensorbored/_vendor/bleach/linkifier.py +633 -0
  42. tensorbored/_vendor/bleach/parse_shim.py +1 -0
  43. tensorbored/_vendor/bleach/sanitizer.py +638 -0
  44. tensorbored/_vendor/bleach/six_shim.py +19 -0
  45. tensorbored/_vendor/webencodings/__init__.py +342 -0
  46. tensorbored/_vendor/webencodings/labels.py +231 -0
  47. tensorbored/_vendor/webencodings/mklabels.py +59 -0
  48. tensorbored/_vendor/webencodings/x_user_defined.py +325 -0
  49. tensorbored/assets.py +36 -0
  50. tensorbored/auth.py +102 -0
  51. tensorbored/backend/__init__.py +0 -0
  52. tensorbored/backend/application.py +604 -0
  53. tensorbored/backend/auth_context_middleware.py +38 -0
  54. tensorbored/backend/client_feature_flags.py +113 -0
  55. tensorbored/backend/empty_path_redirect.py +46 -0
  56. tensorbored/backend/event_processing/__init__.py +0 -0
  57. tensorbored/backend/event_processing/data_ingester.py +276 -0
  58. tensorbored/backend/event_processing/data_provider.py +535 -0
  59. tensorbored/backend/event_processing/directory_loader.py +142 -0
  60. tensorbored/backend/event_processing/directory_watcher.py +272 -0
  61. tensorbored/backend/event_processing/event_accumulator.py +950 -0
  62. tensorbored/backend/event_processing/event_file_inspector.py +463 -0
  63. tensorbored/backend/event_processing/event_file_loader.py +292 -0
  64. tensorbored/backend/event_processing/event_multiplexer.py +521 -0
  65. tensorbored/backend/event_processing/event_util.py +68 -0
  66. tensorbored/backend/event_processing/io_wrapper.py +223 -0
  67. tensorbored/backend/event_processing/plugin_asset_util.py +104 -0
  68. tensorbored/backend/event_processing/plugin_event_accumulator.py +721 -0
  69. tensorbored/backend/event_processing/plugin_event_multiplexer.py +522 -0
  70. tensorbored/backend/event_processing/reservoir.py +266 -0
  71. tensorbored/backend/event_processing/tag_types.py +29 -0
  72. tensorbored/backend/experiment_id.py +71 -0
  73. tensorbored/backend/experimental_plugin.py +51 -0
  74. tensorbored/backend/http_util.py +263 -0
  75. tensorbored/backend/json_util.py +70 -0
  76. tensorbored/backend/path_prefix.py +67 -0
  77. tensorbored/backend/process_graph.py +74 -0
  78. tensorbored/backend/security_validator.py +202 -0
  79. tensorbored/compat/__init__.py +69 -0
  80. tensorbored/compat/proto/__init__.py +0 -0
  81. tensorbored/compat/proto/allocation_description_pb2.py +35 -0
  82. tensorbored/compat/proto/api_def_pb2.py +82 -0
  83. tensorbored/compat/proto/attr_value_pb2.py +80 -0
  84. tensorbored/compat/proto/cluster_pb2.py +58 -0
  85. tensorbored/compat/proto/config_pb2.py +271 -0
  86. tensorbored/compat/proto/coordination_config_pb2.py +45 -0
  87. tensorbored/compat/proto/cost_graph_pb2.py +87 -0
  88. tensorbored/compat/proto/cpp_shape_inference_pb2.py +70 -0
  89. tensorbored/compat/proto/debug_pb2.py +65 -0
  90. tensorbored/compat/proto/event_pb2.py +149 -0
  91. tensorbored/compat/proto/full_type_pb2.py +74 -0
  92. tensorbored/compat/proto/function_pb2.py +157 -0
  93. tensorbored/compat/proto/graph_debug_info_pb2.py +111 -0
  94. tensorbored/compat/proto/graph_pb2.py +41 -0
  95. tensorbored/compat/proto/histogram_pb2.py +39 -0
  96. tensorbored/compat/proto/meta_graph_pb2.py +254 -0
  97. tensorbored/compat/proto/node_def_pb2.py +61 -0
  98. tensorbored/compat/proto/op_def_pb2.py +81 -0
  99. tensorbored/compat/proto/resource_handle_pb2.py +48 -0
  100. tensorbored/compat/proto/rewriter_config_pb2.py +93 -0
  101. tensorbored/compat/proto/rpc_options_pb2.py +35 -0
  102. tensorbored/compat/proto/saved_object_graph_pb2.py +193 -0
  103. tensorbored/compat/proto/saver_pb2.py +38 -0
  104. tensorbored/compat/proto/step_stats_pb2.py +116 -0
  105. tensorbored/compat/proto/struct_pb2.py +144 -0
  106. tensorbored/compat/proto/summary_pb2.py +111 -0
  107. tensorbored/compat/proto/tensor_description_pb2.py +38 -0
  108. tensorbored/compat/proto/tensor_pb2.py +68 -0
  109. tensorbored/compat/proto/tensor_shape_pb2.py +46 -0
  110. tensorbored/compat/proto/tfprof_log_pb2.py +307 -0
  111. tensorbored/compat/proto/trackable_object_graph_pb2.py +90 -0
  112. tensorbored/compat/proto/types_pb2.py +105 -0
  113. tensorbored/compat/proto/variable_pb2.py +62 -0
  114. tensorbored/compat/proto/verifier_config_pb2.py +38 -0
  115. tensorbored/compat/proto/versions_pb2.py +35 -0
  116. tensorbored/compat/tensorflow_stub/__init__.py +38 -0
  117. tensorbored/compat/tensorflow_stub/app.py +124 -0
  118. tensorbored/compat/tensorflow_stub/compat/__init__.py +131 -0
  119. tensorbored/compat/tensorflow_stub/compat/v1/__init__.py +20 -0
  120. tensorbored/compat/tensorflow_stub/dtypes.py +692 -0
  121. tensorbored/compat/tensorflow_stub/error_codes.py +169 -0
  122. tensorbored/compat/tensorflow_stub/errors.py +507 -0
  123. tensorbored/compat/tensorflow_stub/flags.py +124 -0
  124. tensorbored/compat/tensorflow_stub/io/__init__.py +17 -0
  125. tensorbored/compat/tensorflow_stub/io/gfile.py +1011 -0
  126. tensorbored/compat/tensorflow_stub/pywrap_tensorflow.py +285 -0
  127. tensorbored/compat/tensorflow_stub/tensor_shape.py +1035 -0
  128. tensorbored/context.py +129 -0
  129. tensorbored/data/__init__.py +0 -0
  130. tensorbored/data/grpc_provider.py +365 -0
  131. tensorbored/data/ingester.py +46 -0
  132. tensorbored/data/proto/__init__.py +0 -0
  133. tensorbored/data/proto/data_provider_pb2.py +517 -0
  134. tensorbored/data/proto/data_provider_pb2_grpc.py +374 -0
  135. tensorbored/data/provider.py +1365 -0
  136. tensorbored/data/server_ingester.py +301 -0
  137. tensorbored/data_compat.py +159 -0
  138. tensorbored/dataclass_compat.py +224 -0
  139. tensorbored/default.py +124 -0
  140. tensorbored/errors.py +130 -0
  141. tensorbored/lazy.py +99 -0
  142. tensorbored/main.py +48 -0
  143. tensorbored/main_lib.py +62 -0
  144. tensorbored/manager.py +487 -0
  145. tensorbored/notebook.py +441 -0
  146. tensorbored/plugin_util.py +266 -0
  147. tensorbored/plugins/__init__.py +0 -0
  148. tensorbored/plugins/audio/__init__.py +0 -0
  149. tensorbored/plugins/audio/audio_plugin.py +229 -0
  150. tensorbored/plugins/audio/metadata.py +69 -0
  151. tensorbored/plugins/audio/plugin_data_pb2.py +37 -0
  152. tensorbored/plugins/audio/summary.py +230 -0
  153. tensorbored/plugins/audio/summary_v2.py +124 -0
  154. tensorbored/plugins/base_plugin.py +367 -0
  155. tensorbored/plugins/core/__init__.py +0 -0
  156. tensorbored/plugins/core/core_plugin.py +981 -0
  157. tensorbored/plugins/custom_scalar/__init__.py +0 -0
  158. tensorbored/plugins/custom_scalar/custom_scalars_plugin.py +320 -0
  159. tensorbored/plugins/custom_scalar/layout_pb2.py +85 -0
  160. tensorbored/plugins/custom_scalar/metadata.py +35 -0
  161. tensorbored/plugins/custom_scalar/summary.py +79 -0
  162. tensorbored/plugins/debugger_v2/__init__.py +0 -0
  163. tensorbored/plugins/debugger_v2/debug_data_multiplexer.py +631 -0
  164. tensorbored/plugins/debugger_v2/debug_data_provider.py +634 -0
  165. tensorbored/plugins/debugger_v2/debugger_v2_plugin.py +504 -0
  166. tensorbored/plugins/distribution/__init__.py +0 -0
  167. tensorbored/plugins/distribution/compressor.py +158 -0
  168. tensorbored/plugins/distribution/distributions_plugin.py +116 -0
  169. tensorbored/plugins/distribution/metadata.py +19 -0
  170. tensorbored/plugins/graph/__init__.py +0 -0
  171. tensorbored/plugins/graph/graph_util.py +129 -0
  172. tensorbored/plugins/graph/graphs_plugin.py +336 -0
  173. tensorbored/plugins/graph/keras_util.py +328 -0
  174. tensorbored/plugins/graph/metadata.py +42 -0
  175. tensorbored/plugins/histogram/__init__.py +0 -0
  176. tensorbored/plugins/histogram/histograms_plugin.py +144 -0
  177. tensorbored/plugins/histogram/metadata.py +63 -0
  178. tensorbored/plugins/histogram/plugin_data_pb2.py +34 -0
  179. tensorbored/plugins/histogram/summary.py +234 -0
  180. tensorbored/plugins/histogram/summary_v2.py +292 -0
  181. tensorbored/plugins/hparams/__init__.py +14 -0
  182. tensorbored/plugins/hparams/_keras.py +93 -0
  183. tensorbored/plugins/hparams/api.py +130 -0
  184. tensorbored/plugins/hparams/api_pb2.py +208 -0
  185. tensorbored/plugins/hparams/backend_context.py +606 -0
  186. tensorbored/plugins/hparams/download_data.py +158 -0
  187. tensorbored/plugins/hparams/error.py +26 -0
  188. tensorbored/plugins/hparams/get_experiment.py +71 -0
  189. tensorbored/plugins/hparams/hparams_plugin.py +206 -0
  190. tensorbored/plugins/hparams/hparams_util_pb2.py +69 -0
  191. tensorbored/plugins/hparams/json_format_compat.py +38 -0
  192. tensorbored/plugins/hparams/list_metric_evals.py +57 -0
  193. tensorbored/plugins/hparams/list_session_groups.py +1040 -0
  194. tensorbored/plugins/hparams/metadata.py +125 -0
  195. tensorbored/plugins/hparams/metrics.py +41 -0
  196. tensorbored/plugins/hparams/plugin_data_pb2.py +69 -0
  197. tensorbored/plugins/hparams/summary.py +205 -0
  198. tensorbored/plugins/hparams/summary_v2.py +597 -0
  199. tensorbored/plugins/image/__init__.py +0 -0
  200. tensorbored/plugins/image/images_plugin.py +232 -0
  201. tensorbored/plugins/image/metadata.py +65 -0
  202. tensorbored/plugins/image/plugin_data_pb2.py +34 -0
  203. tensorbored/plugins/image/summary.py +159 -0
  204. tensorbored/plugins/image/summary_v2.py +130 -0
  205. tensorbored/plugins/mesh/__init__.py +14 -0
  206. tensorbored/plugins/mesh/mesh_plugin.py +292 -0
  207. tensorbored/plugins/mesh/metadata.py +152 -0
  208. tensorbored/plugins/mesh/plugin_data_pb2.py +37 -0
  209. tensorbored/plugins/mesh/summary.py +251 -0
  210. tensorbored/plugins/mesh/summary_v2.py +214 -0
  211. tensorbored/plugins/metrics/__init__.py +0 -0
  212. tensorbored/plugins/metrics/metadata.py +17 -0
  213. tensorbored/plugins/metrics/metrics_plugin.py +623 -0
  214. tensorbored/plugins/pr_curve/__init__.py +0 -0
  215. tensorbored/plugins/pr_curve/metadata.py +75 -0
  216. tensorbored/plugins/pr_curve/plugin_data_pb2.py +34 -0
  217. tensorbored/plugins/pr_curve/pr_curves_plugin.py +241 -0
  218. tensorbored/plugins/pr_curve/summary.py +574 -0
  219. tensorbored/plugins/profile_redirect/__init__.py +0 -0
  220. tensorbored/plugins/profile_redirect/profile_redirect_plugin.py +49 -0
  221. tensorbored/plugins/projector/__init__.py +67 -0
  222. tensorbored/plugins/projector/metadata.py +26 -0
  223. tensorbored/plugins/projector/projector_config_pb2.py +54 -0
  224. tensorbored/plugins/projector/projector_plugin.py +795 -0
  225. tensorbored/plugins/projector/tf_projector_plugin/index.js +32 -0
  226. tensorbored/plugins/projector/tf_projector_plugin/projector_binary.html +524 -0
  227. tensorbored/plugins/projector/tf_projector_plugin/projector_binary.js +15536 -0
  228. tensorbored/plugins/scalar/__init__.py +0 -0
  229. tensorbored/plugins/scalar/metadata.py +60 -0
  230. tensorbored/plugins/scalar/plugin_data_pb2.py +34 -0
  231. tensorbored/plugins/scalar/scalars_plugin.py +181 -0
  232. tensorbored/plugins/scalar/summary.py +109 -0
  233. tensorbored/plugins/scalar/summary_v2.py +124 -0
  234. tensorbored/plugins/text/__init__.py +0 -0
  235. tensorbored/plugins/text/metadata.py +62 -0
  236. tensorbored/plugins/text/plugin_data_pb2.py +34 -0
  237. tensorbored/plugins/text/summary.py +114 -0
  238. tensorbored/plugins/text/summary_v2.py +124 -0
  239. tensorbored/plugins/text/text_plugin.py +288 -0
  240. tensorbored/plugins/wit_redirect/__init__.py +0 -0
  241. tensorbored/plugins/wit_redirect/wit_redirect_plugin.py +49 -0
  242. tensorbored/program.py +910 -0
  243. tensorbored/summary/__init__.py +35 -0
  244. tensorbored/summary/_output.py +124 -0
  245. tensorbored/summary/_tf/__init__.py +14 -0
  246. tensorbored/summary/_tf/summary/__init__.py +178 -0
  247. tensorbored/summary/_writer.py +105 -0
  248. tensorbored/summary/v1.py +51 -0
  249. tensorbored/summary/v2.py +25 -0
  250. tensorbored/summary/writer/__init__.py +13 -0
  251. tensorbored/summary/writer/event_file_writer.py +291 -0
  252. tensorbored/summary/writer/record_writer.py +50 -0
  253. tensorbored/util/__init__.py +0 -0
  254. tensorbored/util/encoder.py +116 -0
  255. tensorbored/util/grpc_util.py +311 -0
  256. tensorbored/util/img_mime_type_detector.py +40 -0
  257. tensorbored/util/io_util.py +20 -0
  258. tensorbored/util/lazy_tensor_creator.py +110 -0
  259. tensorbored/util/op_evaluator.py +104 -0
  260. tensorbored/util/platform_util.py +20 -0
  261. tensorbored/util/tb_logging.py +24 -0
  262. tensorbored/util/tensor_util.py +617 -0
  263. tensorbored/util/timing.py +122 -0
  264. tensorbored/version.py +21 -0
  265. tensorbored/webfiles.zip +0 -0
  266. tensorbored-2.21.0rc1769983804.dist-info/METADATA +49 -0
  267. tensorbored-2.21.0rc1769983804.dist-info/RECORD +271 -0
  268. tensorbored-2.21.0rc1769983804.dist-info/WHEEL +5 -0
  269. tensorbored-2.21.0rc1769983804.dist-info/entry_points.txt +6 -0
  270. tensorbored-2.21.0rc1769983804.dist-info/licenses/LICENSE +739 -0
  271. tensorbored-2.21.0rc1769983804.dist-info/top_level.txt +1 -0
@@ -0,0 +1,193 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/saved_object_graph.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
16
+ from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
17
+ from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
18
+ from tensorbored.compat.proto import variable_pb2 as tensorbored_dot_compat_dot_proto_dot_variable__pb2
19
+ from tensorbored.compat.proto import versions_pb2 as tensorbored_dot_compat_dot_proto_dot_versions__pb2
20
+ from tensorbored.compat.proto import struct_pb2 as tensorbored_dot_compat_dot_proto_dot_struct__pb2
21
+ from tensorbored.compat.proto import trackable_object_graph_pb2 as tensorbored_dot_compat_dot_proto_dot_trackable__object__graph__pb2
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tensorbored/compat/proto/saved_object_graph.proto\x12\x0btensorbored\x1a\x19google/protobuf/any.proto\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\x1a\'tensorbored/compat/proto/variable.proto\x1a\'tensorbored/compat/proto/versions.proto\x1a%tensorbored/compat/proto/struct.proto\x1a\x35tensorbored/compat/proto/trackable_object_graph.proto\"\xeb\x01\n\x10SavedObjectGraph\x12\'\n\x05nodes\x18\x01 \x03(\x0b\x32\x18.tensorbored.SavedObject\x12P\n\x12\x63oncrete_functions\x18\x02 \x03(\x0b\x32\x34.tensorbored.SavedObjectGraph.ConcreteFunctionsEntry\x1a\\\n\x16\x43oncreteFunctionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tensorbored.SavedConcreteFunction:\x02\x38\x01\"\xdd\x07\n\x0bSavedObject\x12S\n\x08\x63hildren\x18\x01 \x03(\x0b\x32\x41.tensorbored.TrackableObjectGraph.TrackableObject.ObjectReference\x12W\n\x0c\x64\x65pendencies\x18\x0f \x03(\x0b\x32\x41.tensorbored.TrackableObjectGraph.TrackableObject.ObjectReference\x12_\n\x0eslot_variables\x18\x03 \x03(\x0b\x32G.tensorbored.TrackableObjectGraph.TrackableObject.SlotVariableReference\x12\x33\n\x0buser_object\x18\x04 \x01(\x0b\x32\x1c.tensorbored.SavedUserObjectH\x00\x12(\n\x05\x61sset\x18\x05 \x01(\x0b\x32\x17.tensorbored.SavedAssetH\x00\x12.\n\x08\x66unction\x18\x06 \x01(\x0b\x32\x1a.tensorbored.SavedFunctionH\x00\x12.\n\x08variable\x18\x07 \x01(\x0b\x32\x1a.tensorbored.SavedVariableH\x00\x12H\n\x16\x62\x61re_concrete_function\x18\x08 \x01(\x0b\x32&.tensorbored.SavedBareConcreteFunctionH\x00\x12.\n\x08\x63onstant\x18\t \x01(\x0b\x32\x1a.tensorbored.SavedConstantH\x00\x12.\n\x08resource\x18\n \x01(\x0b\x32\x1a.tensorbored.SavedResourceH\x00\x12\x36\n\x0f\x63\x61ptured_tensor\x18\x0c \x01(\x0b\x32\x1b.tensorbored.CapturedTensorH\x00\x12G\n\x10saveable_objects\x18\x0b \x03(\x0b\x32-.tensorbored.SavedObject.SaveableObjectsEntry\x12\x17\n\x0fregistered_name\x18\r \x01(\t\x12\x33\n\x15serialized_user_proto\x18\x0e \x01(\x0b\x32\x14.google.protobuf.Any\x12\x18\n\x10registered_saver\x18\x10 \x01(\t\x1aS\n\x14SaveableObjectsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.tensorbored.SaveableObject:\x02\x38\x01\x42\x06\n\x04kindJ\x04\x08\x02\x10\x03R\nattributes\"e\n\x0fSavedUserObject\x12\x12\n\nidentifier\x18\x01 \x01(\t\x12(\n\x07version\x18\x02 \x01(\x0b\x32\x17.tensorbored.VersionDef\x12\x14\n\x08metadata\x18\x03 \x01(\tB\x02\x18\x01\"*\n\nSavedAsset\x12\x1c\n\x14\x61sset_file_def_index\x18\x01 \x01(\x05\"]\n\rSavedFunction\x12\x1a\n\x12\x63oncrete_functions\x18\x01 \x03(\t\x12\x30\n\rfunction_spec\x18\x02 \x01(\x0b\x32\x19.tensorbored.FunctionSpec\"9\n\x0e\x43\x61pturedTensor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11\x63oncrete_function\x18\x02 \x01(\t\"\xaa\x01\n\x15SavedConcreteFunction\x12\x14\n\x0c\x62ound_inputs\x18\x02 \x03(\x05\x12\x43\n\x1d\x63\x61nonicalized_input_signature\x18\x03 \x01(\x0b\x32\x1c.tensorbored.StructuredValue\x12\x36\n\x10output_signature\x18\x04 \x01(\x0b\x32\x1c.tensorbored.StructuredValue\"\xae\x01\n\x19SavedBareConcreteFunction\x12\x1e\n\x16\x63oncrete_function_name\x18\x01 \x01(\t\x12\x19\n\x11\x61rgument_keywords\x18\x02 \x03(\t\x12$\n\x1c\x61llowed_positional_arguments\x18\x03 \x01(\x03\x12\x30\n\rfunction_spec\x18\x04 \x01(\x0b\x32\x19.tensorbored.FunctionSpec\"\"\n\rSavedConstant\x12\x11\n\toperation\x18\x01 \x01(\t\"\xdc\x02\n\rSavedVariable\x12$\n\x05\x64type\x18\x01 \x01(\x0e\x32\x15.tensorbored.DataType\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12\x11\n\ttrainable\x18\x03 \x01(\x08\x12=\n\x0fsynchronization\x18\x04 \x01(\x0e\x32$.tensorbored.VariableSynchronization\x12\x35\n\x0b\x61ggregation\x18\x05 \x01(\x0e\x32 .tensorbored.VariableAggregation\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x0e\n\x06\x64\x65vice\x18\x07 \x01(\t\x12P\n,experimental_distributed_variable_components\x18\x08 \x03(\x0b\x32\x1a.tensorbored.SavedVariable\"\xfe\x01\n\x0c\x46unctionSpec\x12\x31\n\x0b\x66ullargspec\x18\x01 \x01(\x0b\x32\x1c.tensorbored.StructuredValue\x12\x11\n\tis_method\x18\x02 \x01(\x08\x12\x35\n\x0finput_signature\x18\x05 \x01(\x0b\x32\x1c.tensorbored.StructuredValue\x12\x39\n\x0bjit_compile\x18\x06 \x01(\x0e\x32$.tensorbored.FunctionSpec.JitCompile\"*\n\nJitCompile\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x06\n\x02ON\x10\x01\x12\x07\n\x03OFF\x10\x02J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"\x1f\n\rSavedResource\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\"A\n\x0eSaveableObject\x12\x15\n\rsave_function\x18\x02 \x01(\x05\x12\x18\n\x10restore_function\x18\x03 \x01(\x05\x42ZZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
25
+
26
+
27
+
28
+ _SAVEDOBJECTGRAPH = DESCRIPTOR.message_types_by_name['SavedObjectGraph']
29
+ _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY = _SAVEDOBJECTGRAPH.nested_types_by_name['ConcreteFunctionsEntry']
30
+ _SAVEDOBJECT = DESCRIPTOR.message_types_by_name['SavedObject']
31
+ _SAVEDOBJECT_SAVEABLEOBJECTSENTRY = _SAVEDOBJECT.nested_types_by_name['SaveableObjectsEntry']
32
+ _SAVEDUSEROBJECT = DESCRIPTOR.message_types_by_name['SavedUserObject']
33
+ _SAVEDASSET = DESCRIPTOR.message_types_by_name['SavedAsset']
34
+ _SAVEDFUNCTION = DESCRIPTOR.message_types_by_name['SavedFunction']
35
+ _CAPTUREDTENSOR = DESCRIPTOR.message_types_by_name['CapturedTensor']
36
+ _SAVEDCONCRETEFUNCTION = DESCRIPTOR.message_types_by_name['SavedConcreteFunction']
37
+ _SAVEDBARECONCRETEFUNCTION = DESCRIPTOR.message_types_by_name['SavedBareConcreteFunction']
38
+ _SAVEDCONSTANT = DESCRIPTOR.message_types_by_name['SavedConstant']
39
+ _SAVEDVARIABLE = DESCRIPTOR.message_types_by_name['SavedVariable']
40
+ _FUNCTIONSPEC = DESCRIPTOR.message_types_by_name['FunctionSpec']
41
+ _SAVEDRESOURCE = DESCRIPTOR.message_types_by_name['SavedResource']
42
+ _SAVEABLEOBJECT = DESCRIPTOR.message_types_by_name['SaveableObject']
43
+ _FUNCTIONSPEC_JITCOMPILE = _FUNCTIONSPEC.enum_types_by_name['JitCompile']
44
+ SavedObjectGraph = _reflection.GeneratedProtocolMessageType('SavedObjectGraph', (_message.Message,), {
45
+
46
+ 'ConcreteFunctionsEntry' : _reflection.GeneratedProtocolMessageType('ConcreteFunctionsEntry', (_message.Message,), {
47
+ 'DESCRIPTOR' : _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY,
48
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
49
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedObjectGraph.ConcreteFunctionsEntry)
50
+ })
51
+ ,
52
+ 'DESCRIPTOR' : _SAVEDOBJECTGRAPH,
53
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
54
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedObjectGraph)
55
+ })
56
+ _sym_db.RegisterMessage(SavedObjectGraph)
57
+ _sym_db.RegisterMessage(SavedObjectGraph.ConcreteFunctionsEntry)
58
+
59
+ SavedObject = _reflection.GeneratedProtocolMessageType('SavedObject', (_message.Message,), {
60
+
61
+ 'SaveableObjectsEntry' : _reflection.GeneratedProtocolMessageType('SaveableObjectsEntry', (_message.Message,), {
62
+ 'DESCRIPTOR' : _SAVEDOBJECT_SAVEABLEOBJECTSENTRY,
63
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
64
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedObject.SaveableObjectsEntry)
65
+ })
66
+ ,
67
+ 'DESCRIPTOR' : _SAVEDOBJECT,
68
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
69
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedObject)
70
+ })
71
+ _sym_db.RegisterMessage(SavedObject)
72
+ _sym_db.RegisterMessage(SavedObject.SaveableObjectsEntry)
73
+
74
+ SavedUserObject = _reflection.GeneratedProtocolMessageType('SavedUserObject', (_message.Message,), {
75
+ 'DESCRIPTOR' : _SAVEDUSEROBJECT,
76
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
77
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedUserObject)
78
+ })
79
+ _sym_db.RegisterMessage(SavedUserObject)
80
+
81
+ SavedAsset = _reflection.GeneratedProtocolMessageType('SavedAsset', (_message.Message,), {
82
+ 'DESCRIPTOR' : _SAVEDASSET,
83
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
84
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedAsset)
85
+ })
86
+ _sym_db.RegisterMessage(SavedAsset)
87
+
88
+ SavedFunction = _reflection.GeneratedProtocolMessageType('SavedFunction', (_message.Message,), {
89
+ 'DESCRIPTOR' : _SAVEDFUNCTION,
90
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
91
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedFunction)
92
+ })
93
+ _sym_db.RegisterMessage(SavedFunction)
94
+
95
+ CapturedTensor = _reflection.GeneratedProtocolMessageType('CapturedTensor', (_message.Message,), {
96
+ 'DESCRIPTOR' : _CAPTUREDTENSOR,
97
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
98
+ # @@protoc_insertion_point(class_scope:tensorbored.CapturedTensor)
99
+ })
100
+ _sym_db.RegisterMessage(CapturedTensor)
101
+
102
+ SavedConcreteFunction = _reflection.GeneratedProtocolMessageType('SavedConcreteFunction', (_message.Message,), {
103
+ 'DESCRIPTOR' : _SAVEDCONCRETEFUNCTION,
104
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
105
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedConcreteFunction)
106
+ })
107
+ _sym_db.RegisterMessage(SavedConcreteFunction)
108
+
109
+ SavedBareConcreteFunction = _reflection.GeneratedProtocolMessageType('SavedBareConcreteFunction', (_message.Message,), {
110
+ 'DESCRIPTOR' : _SAVEDBARECONCRETEFUNCTION,
111
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
112
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedBareConcreteFunction)
113
+ })
114
+ _sym_db.RegisterMessage(SavedBareConcreteFunction)
115
+
116
+ SavedConstant = _reflection.GeneratedProtocolMessageType('SavedConstant', (_message.Message,), {
117
+ 'DESCRIPTOR' : _SAVEDCONSTANT,
118
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
119
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedConstant)
120
+ })
121
+ _sym_db.RegisterMessage(SavedConstant)
122
+
123
+ SavedVariable = _reflection.GeneratedProtocolMessageType('SavedVariable', (_message.Message,), {
124
+ 'DESCRIPTOR' : _SAVEDVARIABLE,
125
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
126
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedVariable)
127
+ })
128
+ _sym_db.RegisterMessage(SavedVariable)
129
+
130
+ FunctionSpec = _reflection.GeneratedProtocolMessageType('FunctionSpec', (_message.Message,), {
131
+ 'DESCRIPTOR' : _FUNCTIONSPEC,
132
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
133
+ # @@protoc_insertion_point(class_scope:tensorbored.FunctionSpec)
134
+ })
135
+ _sym_db.RegisterMessage(FunctionSpec)
136
+
137
+ SavedResource = _reflection.GeneratedProtocolMessageType('SavedResource', (_message.Message,), {
138
+ 'DESCRIPTOR' : _SAVEDRESOURCE,
139
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
140
+ # @@protoc_insertion_point(class_scope:tensorbored.SavedResource)
141
+ })
142
+ _sym_db.RegisterMessage(SavedResource)
143
+
144
+ SaveableObject = _reflection.GeneratedProtocolMessageType('SaveableObject', (_message.Message,), {
145
+ 'DESCRIPTOR' : _SAVEABLEOBJECT,
146
+ '__module__' : 'tensorbored.compat.proto.saved_object_graph_pb2'
147
+ # @@protoc_insertion_point(class_scope:tensorbored.SaveableObject)
148
+ })
149
+ _sym_db.RegisterMessage(SaveableObject)
150
+
151
+ if _descriptor._USE_C_DESCRIPTORS == False:
152
+
153
+ DESCRIPTOR._options = None
154
+ DESCRIPTOR._serialized_options = b'ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
155
+ _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY._options = None
156
+ _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY._serialized_options = b'8\001'
157
+ _SAVEDOBJECT_SAVEABLEOBJECTSENTRY._options = None
158
+ _SAVEDOBJECT_SAVEABLEOBJECTSENTRY._serialized_options = b'8\001'
159
+ _SAVEDUSEROBJECT.fields_by_name['metadata']._options = None
160
+ _SAVEDUSEROBJECT.fields_by_name['metadata']._serialized_options = b'\030\001'
161
+ _SAVEDOBJECTGRAPH._serialized_start=353
162
+ _SAVEDOBJECTGRAPH._serialized_end=588
163
+ _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY._serialized_start=496
164
+ _SAVEDOBJECTGRAPH_CONCRETEFUNCTIONSENTRY._serialized_end=588
165
+ _SAVEDOBJECT._serialized_start=591
166
+ _SAVEDOBJECT._serialized_end=1580
167
+ _SAVEDOBJECT_SAVEABLEOBJECTSENTRY._serialized_start=1471
168
+ _SAVEDOBJECT_SAVEABLEOBJECTSENTRY._serialized_end=1554
169
+ _SAVEDUSEROBJECT._serialized_start=1582
170
+ _SAVEDUSEROBJECT._serialized_end=1683
171
+ _SAVEDASSET._serialized_start=1685
172
+ _SAVEDASSET._serialized_end=1727
173
+ _SAVEDFUNCTION._serialized_start=1729
174
+ _SAVEDFUNCTION._serialized_end=1822
175
+ _CAPTUREDTENSOR._serialized_start=1824
176
+ _CAPTUREDTENSOR._serialized_end=1881
177
+ _SAVEDCONCRETEFUNCTION._serialized_start=1884
178
+ _SAVEDCONCRETEFUNCTION._serialized_end=2054
179
+ _SAVEDBARECONCRETEFUNCTION._serialized_start=2057
180
+ _SAVEDBARECONCRETEFUNCTION._serialized_end=2231
181
+ _SAVEDCONSTANT._serialized_start=2233
182
+ _SAVEDCONSTANT._serialized_end=2267
183
+ _SAVEDVARIABLE._serialized_start=2270
184
+ _SAVEDVARIABLE._serialized_end=2618
185
+ _FUNCTIONSPEC._serialized_start=2621
186
+ _FUNCTIONSPEC._serialized_end=2875
187
+ _FUNCTIONSPEC_JITCOMPILE._serialized_start=2821
188
+ _FUNCTIONSPEC_JITCOMPILE._serialized_end=2863
189
+ _SAVEDRESOURCE._serialized_start=2877
190
+ _SAVEDRESOURCE._serialized_end=2908
191
+ _SAVEABLEOBJECT._serialized_start=2910
192
+ _SAVEABLEOBJECT._serialized_end=2975
193
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,38 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/saver.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$tensorbored/compat/proto/saver.proto\x12\x0btensorbored\"\x9f\x02\n\x08SaverDef\x12\x1c\n\x14\x66ilename_tensor_name\x18\x01 \x01(\t\x12\x18\n\x10save_tensor_name\x18\x02 \x01(\t\x12\x17\n\x0frestore_op_name\x18\x03 \x01(\t\x12\x13\n\x0bmax_to_keep\x18\x04 \x01(\x05\x12\x0f\n\x07sharded\x18\x05 \x01(\x08\x12%\n\x1dkeep_checkpoint_every_n_hours\x18\x06 \x01(\x02\x12>\n\x07version\x18\x07 \x01(\x0e\x32-.tensorbored.SaverDef.CheckpointFormatVersion\"5\n\x17\x43heckpointFormatVersion\x12\n\n\x06LEGACY\x10\x00\x12\x06\n\x02V1\x10\x01\x12\x06\n\x02V2\x10\x02\x42~\n\x13org.tensorflow.utilB\x0bSaverProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
18
+
19
+
20
+
21
+ _SAVERDEF = DESCRIPTOR.message_types_by_name['SaverDef']
22
+ _SAVERDEF_CHECKPOINTFORMATVERSION = _SAVERDEF.enum_types_by_name['CheckpointFormatVersion']
23
+ SaverDef = _reflection.GeneratedProtocolMessageType('SaverDef', (_message.Message,), {
24
+ 'DESCRIPTOR' : _SAVERDEF,
25
+ '__module__' : 'tensorbored.compat.proto.saver_pb2'
26
+ # @@protoc_insertion_point(class_scope:tensorbored.SaverDef)
27
+ })
28
+ _sym_db.RegisterMessage(SaverDef)
29
+
30
+ if _descriptor._USE_C_DESCRIPTORS == False:
31
+
32
+ DESCRIPTOR._options = None
33
+ DESCRIPTOR._serialized_options = b'\n\023org.tensorflow.utilB\013SaverProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
34
+ _SAVERDEF._serialized_start=54
35
+ _SAVERDEF._serialized_end=341
36
+ _SAVERDEF_CHECKPOINTFORMATVERSION._serialized_start=288
37
+ _SAVERDEF_CHECKPOINTFORMATVERSION._serialized_end=341
38
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,116 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/step_stats.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import allocation_description_pb2 as tensorbored_dot_compat_dot_proto_dot_allocation__description__pb2
16
+ from tensorbored.compat.proto import tensor_description_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__description__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorbored/compat/proto/step_stats.proto\x12\x0btensorbored\x1a\x35tensorbored/compat/proto/allocation_description.proto\x1a\x31tensorbored/compat/proto/tensor_description.proto\"=\n\x10\x41llocationRecord\x12\x14\n\x0c\x61lloc_micros\x18\x01 \x01(\x03\x12\x13\n\x0b\x61lloc_bytes\x18\x02 \x01(\x03\"\xc5\x01\n\x13\x41llocatorMemoryUsed\x12\x16\n\x0e\x61llocator_name\x18\x01 \x01(\t\x12\x13\n\x0btotal_bytes\x18\x02 \x01(\x03\x12\x12\n\npeak_bytes\x18\x03 \x01(\x03\x12\x12\n\nlive_bytes\x18\x04 \x01(\x03\x12\x39\n\x12\x61llocation_records\x18\x06 \x03(\x0b\x32\x1d.tensorbored.AllocationRecord\x12\x1e\n\x16\x61llocator_bytes_in_use\x18\x05 \x01(\x03\"V\n\nNodeOutput\x12\x0c\n\x04slot\x18\x01 \x01(\x05\x12:\n\x12tensor_description\x18\x03 \x01(\x0b\x32\x1e.tensorbored.TensorDescription\"\xec\x01\n\x0bMemoryStats\x12\x18\n\x10temp_memory_size\x18\x01 \x01(\x03\x12\x1e\n\x16persistent_memory_size\x18\x03 \x01(\x03\x12#\n\x1bpersistent_tensor_alloc_ids\x18\x05 \x03(\x03\x12#\n\x17\x64\x65vice_temp_memory_size\x18\x02 \x01(\x03\x42\x02\x18\x01\x12)\n\x1d\x64\x65vice_persistent_memory_size\x18\x04 \x01(\x03\x42\x02\x18\x01\x12.\n\"device_persistent_tensor_alloc_ids\x18\x06 \x03(\x03\x42\x02\x18\x01\"\xa2\x04\n\rNodeExecStats\x12\x11\n\tnode_name\x18\x01 \x01(\t\x12\x18\n\x10\x61ll_start_micros\x18\x02 \x01(\x03\x12\x1b\n\x13op_start_rel_micros\x18\x03 \x01(\x03\x12\x19\n\x11op_end_rel_micros\x18\x04 \x01(\x03\x12\x1a\n\x12\x61ll_end_rel_micros\x18\x05 \x01(\x03\x12\x30\n\x06memory\x18\x06 \x03(\x0b\x32 .tensorbored.AllocatorMemoryUsed\x12\'\n\x06output\x18\x07 \x03(\x0b\x32\x17.tensorbored.NodeOutput\x12\x16\n\x0etimeline_label\x18\x08 \x01(\t\x12\x18\n\x10scheduled_micros\x18\t \x01(\x03\x12\x11\n\tthread_id\x18\n \x01(\r\x12=\n\x11referenced_tensor\x18\x0b \x03(\x0b\x32\".tensorbored.AllocationDescription\x12.\n\x0cmemory_stats\x18\x0c \x01(\x0b\x32\x18.tensorbored.MemoryStats\x12\x17\n\x0f\x61ll_start_nanos\x18\r \x01(\x03\x12\x1a\n\x12op_start_rel_nanos\x18\x0e \x01(\x03\x12\x18\n\x10op_end_rel_nanos\x18\x0f \x01(\x03\x12\x19\n\x11\x61ll_end_rel_nanos\x18\x10 \x01(\x03\x12\x17\n\x0fscheduled_nanos\x18\x11 \x01(\x03\"\xca\x01\n\x0f\x44\x65viceStepStats\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12.\n\nnode_stats\x18\x02 \x03(\x0b\x32\x1a.tensorbored.NodeExecStats\x12\x43\n\x0cthread_names\x18\x03 \x03(\x0b\x32-.tensorbored.DeviceStepStats.ThreadNamesEntry\x1a\x32\n\x10ThreadNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\tStepStats\x12/\n\tdev_stats\x18\x01 \x03(\x0b\x32\x1c.tensorbored.DeviceStepStatsB\x83\x01\n\x18org.tensorflow.frameworkB\x0fStepStatsProtosP\x01ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/step_stats_go_proto\xf8\x01\x01\x62\x06proto3')
20
+
21
+
22
+
23
+ _ALLOCATIONRECORD = DESCRIPTOR.message_types_by_name['AllocationRecord']
24
+ _ALLOCATORMEMORYUSED = DESCRIPTOR.message_types_by_name['AllocatorMemoryUsed']
25
+ _NODEOUTPUT = DESCRIPTOR.message_types_by_name['NodeOutput']
26
+ _MEMORYSTATS = DESCRIPTOR.message_types_by_name['MemoryStats']
27
+ _NODEEXECSTATS = DESCRIPTOR.message_types_by_name['NodeExecStats']
28
+ _DEVICESTEPSTATS = DESCRIPTOR.message_types_by_name['DeviceStepStats']
29
+ _DEVICESTEPSTATS_THREADNAMESENTRY = _DEVICESTEPSTATS.nested_types_by_name['ThreadNamesEntry']
30
+ _STEPSTATS = DESCRIPTOR.message_types_by_name['StepStats']
31
+ AllocationRecord = _reflection.GeneratedProtocolMessageType('AllocationRecord', (_message.Message,), {
32
+ 'DESCRIPTOR' : _ALLOCATIONRECORD,
33
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
34
+ # @@protoc_insertion_point(class_scope:tensorbored.AllocationRecord)
35
+ })
36
+ _sym_db.RegisterMessage(AllocationRecord)
37
+
38
+ AllocatorMemoryUsed = _reflection.GeneratedProtocolMessageType('AllocatorMemoryUsed', (_message.Message,), {
39
+ 'DESCRIPTOR' : _ALLOCATORMEMORYUSED,
40
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
41
+ # @@protoc_insertion_point(class_scope:tensorbored.AllocatorMemoryUsed)
42
+ })
43
+ _sym_db.RegisterMessage(AllocatorMemoryUsed)
44
+
45
+ NodeOutput = _reflection.GeneratedProtocolMessageType('NodeOutput', (_message.Message,), {
46
+ 'DESCRIPTOR' : _NODEOUTPUT,
47
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
48
+ # @@protoc_insertion_point(class_scope:tensorbored.NodeOutput)
49
+ })
50
+ _sym_db.RegisterMessage(NodeOutput)
51
+
52
+ MemoryStats = _reflection.GeneratedProtocolMessageType('MemoryStats', (_message.Message,), {
53
+ 'DESCRIPTOR' : _MEMORYSTATS,
54
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
55
+ # @@protoc_insertion_point(class_scope:tensorbored.MemoryStats)
56
+ })
57
+ _sym_db.RegisterMessage(MemoryStats)
58
+
59
+ NodeExecStats = _reflection.GeneratedProtocolMessageType('NodeExecStats', (_message.Message,), {
60
+ 'DESCRIPTOR' : _NODEEXECSTATS,
61
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
62
+ # @@protoc_insertion_point(class_scope:tensorbored.NodeExecStats)
63
+ })
64
+ _sym_db.RegisterMessage(NodeExecStats)
65
+
66
+ DeviceStepStats = _reflection.GeneratedProtocolMessageType('DeviceStepStats', (_message.Message,), {
67
+
68
+ 'ThreadNamesEntry' : _reflection.GeneratedProtocolMessageType('ThreadNamesEntry', (_message.Message,), {
69
+ 'DESCRIPTOR' : _DEVICESTEPSTATS_THREADNAMESENTRY,
70
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
71
+ # @@protoc_insertion_point(class_scope:tensorbored.DeviceStepStats.ThreadNamesEntry)
72
+ })
73
+ ,
74
+ 'DESCRIPTOR' : _DEVICESTEPSTATS,
75
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
76
+ # @@protoc_insertion_point(class_scope:tensorbored.DeviceStepStats)
77
+ })
78
+ _sym_db.RegisterMessage(DeviceStepStats)
79
+ _sym_db.RegisterMessage(DeviceStepStats.ThreadNamesEntry)
80
+
81
+ StepStats = _reflection.GeneratedProtocolMessageType('StepStats', (_message.Message,), {
82
+ 'DESCRIPTOR' : _STEPSTATS,
83
+ '__module__' : 'tensorbored.compat.proto.step_stats_pb2'
84
+ # @@protoc_insertion_point(class_scope:tensorbored.StepStats)
85
+ })
86
+ _sym_db.RegisterMessage(StepStats)
87
+
88
+ if _descriptor._USE_C_DESCRIPTORS == False:
89
+
90
+ DESCRIPTOR._options = None
91
+ DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017StepStatsProtosP\001ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/step_stats_go_proto\370\001\001'
92
+ _MEMORYSTATS.fields_by_name['device_temp_memory_size']._options = None
93
+ _MEMORYSTATS.fields_by_name['device_temp_memory_size']._serialized_options = b'\030\001'
94
+ _MEMORYSTATS.fields_by_name['device_persistent_memory_size']._options = None
95
+ _MEMORYSTATS.fields_by_name['device_persistent_memory_size']._serialized_options = b'\030\001'
96
+ _MEMORYSTATS.fields_by_name['device_persistent_tensor_alloc_ids']._options = None
97
+ _MEMORYSTATS.fields_by_name['device_persistent_tensor_alloc_ids']._serialized_options = b'\030\001'
98
+ _DEVICESTEPSTATS_THREADNAMESENTRY._options = None
99
+ _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_options = b'8\001'
100
+ _ALLOCATIONRECORD._serialized_start=164
101
+ _ALLOCATIONRECORD._serialized_end=225
102
+ _ALLOCATORMEMORYUSED._serialized_start=228
103
+ _ALLOCATORMEMORYUSED._serialized_end=425
104
+ _NODEOUTPUT._serialized_start=427
105
+ _NODEOUTPUT._serialized_end=513
106
+ _MEMORYSTATS._serialized_start=516
107
+ _MEMORYSTATS._serialized_end=752
108
+ _NODEEXECSTATS._serialized_start=755
109
+ _NODEEXECSTATS._serialized_end=1301
110
+ _DEVICESTEPSTATS._serialized_start=1304
111
+ _DEVICESTEPSTATS._serialized_end=1506
112
+ _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_start=1456
113
+ _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_end=1506
114
+ _STEPSTATS._serialized_start=1508
115
+ _STEPSTATS._serialized_end=1568
116
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,144 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/struct.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import message as _message
8
+ from google.protobuf import reflection as _reflection
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from tensorbored.compat.proto import tensor_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__pb2
16
+ from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
17
+ from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorbored/compat/proto/struct.proto\x12\x0btensorbored\x1a%tensorbored/compat/proto/tensor.proto\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\"\xfd\x05\n\x0fStructuredValue\x12,\n\nnone_value\x18\x01 \x01(\x0b\x32\x16.tensorbored.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.tensorbored.TensorShapeProtoH\x00\x12\x33\n\x12tensor_dtype_value\x18 \x01(\x0e\x32\x15.tensorbored.DataTypeH\x00\x12\x39\n\x11tensor_spec_value\x18! \x01(\x0b\x32\x1c.tensorbored.TensorSpecProtoH\x00\x12\x35\n\x0ftype_spec_value\x18\" \x01(\x0b\x32\x1a.tensorbored.TypeSpecProtoH\x00\x12H\n\x19\x62ounded_tensor_spec_value\x18# \x01(\x0b\x32#.tensorbored.BoundedTensorSpecProtoH\x00\x12,\n\nlist_value\x18\x33 \x01(\x0b\x32\x16.tensorbored.ListValueH\x00\x12.\n\x0btuple_value\x18\x34 \x01(\x0b\x32\x17.tensorbored.TupleValueH\x00\x12,\n\ndict_value\x18\x35 \x01(\x0b\x32\x16.tensorbored.DictValueH\x00\x12\x39\n\x11named_tuple_value\x18\x36 \x01(\x0b\x32\x1c.tensorbored.NamedTupleValueH\x00\x12\x30\n\x0ctensor_value\x18\x37 \x01(\x0b\x32\x18.tensorbored.TensorProtoH\x00\x12/\n\x0bnumpy_value\x18\x38 \x01(\x0b\x32\x18.tensorbored.TensorProtoH\x00\x42\x06\n\x04kind\"\x0b\n\tNoneValue\"9\n\tListValue\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.tensorbored.StructuredValue\":\n\nTupleValue\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.tensorbored.StructuredValue\"\x8c\x01\n\tDictValue\x12\x32\n\x06\x66ields\x18\x01 \x03(\x0b\x32\".tensorbored.DictValue.FieldsEntry\x1aK\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tensorbored.StructuredValue:\x02\x38\x01\"E\n\tPairValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tensorbored.StructuredValue\"G\n\x0fNamedTupleValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x06values\x18\x02 \x03(\x0b\x32\x16.tensorbored.PairValue\"s\n\x0fTensorSpecProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12$\n\x05\x64type\x18\x03 \x01(\x0e\x32\x15.tensorbored.DataType\"\xd0\x01\n\x16\x42oundedTensorSpecProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x12$\n\x05\x64type\x18\x03 \x01(\x0e\x32\x15.tensorbored.DataType\x12)\n\x07minimum\x18\x04 \x01(\x0b\x32\x18.tensorbored.TensorProto\x12)\n\x07maximum\x18\x05 \x01(\x0b\x32\x18.tensorbored.TensorProto\"\xfa\x03\n\rTypeSpecProto\x12\x41\n\x0ftype_spec_class\x18\x01 \x01(\x0e\x32(.tensorbored.TypeSpecProto.TypeSpecClass\x12\x30\n\ntype_state\x18\x02 \x01(\x0b\x32\x1c.tensorbored.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']
36
+ StructuredValue = _reflection.GeneratedProtocolMessageType('StructuredValue', (_message.Message,), {
37
+ 'DESCRIPTOR' : _STRUCTUREDVALUE,
38
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
39
+ # @@protoc_insertion_point(class_scope:tensorbored.StructuredValue)
40
+ })
41
+ _sym_db.RegisterMessage(StructuredValue)
42
+
43
+ NoneValue = _reflection.GeneratedProtocolMessageType('NoneValue', (_message.Message,), {
44
+ 'DESCRIPTOR' : _NONEVALUE,
45
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
46
+ # @@protoc_insertion_point(class_scope:tensorbored.NoneValue)
47
+ })
48
+ _sym_db.RegisterMessage(NoneValue)
49
+
50
+ ListValue = _reflection.GeneratedProtocolMessageType('ListValue', (_message.Message,), {
51
+ 'DESCRIPTOR' : _LISTVALUE,
52
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
53
+ # @@protoc_insertion_point(class_scope:tensorbored.ListValue)
54
+ })
55
+ _sym_db.RegisterMessage(ListValue)
56
+
57
+ TupleValue = _reflection.GeneratedProtocolMessageType('TupleValue', (_message.Message,), {
58
+ 'DESCRIPTOR' : _TUPLEVALUE,
59
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
60
+ # @@protoc_insertion_point(class_scope:tensorbored.TupleValue)
61
+ })
62
+ _sym_db.RegisterMessage(TupleValue)
63
+
64
+ DictValue = _reflection.GeneratedProtocolMessageType('DictValue', (_message.Message,), {
65
+
66
+ 'FieldsEntry' : _reflection.GeneratedProtocolMessageType('FieldsEntry', (_message.Message,), {
67
+ 'DESCRIPTOR' : _DICTVALUE_FIELDSENTRY,
68
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
69
+ # @@protoc_insertion_point(class_scope:tensorbored.DictValue.FieldsEntry)
70
+ })
71
+ ,
72
+ 'DESCRIPTOR' : _DICTVALUE,
73
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
74
+ # @@protoc_insertion_point(class_scope:tensorbored.DictValue)
75
+ })
76
+ _sym_db.RegisterMessage(DictValue)
77
+ _sym_db.RegisterMessage(DictValue.FieldsEntry)
78
+
79
+ PairValue = _reflection.GeneratedProtocolMessageType('PairValue', (_message.Message,), {
80
+ 'DESCRIPTOR' : _PAIRVALUE,
81
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
82
+ # @@protoc_insertion_point(class_scope:tensorbored.PairValue)
83
+ })
84
+ _sym_db.RegisterMessage(PairValue)
85
+
86
+ NamedTupleValue = _reflection.GeneratedProtocolMessageType('NamedTupleValue', (_message.Message,), {
87
+ 'DESCRIPTOR' : _NAMEDTUPLEVALUE,
88
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
89
+ # @@protoc_insertion_point(class_scope:tensorbored.NamedTupleValue)
90
+ })
91
+ _sym_db.RegisterMessage(NamedTupleValue)
92
+
93
+ TensorSpecProto = _reflection.GeneratedProtocolMessageType('TensorSpecProto', (_message.Message,), {
94
+ 'DESCRIPTOR' : _TENSORSPECPROTO,
95
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
96
+ # @@protoc_insertion_point(class_scope:tensorbored.TensorSpecProto)
97
+ })
98
+ _sym_db.RegisterMessage(TensorSpecProto)
99
+
100
+ BoundedTensorSpecProto = _reflection.GeneratedProtocolMessageType('BoundedTensorSpecProto', (_message.Message,), {
101
+ 'DESCRIPTOR' : _BOUNDEDTENSORSPECPROTO,
102
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
103
+ # @@protoc_insertion_point(class_scope:tensorbored.BoundedTensorSpecProto)
104
+ })
105
+ _sym_db.RegisterMessage(BoundedTensorSpecProto)
106
+
107
+ TypeSpecProto = _reflection.GeneratedProtocolMessageType('TypeSpecProto', (_message.Message,), {
108
+ 'DESCRIPTOR' : _TYPESPECPROTO,
109
+ '__module__' : 'tensorbored.compat.proto.struct_pb2'
110
+ # @@protoc_insertion_point(class_scope:tensorbored.TypeSpecProto)
111
+ })
112
+ _sym_db.RegisterMessage(TypeSpecProto)
113
+
114
+ if _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=942
122
+ _NONEVALUE._serialized_start=944
123
+ _NONEVALUE._serialized_end=955
124
+ _LISTVALUE._serialized_start=957
125
+ _LISTVALUE._serialized_end=1014
126
+ _TUPLEVALUE._serialized_start=1016
127
+ _TUPLEVALUE._serialized_end=1074
128
+ _DICTVALUE._serialized_start=1077
129
+ _DICTVALUE._serialized_end=1217
130
+ _DICTVALUE_FIELDSENTRY._serialized_start=1142
131
+ _DICTVALUE_FIELDSENTRY._serialized_end=1217
132
+ _PAIRVALUE._serialized_start=1219
133
+ _PAIRVALUE._serialized_end=1288
134
+ _NAMEDTUPLEVALUE._serialized_start=1290
135
+ _NAMEDTUPLEVALUE._serialized_end=1361
136
+ _TENSORSPECPROTO._serialized_start=1363
137
+ _TENSORSPECPROTO._serialized_end=1478
138
+ _BOUNDEDTENSORSPECPROTO._serialized_start=1481
139
+ _BOUNDEDTENSORSPECPROTO._serialized_end=1689
140
+ _TYPESPECPROTO._serialized_start=1692
141
+ _TYPESPECPROTO._serialized_end=2198
142
+ _TYPESPECPROTO_TYPESPECCLASS._serialized_start=1886
143
+ _TYPESPECPROTO_TYPESPECCLASS._serialized_end=2198
144
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,111 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tensorbored/compat/proto/summary.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import enum_type_wrapper
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import message as _message
9
+ from google.protobuf import reflection as _reflection
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ # @@protoc_insertion_point(imports)
12
+
13
+ _sym_db = _symbol_database.Default()
14
+
15
+
16
+ from tensorbored.compat.proto import histogram_pb2 as tensorbored_dot_compat_dot_proto_dot_histogram__pb2
17
+ from tensorbored.compat.proto import tensor_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__pb2
18
+
19
+ from tensorbored.compat.proto.histogram_pb2 import *
20
+
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&tensorbored/compat/proto/summary.proto\x12\x0btensorbored\x1a(tensorbored/compat/proto/histogram.proto\x1a%tensorbored/compat/proto/tensor.proto\"\'\n\x12SummaryDescription\x12\x11\n\ttype_hint\x18\x01 \x01(\t\"\xe2\x01\n\x0fSummaryMetadata\x12<\n\x0bplugin_data\x18\x01 \x01(\x0b\x32\'.tensorbored.SummaryMetadata.PluginData\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x1b\n\x13summary_description\x18\x03 \x01(\t\x12*\n\ndata_class\x18\x04 \x01(\x0e\x32\x16.tensorbored.DataClass\x1a\x32\n\nPluginData\x12\x13\n\x0bplugin_name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\x0c\"\xe4\x04\n\x07Summary\x12)\n\x05value\x18\x01 \x03(\x0b\x32\x1a.tensorbored.Summary.Value\x1aX\n\x05Image\x12\x0e\n\x06height\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x12\n\ncolorspace\x18\x03 \x01(\x05\x12\x1c\n\x14\x65ncoded_image_string\x18\x04 \x01(\x0c\x1a}\n\x05\x41udio\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x02\x12\x14\n\x0cnum_channels\x18\x02 \x01(\x03\x12\x15\n\rlength_frames\x18\x03 \x01(\x03\x12\x1c\n\x14\x65ncoded_audio_string\x18\x04 \x01(\x0c\x12\x14\n\x0c\x63ontent_type\x18\x05 \x01(\t\x1a\xd4\x02\n\x05Value\x12\x11\n\tnode_name\x18\x07 \x01(\t\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12.\n\x08metadata\x18\t \x01(\x0b\x32\x1c.tensorbored.SummaryMetadata\x12\x16\n\x0csimple_value\x18\x02 \x01(\x02H\x00\x12&\n\x1cobsolete_old_style_histogram\x18\x03 \x01(\x0cH\x00\x12+\n\x05image\x18\x04 \x01(\x0b\x32\x1a.tensorbored.Summary.ImageH\x00\x12,\n\x05histo\x18\x05 \x01(\x0b\x32\x1b.tensorbored.HistogramProtoH\x00\x12+\n\x05\x61udio\x18\x06 \x01(\x0b\x32\x1a.tensorbored.Summary.AudioH\x00\x12*\n\x06tensor\x18\x08 \x01(\x0b\x32\x18.tensorbored.TensorProtoH\x00\x42\x07\n\x05value*o\n\tDataClass\x12\x16\n\x12\x44\x41TA_CLASS_UNKNOWN\x10\x00\x12\x15\n\x11\x44\x41TA_CLASS_SCALAR\x10\x01\x12\x15\n\x11\x44\x41TA_CLASS_TENSOR\x10\x02\x12\x1c\n\x18\x44\x41TA_CLASS_BLOB_SEQUENCE\x10\x03\x42~\n\x18org.tensorflow.frameworkB\rSummaryProtosP\x01ZNgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/summary_go_proto\xf8\x01\x01P\x00\x62\x06proto3')
22
+
23
+ _DATACLASS = DESCRIPTOR.enum_types_by_name['DataClass']
24
+ DataClass = enum_type_wrapper.EnumTypeWrapper(_DATACLASS)
25
+ DATA_CLASS_UNKNOWN = 0
26
+ DATA_CLASS_SCALAR = 1
27
+ DATA_CLASS_TENSOR = 2
28
+ DATA_CLASS_BLOB_SEQUENCE = 3
29
+
30
+
31
+ _SUMMARYDESCRIPTION = DESCRIPTOR.message_types_by_name['SummaryDescription']
32
+ _SUMMARYMETADATA = DESCRIPTOR.message_types_by_name['SummaryMetadata']
33
+ _SUMMARYMETADATA_PLUGINDATA = _SUMMARYMETADATA.nested_types_by_name['PluginData']
34
+ _SUMMARY = DESCRIPTOR.message_types_by_name['Summary']
35
+ _SUMMARY_IMAGE = _SUMMARY.nested_types_by_name['Image']
36
+ _SUMMARY_AUDIO = _SUMMARY.nested_types_by_name['Audio']
37
+ _SUMMARY_VALUE = _SUMMARY.nested_types_by_name['Value']
38
+ SummaryDescription = _reflection.GeneratedProtocolMessageType('SummaryDescription', (_message.Message,), {
39
+ 'DESCRIPTOR' : _SUMMARYDESCRIPTION,
40
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
41
+ # @@protoc_insertion_point(class_scope:tensorbored.SummaryDescription)
42
+ })
43
+ _sym_db.RegisterMessage(SummaryDescription)
44
+
45
+ SummaryMetadata = _reflection.GeneratedProtocolMessageType('SummaryMetadata', (_message.Message,), {
46
+
47
+ 'PluginData' : _reflection.GeneratedProtocolMessageType('PluginData', (_message.Message,), {
48
+ 'DESCRIPTOR' : _SUMMARYMETADATA_PLUGINDATA,
49
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
50
+ # @@protoc_insertion_point(class_scope:tensorbored.SummaryMetadata.PluginData)
51
+ })
52
+ ,
53
+ 'DESCRIPTOR' : _SUMMARYMETADATA,
54
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
55
+ # @@protoc_insertion_point(class_scope:tensorbored.SummaryMetadata)
56
+ })
57
+ _sym_db.RegisterMessage(SummaryMetadata)
58
+ _sym_db.RegisterMessage(SummaryMetadata.PluginData)
59
+
60
+ Summary = _reflection.GeneratedProtocolMessageType('Summary', (_message.Message,), {
61
+
62
+ 'Image' : _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), {
63
+ 'DESCRIPTOR' : _SUMMARY_IMAGE,
64
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
65
+ # @@protoc_insertion_point(class_scope:tensorbored.Summary.Image)
66
+ })
67
+ ,
68
+
69
+ 'Audio' : _reflection.GeneratedProtocolMessageType('Audio', (_message.Message,), {
70
+ 'DESCRIPTOR' : _SUMMARY_AUDIO,
71
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
72
+ # @@protoc_insertion_point(class_scope:tensorbored.Summary.Audio)
73
+ })
74
+ ,
75
+
76
+ 'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
77
+ 'DESCRIPTOR' : _SUMMARY_VALUE,
78
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
79
+ # @@protoc_insertion_point(class_scope:tensorbored.Summary.Value)
80
+ })
81
+ ,
82
+ 'DESCRIPTOR' : _SUMMARY,
83
+ '__module__' : 'tensorbored.compat.proto.summary_pb2'
84
+ # @@protoc_insertion_point(class_scope:tensorbored.Summary)
85
+ })
86
+ _sym_db.RegisterMessage(Summary)
87
+ _sym_db.RegisterMessage(Summary.Image)
88
+ _sym_db.RegisterMessage(Summary.Audio)
89
+ _sym_db.RegisterMessage(Summary.Value)
90
+
91
+ if _descriptor._USE_C_DESCRIPTORS == False:
92
+
93
+ DESCRIPTOR._options = None
94
+ DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\rSummaryProtosP\001ZNgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/summary_go_proto\370\001\001'
95
+ _DATACLASS._serialized_start=1021
96
+ _DATACLASS._serialized_end=1132
97
+ _SUMMARYDESCRIPTION._serialized_start=136
98
+ _SUMMARYDESCRIPTION._serialized_end=175
99
+ _SUMMARYMETADATA._serialized_start=178
100
+ _SUMMARYMETADATA._serialized_end=404
101
+ _SUMMARYMETADATA_PLUGINDATA._serialized_start=354
102
+ _SUMMARYMETADATA_PLUGINDATA._serialized_end=404
103
+ _SUMMARY._serialized_start=407
104
+ _SUMMARY._serialized_end=1019
105
+ _SUMMARY_IMAGE._serialized_start=461
106
+ _SUMMARY_IMAGE._serialized_end=549
107
+ _SUMMARY_AUDIO._serialized_start=551
108
+ _SUMMARY_AUDIO._serialized_end=676
109
+ _SUMMARY_VALUE._serialized_start=679
110
+ _SUMMARY_VALUE._serialized_end=1019
111
+ # @@protoc_insertion_point(module_scope)