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.
- tensorbored/__init__.py +112 -0
- tensorbored/_vendor/__init__.py +0 -0
- tensorbored/_vendor/bleach/__init__.py +125 -0
- tensorbored/_vendor/bleach/_vendor/__init__.py +0 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/__init__.py +35 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_ihatexml.py +289 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_inputstream.py +918 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_tokenizer.py +1735 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_trie/__init__.py +5 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_trie/_base.py +40 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_trie/py.py +67 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/_utils.py +159 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/constants.py +2946 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/__init__.py +0 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/alphabeticalattributes.py +29 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/base.py +12 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/inject_meta_charset.py +73 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/lint.py +93 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/optionaltags.py +207 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/sanitizer.py +916 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/filters/whitespace.py +38 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/html5parser.py +2795 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/serializer.py +409 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/__init__.py +30 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/genshi.py +54 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treeadapters/sax.py +50 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/__init__.py +88 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/base.py +417 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/dom.py +239 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree.py +343 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treebuilders/etree_lxml.py +392 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/__init__.py +154 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/base.py +252 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/dom.py +43 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree.py +131 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/etree_lxml.py +215 -0
- tensorbored/_vendor/bleach/_vendor/html5lib/treewalkers/genshi.py +69 -0
- tensorbored/_vendor/bleach/_vendor/parse.py +1078 -0
- tensorbored/_vendor/bleach/callbacks.py +32 -0
- tensorbored/_vendor/bleach/html5lib_shim.py +757 -0
- tensorbored/_vendor/bleach/linkifier.py +633 -0
- tensorbored/_vendor/bleach/parse_shim.py +1 -0
- tensorbored/_vendor/bleach/sanitizer.py +638 -0
- tensorbored/_vendor/bleach/six_shim.py +19 -0
- tensorbored/_vendor/webencodings/__init__.py +342 -0
- tensorbored/_vendor/webencodings/labels.py +231 -0
- tensorbored/_vendor/webencodings/mklabels.py +59 -0
- tensorbored/_vendor/webencodings/x_user_defined.py +325 -0
- tensorbored/assets.py +36 -0
- tensorbored/auth.py +102 -0
- tensorbored/backend/__init__.py +0 -0
- tensorbored/backend/application.py +604 -0
- tensorbored/backend/auth_context_middleware.py +38 -0
- tensorbored/backend/client_feature_flags.py +113 -0
- tensorbored/backend/empty_path_redirect.py +46 -0
- tensorbored/backend/event_processing/__init__.py +0 -0
- tensorbored/backend/event_processing/data_ingester.py +276 -0
- tensorbored/backend/event_processing/data_provider.py +535 -0
- tensorbored/backend/event_processing/directory_loader.py +142 -0
- tensorbored/backend/event_processing/directory_watcher.py +272 -0
- tensorbored/backend/event_processing/event_accumulator.py +950 -0
- tensorbored/backend/event_processing/event_file_inspector.py +463 -0
- tensorbored/backend/event_processing/event_file_loader.py +292 -0
- tensorbored/backend/event_processing/event_multiplexer.py +521 -0
- tensorbored/backend/event_processing/event_util.py +68 -0
- tensorbored/backend/event_processing/io_wrapper.py +223 -0
- tensorbored/backend/event_processing/plugin_asset_util.py +104 -0
- tensorbored/backend/event_processing/plugin_event_accumulator.py +721 -0
- tensorbored/backend/event_processing/plugin_event_multiplexer.py +522 -0
- tensorbored/backend/event_processing/reservoir.py +266 -0
- tensorbored/backend/event_processing/tag_types.py +29 -0
- tensorbored/backend/experiment_id.py +71 -0
- tensorbored/backend/experimental_plugin.py +51 -0
- tensorbored/backend/http_util.py +263 -0
- tensorbored/backend/json_util.py +70 -0
- tensorbored/backend/path_prefix.py +67 -0
- tensorbored/backend/process_graph.py +74 -0
- tensorbored/backend/security_validator.py +202 -0
- tensorbored/compat/__init__.py +69 -0
- tensorbored/compat/proto/__init__.py +0 -0
- tensorbored/compat/proto/allocation_description_pb2.py +35 -0
- tensorbored/compat/proto/api_def_pb2.py +82 -0
- tensorbored/compat/proto/attr_value_pb2.py +80 -0
- tensorbored/compat/proto/cluster_pb2.py +58 -0
- tensorbored/compat/proto/config_pb2.py +271 -0
- tensorbored/compat/proto/coordination_config_pb2.py +45 -0
- tensorbored/compat/proto/cost_graph_pb2.py +87 -0
- tensorbored/compat/proto/cpp_shape_inference_pb2.py +70 -0
- tensorbored/compat/proto/debug_pb2.py +65 -0
- tensorbored/compat/proto/event_pb2.py +149 -0
- tensorbored/compat/proto/full_type_pb2.py +74 -0
- tensorbored/compat/proto/function_pb2.py +157 -0
- tensorbored/compat/proto/graph_debug_info_pb2.py +111 -0
- tensorbored/compat/proto/graph_pb2.py +41 -0
- tensorbored/compat/proto/histogram_pb2.py +39 -0
- tensorbored/compat/proto/meta_graph_pb2.py +254 -0
- tensorbored/compat/proto/node_def_pb2.py +61 -0
- tensorbored/compat/proto/op_def_pb2.py +81 -0
- tensorbored/compat/proto/resource_handle_pb2.py +48 -0
- tensorbored/compat/proto/rewriter_config_pb2.py +93 -0
- tensorbored/compat/proto/rpc_options_pb2.py +35 -0
- tensorbored/compat/proto/saved_object_graph_pb2.py +193 -0
- tensorbored/compat/proto/saver_pb2.py +38 -0
- tensorbored/compat/proto/step_stats_pb2.py +116 -0
- tensorbored/compat/proto/struct_pb2.py +144 -0
- tensorbored/compat/proto/summary_pb2.py +111 -0
- tensorbored/compat/proto/tensor_description_pb2.py +38 -0
- tensorbored/compat/proto/tensor_pb2.py +68 -0
- tensorbored/compat/proto/tensor_shape_pb2.py +46 -0
- tensorbored/compat/proto/tfprof_log_pb2.py +307 -0
- tensorbored/compat/proto/trackable_object_graph_pb2.py +90 -0
- tensorbored/compat/proto/types_pb2.py +105 -0
- tensorbored/compat/proto/variable_pb2.py +62 -0
- tensorbored/compat/proto/verifier_config_pb2.py +38 -0
- tensorbored/compat/proto/versions_pb2.py +35 -0
- tensorbored/compat/tensorflow_stub/__init__.py +38 -0
- tensorbored/compat/tensorflow_stub/app.py +124 -0
- tensorbored/compat/tensorflow_stub/compat/__init__.py +131 -0
- tensorbored/compat/tensorflow_stub/compat/v1/__init__.py +20 -0
- tensorbored/compat/tensorflow_stub/dtypes.py +692 -0
- tensorbored/compat/tensorflow_stub/error_codes.py +169 -0
- tensorbored/compat/tensorflow_stub/errors.py +507 -0
- tensorbored/compat/tensorflow_stub/flags.py +124 -0
- tensorbored/compat/tensorflow_stub/io/__init__.py +17 -0
- tensorbored/compat/tensorflow_stub/io/gfile.py +1011 -0
- tensorbored/compat/tensorflow_stub/pywrap_tensorflow.py +285 -0
- tensorbored/compat/tensorflow_stub/tensor_shape.py +1035 -0
- tensorbored/context.py +129 -0
- tensorbored/data/__init__.py +0 -0
- tensorbored/data/grpc_provider.py +365 -0
- tensorbored/data/ingester.py +46 -0
- tensorbored/data/proto/__init__.py +0 -0
- tensorbored/data/proto/data_provider_pb2.py +517 -0
- tensorbored/data/proto/data_provider_pb2_grpc.py +374 -0
- tensorbored/data/provider.py +1365 -0
- tensorbored/data/server_ingester.py +301 -0
- tensorbored/data_compat.py +159 -0
- tensorbored/dataclass_compat.py +224 -0
- tensorbored/default.py +124 -0
- tensorbored/errors.py +130 -0
- tensorbored/lazy.py +99 -0
- tensorbored/main.py +48 -0
- tensorbored/main_lib.py +62 -0
- tensorbored/manager.py +487 -0
- tensorbored/notebook.py +441 -0
- tensorbored/plugin_util.py +266 -0
- tensorbored/plugins/__init__.py +0 -0
- tensorbored/plugins/audio/__init__.py +0 -0
- tensorbored/plugins/audio/audio_plugin.py +229 -0
- tensorbored/plugins/audio/metadata.py +69 -0
- tensorbored/plugins/audio/plugin_data_pb2.py +37 -0
- tensorbored/plugins/audio/summary.py +230 -0
- tensorbored/plugins/audio/summary_v2.py +124 -0
- tensorbored/plugins/base_plugin.py +367 -0
- tensorbored/plugins/core/__init__.py +0 -0
- tensorbored/plugins/core/core_plugin.py +981 -0
- tensorbored/plugins/custom_scalar/__init__.py +0 -0
- tensorbored/plugins/custom_scalar/custom_scalars_plugin.py +320 -0
- tensorbored/plugins/custom_scalar/layout_pb2.py +85 -0
- tensorbored/plugins/custom_scalar/metadata.py +35 -0
- tensorbored/plugins/custom_scalar/summary.py +79 -0
- tensorbored/plugins/debugger_v2/__init__.py +0 -0
- tensorbored/plugins/debugger_v2/debug_data_multiplexer.py +631 -0
- tensorbored/plugins/debugger_v2/debug_data_provider.py +634 -0
- tensorbored/plugins/debugger_v2/debugger_v2_plugin.py +504 -0
- tensorbored/plugins/distribution/__init__.py +0 -0
- tensorbored/plugins/distribution/compressor.py +158 -0
- tensorbored/plugins/distribution/distributions_plugin.py +116 -0
- tensorbored/plugins/distribution/metadata.py +19 -0
- tensorbored/plugins/graph/__init__.py +0 -0
- tensorbored/plugins/graph/graph_util.py +129 -0
- tensorbored/plugins/graph/graphs_plugin.py +336 -0
- tensorbored/plugins/graph/keras_util.py +328 -0
- tensorbored/plugins/graph/metadata.py +42 -0
- tensorbored/plugins/histogram/__init__.py +0 -0
- tensorbored/plugins/histogram/histograms_plugin.py +144 -0
- tensorbored/plugins/histogram/metadata.py +63 -0
- tensorbored/plugins/histogram/plugin_data_pb2.py +34 -0
- tensorbored/plugins/histogram/summary.py +234 -0
- tensorbored/plugins/histogram/summary_v2.py +292 -0
- tensorbored/plugins/hparams/__init__.py +14 -0
- tensorbored/plugins/hparams/_keras.py +93 -0
- tensorbored/plugins/hparams/api.py +130 -0
- tensorbored/plugins/hparams/api_pb2.py +208 -0
- tensorbored/plugins/hparams/backend_context.py +606 -0
- tensorbored/plugins/hparams/download_data.py +158 -0
- tensorbored/plugins/hparams/error.py +26 -0
- tensorbored/plugins/hparams/get_experiment.py +71 -0
- tensorbored/plugins/hparams/hparams_plugin.py +206 -0
- tensorbored/plugins/hparams/hparams_util_pb2.py +69 -0
- tensorbored/plugins/hparams/json_format_compat.py +38 -0
- tensorbored/plugins/hparams/list_metric_evals.py +57 -0
- tensorbored/plugins/hparams/list_session_groups.py +1040 -0
- tensorbored/plugins/hparams/metadata.py +125 -0
- tensorbored/plugins/hparams/metrics.py +41 -0
- tensorbored/plugins/hparams/plugin_data_pb2.py +69 -0
- tensorbored/plugins/hparams/summary.py +205 -0
- tensorbored/plugins/hparams/summary_v2.py +597 -0
- tensorbored/plugins/image/__init__.py +0 -0
- tensorbored/plugins/image/images_plugin.py +232 -0
- tensorbored/plugins/image/metadata.py +65 -0
- tensorbored/plugins/image/plugin_data_pb2.py +34 -0
- tensorbored/plugins/image/summary.py +159 -0
- tensorbored/plugins/image/summary_v2.py +130 -0
- tensorbored/plugins/mesh/__init__.py +14 -0
- tensorbored/plugins/mesh/mesh_plugin.py +292 -0
- tensorbored/plugins/mesh/metadata.py +152 -0
- tensorbored/plugins/mesh/plugin_data_pb2.py +37 -0
- tensorbored/plugins/mesh/summary.py +251 -0
- tensorbored/plugins/mesh/summary_v2.py +214 -0
- tensorbored/plugins/metrics/__init__.py +0 -0
- tensorbored/plugins/metrics/metadata.py +17 -0
- tensorbored/plugins/metrics/metrics_plugin.py +623 -0
- tensorbored/plugins/pr_curve/__init__.py +0 -0
- tensorbored/plugins/pr_curve/metadata.py +75 -0
- tensorbored/plugins/pr_curve/plugin_data_pb2.py +34 -0
- tensorbored/plugins/pr_curve/pr_curves_plugin.py +241 -0
- tensorbored/plugins/pr_curve/summary.py +574 -0
- tensorbored/plugins/profile_redirect/__init__.py +0 -0
- tensorbored/plugins/profile_redirect/profile_redirect_plugin.py +49 -0
- tensorbored/plugins/projector/__init__.py +67 -0
- tensorbored/plugins/projector/metadata.py +26 -0
- tensorbored/plugins/projector/projector_config_pb2.py +54 -0
- tensorbored/plugins/projector/projector_plugin.py +795 -0
- tensorbored/plugins/projector/tf_projector_plugin/index.js +32 -0
- tensorbored/plugins/projector/tf_projector_plugin/projector_binary.html +524 -0
- tensorbored/plugins/projector/tf_projector_plugin/projector_binary.js +15536 -0
- tensorbored/plugins/scalar/__init__.py +0 -0
- tensorbored/plugins/scalar/metadata.py +60 -0
- tensorbored/plugins/scalar/plugin_data_pb2.py +34 -0
- tensorbored/plugins/scalar/scalars_plugin.py +181 -0
- tensorbored/plugins/scalar/summary.py +109 -0
- tensorbored/plugins/scalar/summary_v2.py +124 -0
- tensorbored/plugins/text/__init__.py +0 -0
- tensorbored/plugins/text/metadata.py +62 -0
- tensorbored/plugins/text/plugin_data_pb2.py +34 -0
- tensorbored/plugins/text/summary.py +114 -0
- tensorbored/plugins/text/summary_v2.py +124 -0
- tensorbored/plugins/text/text_plugin.py +288 -0
- tensorbored/plugins/wit_redirect/__init__.py +0 -0
- tensorbored/plugins/wit_redirect/wit_redirect_plugin.py +49 -0
- tensorbored/program.py +910 -0
- tensorbored/summary/__init__.py +35 -0
- tensorbored/summary/_output.py +124 -0
- tensorbored/summary/_tf/__init__.py +14 -0
- tensorbored/summary/_tf/summary/__init__.py +178 -0
- tensorbored/summary/_writer.py +105 -0
- tensorbored/summary/v1.py +51 -0
- tensorbored/summary/v2.py +25 -0
- tensorbored/summary/writer/__init__.py +13 -0
- tensorbored/summary/writer/event_file_writer.py +291 -0
- tensorbored/summary/writer/record_writer.py +50 -0
- tensorbored/util/__init__.py +0 -0
- tensorbored/util/encoder.py +116 -0
- tensorbored/util/grpc_util.py +311 -0
- tensorbored/util/img_mime_type_detector.py +40 -0
- tensorbored/util/io_util.py +20 -0
- tensorbored/util/lazy_tensor_creator.py +110 -0
- tensorbored/util/op_evaluator.py +104 -0
- tensorbored/util/platform_util.py +20 -0
- tensorbored/util/tb_logging.py +24 -0
- tensorbored/util/tensor_util.py +617 -0
- tensorbored/util/timing.py +122 -0
- tensorbored/version.py +21 -0
- tensorbored/webfiles.zip +0 -0
- tensorbored-2.21.0rc1769983804.dist-info/METADATA +49 -0
- tensorbored-2.21.0rc1769983804.dist-info/RECORD +271 -0
- tensorbored-2.21.0rc1769983804.dist-info/WHEEL +5 -0
- tensorbored-2.21.0rc1769983804.dist-info/entry_points.txt +6 -0
- tensorbored-2.21.0rc1769983804.dist-info/licenses/LICENSE +739 -0
- tensorbored-2.21.0rc1769983804.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/meta_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 graph_pb2 as tensorbored_dot_compat_dot_proto_dot_graph__pb2
|
|
17
|
+
from tensorbored.compat.proto import op_def_pb2 as tensorbored_dot_compat_dot_proto_dot_op__def__pb2
|
|
18
|
+
from tensorbored.compat.proto import tensor_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__pb2
|
|
19
|
+
from tensorbored.compat.proto import tensor_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
|
|
20
|
+
from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
|
|
21
|
+
from tensorbored.compat.proto import saved_object_graph_pb2 as tensorbored_dot_compat_dot_proto_dot_saved__object__graph__pb2
|
|
22
|
+
from tensorbored.compat.proto import saver_pb2 as tensorbored_dot_compat_dot_proto_dot_saver__pb2
|
|
23
|
+
from tensorbored.compat.proto import struct_pb2 as tensorbored_dot_compat_dot_proto_dot_struct__pb2
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorbored/compat/proto/meta_graph.proto\x12\x0btensorbored\x1a\x19google/protobuf/any.proto\x1a$tensorbored/compat/proto/graph.proto\x1a%tensorbored/compat/proto/op_def.proto\x1a%tensorbored/compat/proto/tensor.proto\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\x1a\x31tensorbored/compat/proto/saved_object_graph.proto\x1a$tensorbored/compat/proto/saver.proto\x1a%tensorbored/compat/proto/struct.proto\"\xb3\x07\n\x0cMetaGraphDef\x12<\n\rmeta_info_def\x18\x01 \x01(\x0b\x32%.tensorbored.MetaGraphDef.MetaInfoDef\x12(\n\tgraph_def\x18\x02 \x01(\x0b\x32\x15.tensorbored.GraphDef\x12(\n\tsaver_def\x18\x03 \x01(\x0b\x32\x15.tensorbored.SaverDef\x12\x44\n\x0e\x63ollection_def\x18\x04 \x03(\x0b\x32,.tensorbored.MetaGraphDef.CollectionDefEntry\x12\x42\n\rsignature_def\x18\x05 \x03(\x0b\x32+.tensorbored.MetaGraphDef.SignatureDefEntry\x12\x31\n\x0e\x61sset_file_def\x18\x06 \x03(\x0b\x32\x19.tensorbored.AssetFileDef\x12\x37\n\x10object_graph_def\x18\x07 \x01(\x0b\x32\x1d.tensorbored.SavedObjectGraph\x1a\xf8\x02\n\x0bMetaInfoDef\x12\x1a\n\x12meta_graph_version\x18\x01 \x01(\t\x12-\n\x10stripped_op_list\x18\x02 \x01(\x0b\x32\x13.tensorbored.OpList\x12&\n\x08\x61ny_info\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12\x1a\n\x12tensorflow_version\x18\x05 \x01(\t\x12\x1e\n\x16tensorflow_git_version\x18\x06 \x01(\t\x12\x1e\n\x16stripped_default_attrs\x18\x07 \x01(\x08\x12T\n\x10\x66unction_aliases\x18\x08 \x03(\x0b\x32:.tensorbored.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry\x1a\x36\n\x14\x46unctionAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aP\n\x12\x43ollectionDefEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.tensorbored.CollectionDef:\x02\x38\x01\x1aN\n\x11SignatureDefEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.tensorbored.SignatureDef:\x02\x38\x01\"\xe4\x03\n\rCollectionDef\x12\x38\n\tnode_list\x18\x01 \x01(\x0b\x32#.tensorbored.CollectionDef.NodeListH\x00\x12:\n\nbytes_list\x18\x02 \x01(\x0b\x32$.tensorbored.CollectionDef.BytesListH\x00\x12:\n\nint64_list\x18\x03 \x01(\x0b\x32$.tensorbored.CollectionDef.Int64ListH\x00\x12:\n\nfloat_list\x18\x04 \x01(\x0b\x32$.tensorbored.CollectionDef.FloatListH\x00\x12\x36\n\x08\x61ny_list\x18\x05 \x01(\x0b\x32\".tensorbored.CollectionDef.AnyListH\x00\x1a\x19\n\x08NodeList\x12\r\n\x05value\x18\x01 \x03(\t\x1a\x1a\n\tBytesList\x12\r\n\x05value\x18\x01 \x03(\x0c\x1a\x1e\n\tInt64List\x12\x11\n\x05value\x18\x01 \x03(\x03\x42\x02\x10\x01\x1a\x1e\n\tFloatList\x12\x11\n\x05value\x18\x01 \x03(\x02\x42\x02\x10\x01\x1a.\n\x07\x41nyList\x12#\n\x05value\x18\x01 \x03(\x0b\x32\x14.google.protobuf.AnyB\x06\n\x04kind\"\xd7\x03\n\nTensorInfo\x12\x0e\n\x04name\x18\x01 \x01(\tH\x00\x12\x37\n\ncoo_sparse\x18\x04 \x01(\x0b\x32!.tensorbored.TensorInfo.CooSparseH\x00\x12\x43\n\x10\x63omposite_tensor\x18\x05 \x01(\x0b\x32\'.tensorbored.TensorInfo.CompositeTensorH\x00\x12$\n\x05\x64type\x18\x02 \x01(\x0e\x32\x15.tensorbored.DataType\x12\x33\n\x0ctensor_shape\x18\x03 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProto\x1a\x65\n\tCooSparse\x12\x1a\n\x12values_tensor_name\x18\x01 \x01(\t\x12\x1b\n\x13indices_tensor_name\x18\x02 \x01(\t\x12\x1f\n\x17\x64\x65nse_shape_tensor_name\x18\x03 \x01(\t\x1am\n\x0f\x43ompositeTensor\x12-\n\ttype_spec\x18\x01 \x01(\x0b\x32\x1a.tensorbored.TypeSpecProto\x12+\n\ncomponents\x18\x02 \x03(\x0b\x32\x17.tensorbored.TensorInfoB\n\n\x08\x65ncoding\"\xaa\x03\n\x0cSignatureDef\x12\x35\n\x06inputs\x18\x01 \x03(\x0b\x32%.tensorbored.SignatureDef.InputsEntry\x12\x37\n\x07outputs\x18\x02 \x03(\x0b\x32&.tensorbored.SignatureDef.OutputsEntry\x12\x13\n\x0bmethod_name\x18\x03 \x01(\t\x12\x39\n\x08\x64\x65\x66\x61ults\x18\x04 \x03(\x0b\x32\'.tensorbored.SignatureDef.DefaultsEntry\x1a\x46\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tensorbored.TensorInfo:\x02\x38\x01\x1aG\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tensorbored.TensorInfo:\x02\x38\x01\x1aI\n\rDefaultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.tensorbored.TensorProto:\x02\x38\x01\"N\n\x0c\x41ssetFileDef\x12,\n\x0btensor_info\x18\x01 \x01(\x0b\x32\x17.tensorbored.TensorInfo\x12\x10\n\x08\x66ilename\x18\x02 \x01(\tB\x87\x01\n\x18org.tensorflow.frameworkB\x0fMetaGraphProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
_METAGRAPHDEF = DESCRIPTOR.message_types_by_name['MetaGraphDef']
|
|
31
|
+
_METAGRAPHDEF_METAINFODEF = _METAGRAPHDEF.nested_types_by_name['MetaInfoDef']
|
|
32
|
+
_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY = _METAGRAPHDEF_METAINFODEF.nested_types_by_name['FunctionAliasesEntry']
|
|
33
|
+
_METAGRAPHDEF_COLLECTIONDEFENTRY = _METAGRAPHDEF.nested_types_by_name['CollectionDefEntry']
|
|
34
|
+
_METAGRAPHDEF_SIGNATUREDEFENTRY = _METAGRAPHDEF.nested_types_by_name['SignatureDefEntry']
|
|
35
|
+
_COLLECTIONDEF = DESCRIPTOR.message_types_by_name['CollectionDef']
|
|
36
|
+
_COLLECTIONDEF_NODELIST = _COLLECTIONDEF.nested_types_by_name['NodeList']
|
|
37
|
+
_COLLECTIONDEF_BYTESLIST = _COLLECTIONDEF.nested_types_by_name['BytesList']
|
|
38
|
+
_COLLECTIONDEF_INT64LIST = _COLLECTIONDEF.nested_types_by_name['Int64List']
|
|
39
|
+
_COLLECTIONDEF_FLOATLIST = _COLLECTIONDEF.nested_types_by_name['FloatList']
|
|
40
|
+
_COLLECTIONDEF_ANYLIST = _COLLECTIONDEF.nested_types_by_name['AnyList']
|
|
41
|
+
_TENSORINFO = DESCRIPTOR.message_types_by_name['TensorInfo']
|
|
42
|
+
_TENSORINFO_COOSPARSE = _TENSORINFO.nested_types_by_name['CooSparse']
|
|
43
|
+
_TENSORINFO_COMPOSITETENSOR = _TENSORINFO.nested_types_by_name['CompositeTensor']
|
|
44
|
+
_SIGNATUREDEF = DESCRIPTOR.message_types_by_name['SignatureDef']
|
|
45
|
+
_SIGNATUREDEF_INPUTSENTRY = _SIGNATUREDEF.nested_types_by_name['InputsEntry']
|
|
46
|
+
_SIGNATUREDEF_OUTPUTSENTRY = _SIGNATUREDEF.nested_types_by_name['OutputsEntry']
|
|
47
|
+
_SIGNATUREDEF_DEFAULTSENTRY = _SIGNATUREDEF.nested_types_by_name['DefaultsEntry']
|
|
48
|
+
_ASSETFILEDEF = DESCRIPTOR.message_types_by_name['AssetFileDef']
|
|
49
|
+
MetaGraphDef = _reflection.GeneratedProtocolMessageType('MetaGraphDef', (_message.Message,), {
|
|
50
|
+
|
|
51
|
+
'MetaInfoDef' : _reflection.GeneratedProtocolMessageType('MetaInfoDef', (_message.Message,), {
|
|
52
|
+
|
|
53
|
+
'FunctionAliasesEntry' : _reflection.GeneratedProtocolMessageType('FunctionAliasesEntry', (_message.Message,), {
|
|
54
|
+
'DESCRIPTOR' : _METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY,
|
|
55
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
56
|
+
# @@protoc_insertion_point(class_scope:tensorbored.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry)
|
|
57
|
+
})
|
|
58
|
+
,
|
|
59
|
+
'DESCRIPTOR' : _METAGRAPHDEF_METAINFODEF,
|
|
60
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
61
|
+
# @@protoc_insertion_point(class_scope:tensorbored.MetaGraphDef.MetaInfoDef)
|
|
62
|
+
})
|
|
63
|
+
,
|
|
64
|
+
|
|
65
|
+
'CollectionDefEntry' : _reflection.GeneratedProtocolMessageType('CollectionDefEntry', (_message.Message,), {
|
|
66
|
+
'DESCRIPTOR' : _METAGRAPHDEF_COLLECTIONDEFENTRY,
|
|
67
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
68
|
+
# @@protoc_insertion_point(class_scope:tensorbored.MetaGraphDef.CollectionDefEntry)
|
|
69
|
+
})
|
|
70
|
+
,
|
|
71
|
+
|
|
72
|
+
'SignatureDefEntry' : _reflection.GeneratedProtocolMessageType('SignatureDefEntry', (_message.Message,), {
|
|
73
|
+
'DESCRIPTOR' : _METAGRAPHDEF_SIGNATUREDEFENTRY,
|
|
74
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
75
|
+
# @@protoc_insertion_point(class_scope:tensorbored.MetaGraphDef.SignatureDefEntry)
|
|
76
|
+
})
|
|
77
|
+
,
|
|
78
|
+
'DESCRIPTOR' : _METAGRAPHDEF,
|
|
79
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
80
|
+
# @@protoc_insertion_point(class_scope:tensorbored.MetaGraphDef)
|
|
81
|
+
})
|
|
82
|
+
_sym_db.RegisterMessage(MetaGraphDef)
|
|
83
|
+
_sym_db.RegisterMessage(MetaGraphDef.MetaInfoDef)
|
|
84
|
+
_sym_db.RegisterMessage(MetaGraphDef.MetaInfoDef.FunctionAliasesEntry)
|
|
85
|
+
_sym_db.RegisterMessage(MetaGraphDef.CollectionDefEntry)
|
|
86
|
+
_sym_db.RegisterMessage(MetaGraphDef.SignatureDefEntry)
|
|
87
|
+
|
|
88
|
+
CollectionDef = _reflection.GeneratedProtocolMessageType('CollectionDef', (_message.Message,), {
|
|
89
|
+
|
|
90
|
+
'NodeList' : _reflection.GeneratedProtocolMessageType('NodeList', (_message.Message,), {
|
|
91
|
+
'DESCRIPTOR' : _COLLECTIONDEF_NODELIST,
|
|
92
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
93
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef.NodeList)
|
|
94
|
+
})
|
|
95
|
+
,
|
|
96
|
+
|
|
97
|
+
'BytesList' : _reflection.GeneratedProtocolMessageType('BytesList', (_message.Message,), {
|
|
98
|
+
'DESCRIPTOR' : _COLLECTIONDEF_BYTESLIST,
|
|
99
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
100
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef.BytesList)
|
|
101
|
+
})
|
|
102
|
+
,
|
|
103
|
+
|
|
104
|
+
'Int64List' : _reflection.GeneratedProtocolMessageType('Int64List', (_message.Message,), {
|
|
105
|
+
'DESCRIPTOR' : _COLLECTIONDEF_INT64LIST,
|
|
106
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
107
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef.Int64List)
|
|
108
|
+
})
|
|
109
|
+
,
|
|
110
|
+
|
|
111
|
+
'FloatList' : _reflection.GeneratedProtocolMessageType('FloatList', (_message.Message,), {
|
|
112
|
+
'DESCRIPTOR' : _COLLECTIONDEF_FLOATLIST,
|
|
113
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
114
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef.FloatList)
|
|
115
|
+
})
|
|
116
|
+
,
|
|
117
|
+
|
|
118
|
+
'AnyList' : _reflection.GeneratedProtocolMessageType('AnyList', (_message.Message,), {
|
|
119
|
+
'DESCRIPTOR' : _COLLECTIONDEF_ANYLIST,
|
|
120
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
121
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef.AnyList)
|
|
122
|
+
})
|
|
123
|
+
,
|
|
124
|
+
'DESCRIPTOR' : _COLLECTIONDEF,
|
|
125
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
126
|
+
# @@protoc_insertion_point(class_scope:tensorbored.CollectionDef)
|
|
127
|
+
})
|
|
128
|
+
_sym_db.RegisterMessage(CollectionDef)
|
|
129
|
+
_sym_db.RegisterMessage(CollectionDef.NodeList)
|
|
130
|
+
_sym_db.RegisterMessage(CollectionDef.BytesList)
|
|
131
|
+
_sym_db.RegisterMessage(CollectionDef.Int64List)
|
|
132
|
+
_sym_db.RegisterMessage(CollectionDef.FloatList)
|
|
133
|
+
_sym_db.RegisterMessage(CollectionDef.AnyList)
|
|
134
|
+
|
|
135
|
+
TensorInfo = _reflection.GeneratedProtocolMessageType('TensorInfo', (_message.Message,), {
|
|
136
|
+
|
|
137
|
+
'CooSparse' : _reflection.GeneratedProtocolMessageType('CooSparse', (_message.Message,), {
|
|
138
|
+
'DESCRIPTOR' : _TENSORINFO_COOSPARSE,
|
|
139
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
140
|
+
# @@protoc_insertion_point(class_scope:tensorbored.TensorInfo.CooSparse)
|
|
141
|
+
})
|
|
142
|
+
,
|
|
143
|
+
|
|
144
|
+
'CompositeTensor' : _reflection.GeneratedProtocolMessageType('CompositeTensor', (_message.Message,), {
|
|
145
|
+
'DESCRIPTOR' : _TENSORINFO_COMPOSITETENSOR,
|
|
146
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
147
|
+
# @@protoc_insertion_point(class_scope:tensorbored.TensorInfo.CompositeTensor)
|
|
148
|
+
})
|
|
149
|
+
,
|
|
150
|
+
'DESCRIPTOR' : _TENSORINFO,
|
|
151
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
152
|
+
# @@protoc_insertion_point(class_scope:tensorbored.TensorInfo)
|
|
153
|
+
})
|
|
154
|
+
_sym_db.RegisterMessage(TensorInfo)
|
|
155
|
+
_sym_db.RegisterMessage(TensorInfo.CooSparse)
|
|
156
|
+
_sym_db.RegisterMessage(TensorInfo.CompositeTensor)
|
|
157
|
+
|
|
158
|
+
SignatureDef = _reflection.GeneratedProtocolMessageType('SignatureDef', (_message.Message,), {
|
|
159
|
+
|
|
160
|
+
'InputsEntry' : _reflection.GeneratedProtocolMessageType('InputsEntry', (_message.Message,), {
|
|
161
|
+
'DESCRIPTOR' : _SIGNATUREDEF_INPUTSENTRY,
|
|
162
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
163
|
+
# @@protoc_insertion_point(class_scope:tensorbored.SignatureDef.InputsEntry)
|
|
164
|
+
})
|
|
165
|
+
,
|
|
166
|
+
|
|
167
|
+
'OutputsEntry' : _reflection.GeneratedProtocolMessageType('OutputsEntry', (_message.Message,), {
|
|
168
|
+
'DESCRIPTOR' : _SIGNATUREDEF_OUTPUTSENTRY,
|
|
169
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
170
|
+
# @@protoc_insertion_point(class_scope:tensorbored.SignatureDef.OutputsEntry)
|
|
171
|
+
})
|
|
172
|
+
,
|
|
173
|
+
|
|
174
|
+
'DefaultsEntry' : _reflection.GeneratedProtocolMessageType('DefaultsEntry', (_message.Message,), {
|
|
175
|
+
'DESCRIPTOR' : _SIGNATUREDEF_DEFAULTSENTRY,
|
|
176
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
177
|
+
# @@protoc_insertion_point(class_scope:tensorbored.SignatureDef.DefaultsEntry)
|
|
178
|
+
})
|
|
179
|
+
,
|
|
180
|
+
'DESCRIPTOR' : _SIGNATUREDEF,
|
|
181
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
182
|
+
# @@protoc_insertion_point(class_scope:tensorbored.SignatureDef)
|
|
183
|
+
})
|
|
184
|
+
_sym_db.RegisterMessage(SignatureDef)
|
|
185
|
+
_sym_db.RegisterMessage(SignatureDef.InputsEntry)
|
|
186
|
+
_sym_db.RegisterMessage(SignatureDef.OutputsEntry)
|
|
187
|
+
_sym_db.RegisterMessage(SignatureDef.DefaultsEntry)
|
|
188
|
+
|
|
189
|
+
AssetFileDef = _reflection.GeneratedProtocolMessageType('AssetFileDef', (_message.Message,), {
|
|
190
|
+
'DESCRIPTOR' : _ASSETFILEDEF,
|
|
191
|
+
'__module__' : 'tensorbored.compat.proto.meta_graph_pb2'
|
|
192
|
+
# @@protoc_insertion_point(class_scope:tensorbored.AssetFileDef)
|
|
193
|
+
})
|
|
194
|
+
_sym_db.RegisterMessage(AssetFileDef)
|
|
195
|
+
|
|
196
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
197
|
+
|
|
198
|
+
DESCRIPTOR._options = None
|
|
199
|
+
DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017MetaGraphProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
|
|
200
|
+
_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._options = None
|
|
201
|
+
_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_options = b'8\001'
|
|
202
|
+
_METAGRAPHDEF_COLLECTIONDEFENTRY._options = None
|
|
203
|
+
_METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_options = b'8\001'
|
|
204
|
+
_METAGRAPHDEF_SIGNATUREDEFENTRY._options = None
|
|
205
|
+
_METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_options = b'8\001'
|
|
206
|
+
_COLLECTIONDEF_INT64LIST.fields_by_name['value']._options = None
|
|
207
|
+
_COLLECTIONDEF_INT64LIST.fields_by_name['value']._serialized_options = b'\020\001'
|
|
208
|
+
_COLLECTIONDEF_FLOATLIST.fields_by_name['value']._options = None
|
|
209
|
+
_COLLECTIONDEF_FLOATLIST.fields_by_name['value']._serialized_options = b'\020\001'
|
|
210
|
+
_SIGNATUREDEF_INPUTSENTRY._options = None
|
|
211
|
+
_SIGNATUREDEF_INPUTSENTRY._serialized_options = b'8\001'
|
|
212
|
+
_SIGNATUREDEF_OUTPUTSENTRY._options = None
|
|
213
|
+
_SIGNATUREDEF_OUTPUTSENTRY._serialized_options = b'8\001'
|
|
214
|
+
_SIGNATUREDEF_DEFAULTSENTRY._options = None
|
|
215
|
+
_SIGNATUREDEF_DEFAULTSENTRY._serialized_options = b'8\001'
|
|
216
|
+
_METAGRAPHDEF._serialized_start=413
|
|
217
|
+
_METAGRAPHDEF._serialized_end=1360
|
|
218
|
+
_METAGRAPHDEF_METAINFODEF._serialized_start=822
|
|
219
|
+
_METAGRAPHDEF_METAINFODEF._serialized_end=1198
|
|
220
|
+
_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_start=1144
|
|
221
|
+
_METAGRAPHDEF_METAINFODEF_FUNCTIONALIASESENTRY._serialized_end=1198
|
|
222
|
+
_METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_start=1200
|
|
223
|
+
_METAGRAPHDEF_COLLECTIONDEFENTRY._serialized_end=1280
|
|
224
|
+
_METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_start=1282
|
|
225
|
+
_METAGRAPHDEF_SIGNATUREDEFENTRY._serialized_end=1360
|
|
226
|
+
_COLLECTIONDEF._serialized_start=1363
|
|
227
|
+
_COLLECTIONDEF._serialized_end=1847
|
|
228
|
+
_COLLECTIONDEF_NODELIST._serialized_start=1674
|
|
229
|
+
_COLLECTIONDEF_NODELIST._serialized_end=1699
|
|
230
|
+
_COLLECTIONDEF_BYTESLIST._serialized_start=1701
|
|
231
|
+
_COLLECTIONDEF_BYTESLIST._serialized_end=1727
|
|
232
|
+
_COLLECTIONDEF_INT64LIST._serialized_start=1729
|
|
233
|
+
_COLLECTIONDEF_INT64LIST._serialized_end=1759
|
|
234
|
+
_COLLECTIONDEF_FLOATLIST._serialized_start=1761
|
|
235
|
+
_COLLECTIONDEF_FLOATLIST._serialized_end=1791
|
|
236
|
+
_COLLECTIONDEF_ANYLIST._serialized_start=1793
|
|
237
|
+
_COLLECTIONDEF_ANYLIST._serialized_end=1839
|
|
238
|
+
_TENSORINFO._serialized_start=1850
|
|
239
|
+
_TENSORINFO._serialized_end=2321
|
|
240
|
+
_TENSORINFO_COOSPARSE._serialized_start=2097
|
|
241
|
+
_TENSORINFO_COOSPARSE._serialized_end=2198
|
|
242
|
+
_TENSORINFO_COMPOSITETENSOR._serialized_start=2200
|
|
243
|
+
_TENSORINFO_COMPOSITETENSOR._serialized_end=2309
|
|
244
|
+
_SIGNATUREDEF._serialized_start=2324
|
|
245
|
+
_SIGNATUREDEF._serialized_end=2750
|
|
246
|
+
_SIGNATUREDEF_INPUTSENTRY._serialized_start=2532
|
|
247
|
+
_SIGNATUREDEF_INPUTSENTRY._serialized_end=2602
|
|
248
|
+
_SIGNATUREDEF_OUTPUTSENTRY._serialized_start=2604
|
|
249
|
+
_SIGNATUREDEF_OUTPUTSENTRY._serialized_end=2675
|
|
250
|
+
_SIGNATUREDEF_DEFAULTSENTRY._serialized_start=2677
|
|
251
|
+
_SIGNATUREDEF_DEFAULTSENTRY._serialized_end=2750
|
|
252
|
+
_ASSETFILEDEF._serialized_start=2752
|
|
253
|
+
_ASSETFILEDEF._serialized_end=2830
|
|
254
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/node_def.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 attr_value_pb2 as tensorbored_dot_compat_dot_proto_dot_attr__value__pb2
|
|
16
|
+
from tensorbored.compat.proto import full_type_pb2 as tensorbored_dot_compat_dot_proto_dot_full__type__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'tensorbored/compat/proto/node_def.proto\x12\x0btensorbored\x1a)tensorbored/compat/proto/attr_value.proto\x1a(tensorbored/compat/proto/full_type.proto\"\x8a\x03\n\x07NodeDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02op\x18\x02 \x01(\t\x12\r\n\x05input\x18\x03 \x03(\t\x12\x0e\n\x06\x64\x65vice\x18\x04 \x01(\t\x12,\n\x04\x61ttr\x18\x05 \x03(\x0b\x32\x1e.tensorbored.NodeDef.AttrEntry\x12K\n\x17\x65xperimental_debug_info\x18\x06 \x01(\x0b\x32*.tensorbored.NodeDef.ExperimentalDebugInfo\x12\x33\n\x11\x65xperimental_type\x18\x07 \x01(\x0b\x32\x18.tensorbored.FullTypeDef\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorbored.AttrValue:\x02\x38\x01\x1aQ\n\x15\x45xperimentalDebugInfo\x12\x1b\n\x13original_node_names\x18\x01 \x03(\t\x12\x1b\n\x13original_func_names\x18\x02 \x03(\tB{\n\x18org.tensorflow.frameworkB\tNodeProtoP\x01ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/node_def_go_proto\xf8\x01\x01\x62\x06proto3')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_NODEDEF = DESCRIPTOR.message_types_by_name['NodeDef']
|
|
24
|
+
_NODEDEF_ATTRENTRY = _NODEDEF.nested_types_by_name['AttrEntry']
|
|
25
|
+
_NODEDEF_EXPERIMENTALDEBUGINFO = _NODEDEF.nested_types_by_name['ExperimentalDebugInfo']
|
|
26
|
+
NodeDef = _reflection.GeneratedProtocolMessageType('NodeDef', (_message.Message,), {
|
|
27
|
+
|
|
28
|
+
'AttrEntry' : _reflection.GeneratedProtocolMessageType('AttrEntry', (_message.Message,), {
|
|
29
|
+
'DESCRIPTOR' : _NODEDEF_ATTRENTRY,
|
|
30
|
+
'__module__' : 'tensorbored.compat.proto.node_def_pb2'
|
|
31
|
+
# @@protoc_insertion_point(class_scope:tensorbored.NodeDef.AttrEntry)
|
|
32
|
+
})
|
|
33
|
+
,
|
|
34
|
+
|
|
35
|
+
'ExperimentalDebugInfo' : _reflection.GeneratedProtocolMessageType('ExperimentalDebugInfo', (_message.Message,), {
|
|
36
|
+
'DESCRIPTOR' : _NODEDEF_EXPERIMENTALDEBUGINFO,
|
|
37
|
+
'__module__' : 'tensorbored.compat.proto.node_def_pb2'
|
|
38
|
+
# @@protoc_insertion_point(class_scope:tensorbored.NodeDef.ExperimentalDebugInfo)
|
|
39
|
+
})
|
|
40
|
+
,
|
|
41
|
+
'DESCRIPTOR' : _NODEDEF,
|
|
42
|
+
'__module__' : 'tensorbored.compat.proto.node_def_pb2'
|
|
43
|
+
# @@protoc_insertion_point(class_scope:tensorbored.NodeDef)
|
|
44
|
+
})
|
|
45
|
+
_sym_db.RegisterMessage(NodeDef)
|
|
46
|
+
_sym_db.RegisterMessage(NodeDef.AttrEntry)
|
|
47
|
+
_sym_db.RegisterMessage(NodeDef.ExperimentalDebugInfo)
|
|
48
|
+
|
|
49
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
50
|
+
|
|
51
|
+
DESCRIPTOR._options = None
|
|
52
|
+
DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\tNodeProtoP\001ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/node_def_go_proto\370\001\001'
|
|
53
|
+
_NODEDEF_ATTRENTRY._options = None
|
|
54
|
+
_NODEDEF_ATTRENTRY._serialized_options = b'8\001'
|
|
55
|
+
_NODEDEF._serialized_start=142
|
|
56
|
+
_NODEDEF._serialized_end=536
|
|
57
|
+
_NODEDEF_ATTRENTRY._serialized_start=386
|
|
58
|
+
_NODEDEF_ATTRENTRY._serialized_end=453
|
|
59
|
+
_NODEDEF_EXPERIMENTALDEBUGINFO._serialized_start=455
|
|
60
|
+
_NODEDEF_EXPERIMENTALDEBUGINFO._serialized_end=536
|
|
61
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/op_def.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 attr_value_pb2 as tensorbored_dot_compat_dot_proto_dot_attr__value__pb2
|
|
16
|
+
from tensorbored.compat.proto import full_type_pb2 as tensorbored_dot_compat_dot_proto_dot_full__type__pb2
|
|
17
|
+
from tensorbored.compat.proto import resource_handle_pb2 as tensorbored_dot_compat_dot_proto_dot_resource__handle__pb2
|
|
18
|
+
from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorbored/compat/proto/op_def.proto\x12\x0btensorbored\x1a)tensorbored/compat/proto/attr_value.proto\x1a(tensorbored/compat/proto/full_type.proto\x1a.tensorbored/compat/proto/resource_handle.proto\x1a$tensorbored/compat/proto/types.proto\"\xfc\x06\n\x05OpDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\tinput_arg\x18\x02 \x03(\x0b\x32\x19.tensorbored.OpDef.ArgDef\x12-\n\noutput_arg\x18\x03 \x03(\x0b\x32\x19.tensorbored.OpDef.ArgDef\x12\x16\n\x0e\x63ontrol_output\x18\x14 \x03(\t\x12(\n\x04\x61ttr\x18\x04 \x03(\x0b\x32\x1a.tensorbored.OpDef.AttrDef\x12/\n\x0b\x64\x65precation\x18\x08 \x01(\x0b\x32\x1a.tensorbored.OpDeprecation\x12\x0f\n\x07summary\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x16\n\x0eis_commutative\x18\x12 \x01(\x08\x12\x14\n\x0cis_aggregate\x18\x10 \x01(\x08\x12\x13\n\x0bis_stateful\x18\x11 \x01(\x08\x12\"\n\x1a\x61llows_uninitialized_input\x18\x13 \x01(\x08\x12$\n\x1cis_distributed_communication\x18\x15 \x01(\x08\x1a\x9f\x02\n\x06\x41rgDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12#\n\x04type\x18\x03 \x01(\x0e\x32\x15.tensorbored.DataType\x12\x11\n\ttype_attr\x18\x04 \x01(\t\x12\x13\n\x0bnumber_attr\x18\x05 \x01(\t\x12\x16\n\x0etype_list_attr\x18\x06 \x01(\t\x12\x43\n\x0bhandle_data\x18\x07 \x03(\x0b\x32..tensorbored.ResourceHandleProto.DtypeAndShape\x12\x0e\n\x06is_ref\x18\x10 \x01(\x08\x12\x38\n\x16\x65xperimental_full_type\x18\x11 \x01(\x0b\x32\x18.tensorbored.FullTypeDef\x1a\xbf\x01\n\x07\x41ttrDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12-\n\rdefault_value\x18\x03 \x01(\x0b\x32\x16.tensorbored.AttrValue\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x13\n\x0bhas_minimum\x18\x05 \x01(\x08\x12\x0f\n\x07minimum\x18\x06 \x01(\x03\x12.\n\x0e\x61llowed_values\x18\x07 \x01(\x0b\x32\x16.tensorbored.AttrValue\"5\n\rOpDeprecation\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x13\n\x0b\x65xplanation\x18\x02 \x01(\t\"(\n\x06OpList\x12\x1e\n\x02op\x18\x01 \x03(\x0b\x32\x12.tensorbored.OpDefB{\n\x18org.tensorflow.frameworkB\x0bOpDefProtosP\x01ZMgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/op_def_go_proto\xf8\x01\x01\x62\x06proto3')
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
_OPDEF = DESCRIPTOR.message_types_by_name['OpDef']
|
|
26
|
+
_OPDEF_ARGDEF = _OPDEF.nested_types_by_name['ArgDef']
|
|
27
|
+
_OPDEF_ATTRDEF = _OPDEF.nested_types_by_name['AttrDef']
|
|
28
|
+
_OPDEPRECATION = DESCRIPTOR.message_types_by_name['OpDeprecation']
|
|
29
|
+
_OPLIST = DESCRIPTOR.message_types_by_name['OpList']
|
|
30
|
+
OpDef = _reflection.GeneratedProtocolMessageType('OpDef', (_message.Message,), {
|
|
31
|
+
|
|
32
|
+
'ArgDef' : _reflection.GeneratedProtocolMessageType('ArgDef', (_message.Message,), {
|
|
33
|
+
'DESCRIPTOR' : _OPDEF_ARGDEF,
|
|
34
|
+
'__module__' : 'tensorbored.compat.proto.op_def_pb2'
|
|
35
|
+
# @@protoc_insertion_point(class_scope:tensorbored.OpDef.ArgDef)
|
|
36
|
+
})
|
|
37
|
+
,
|
|
38
|
+
|
|
39
|
+
'AttrDef' : _reflection.GeneratedProtocolMessageType('AttrDef', (_message.Message,), {
|
|
40
|
+
'DESCRIPTOR' : _OPDEF_ATTRDEF,
|
|
41
|
+
'__module__' : 'tensorbored.compat.proto.op_def_pb2'
|
|
42
|
+
# @@protoc_insertion_point(class_scope:tensorbored.OpDef.AttrDef)
|
|
43
|
+
})
|
|
44
|
+
,
|
|
45
|
+
'DESCRIPTOR' : _OPDEF,
|
|
46
|
+
'__module__' : 'tensorbored.compat.proto.op_def_pb2'
|
|
47
|
+
# @@protoc_insertion_point(class_scope:tensorbored.OpDef)
|
|
48
|
+
})
|
|
49
|
+
_sym_db.RegisterMessage(OpDef)
|
|
50
|
+
_sym_db.RegisterMessage(OpDef.ArgDef)
|
|
51
|
+
_sym_db.RegisterMessage(OpDef.AttrDef)
|
|
52
|
+
|
|
53
|
+
OpDeprecation = _reflection.GeneratedProtocolMessageType('OpDeprecation', (_message.Message,), {
|
|
54
|
+
'DESCRIPTOR' : _OPDEPRECATION,
|
|
55
|
+
'__module__' : 'tensorbored.compat.proto.op_def_pb2'
|
|
56
|
+
# @@protoc_insertion_point(class_scope:tensorbored.OpDeprecation)
|
|
57
|
+
})
|
|
58
|
+
_sym_db.RegisterMessage(OpDeprecation)
|
|
59
|
+
|
|
60
|
+
OpList = _reflection.GeneratedProtocolMessageType('OpList', (_message.Message,), {
|
|
61
|
+
'DESCRIPTOR' : _OPLIST,
|
|
62
|
+
'__module__' : 'tensorbored.compat.proto.op_def_pb2'
|
|
63
|
+
# @@protoc_insertion_point(class_scope:tensorbored.OpList)
|
|
64
|
+
})
|
|
65
|
+
_sym_db.RegisterMessage(OpList)
|
|
66
|
+
|
|
67
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
68
|
+
|
|
69
|
+
DESCRIPTOR._options = None
|
|
70
|
+
DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\013OpDefProtosP\001ZMgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/op_def_go_proto\370\001\001'
|
|
71
|
+
_OPDEF._serialized_start=226
|
|
72
|
+
_OPDEF._serialized_end=1118
|
|
73
|
+
_OPDEF_ARGDEF._serialized_start=637
|
|
74
|
+
_OPDEF_ARGDEF._serialized_end=924
|
|
75
|
+
_OPDEF_ATTRDEF._serialized_start=927
|
|
76
|
+
_OPDEF_ATTRDEF._serialized_end=1118
|
|
77
|
+
_OPDEPRECATION._serialized_start=1120
|
|
78
|
+
_OPDEPRECATION._serialized_end=1173
|
|
79
|
+
_OPLIST._serialized_start=1175
|
|
80
|
+
_OPLIST._serialized_end=1215
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/resource_handle.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_shape_pb2 as tensorbored_dot_compat_dot_proto_dot_tensor__shape__pb2
|
|
16
|
+
from tensorbored.compat.proto import types_pb2 as tensorbored_dot_compat_dot_proto_dot_types__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.tensorbored/compat/proto/resource_handle.proto\x12\x0btensorbored\x1a+tensorbored/compat/proto/tensor_shape.proto\x1a$tensorbored/compat/proto/types.proto\"\xa8\x02\n\x13ResourceHandleProto\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x11\n\thash_code\x18\x04 \x01(\x04\x12\x17\n\x0fmaybe_type_name\x18\x05 \x01(\t\x12I\n\x11\x64types_and_shapes\x18\x06 \x03(\x0b\x32..tensorbored.ResourceHandleProto.DtypeAndShape\x1a\x63\n\rDtypeAndShape\x12$\n\x05\x64type\x18\x01 \x01(\x0e\x32\x15.tensorbored.DataType\x12,\n\x05shape\x18\x02 \x01(\x0b\x32\x1d.tensorbored.TensorShapeProtoJ\x04\x08\x07\x10\x08\x42\x87\x01\n\x18org.tensorflow.frameworkB\x0eResourceHandleP\x01ZVgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/resource_handle_go_proto\xf8\x01\x01\x62\x06proto3')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_RESOURCEHANDLEPROTO = DESCRIPTOR.message_types_by_name['ResourceHandleProto']
|
|
24
|
+
_RESOURCEHANDLEPROTO_DTYPEANDSHAPE = _RESOURCEHANDLEPROTO.nested_types_by_name['DtypeAndShape']
|
|
25
|
+
ResourceHandleProto = _reflection.GeneratedProtocolMessageType('ResourceHandleProto', (_message.Message,), {
|
|
26
|
+
|
|
27
|
+
'DtypeAndShape' : _reflection.GeneratedProtocolMessageType('DtypeAndShape', (_message.Message,), {
|
|
28
|
+
'DESCRIPTOR' : _RESOURCEHANDLEPROTO_DTYPEANDSHAPE,
|
|
29
|
+
'__module__' : 'tensorbored.compat.proto.resource_handle_pb2'
|
|
30
|
+
# @@protoc_insertion_point(class_scope:tensorbored.ResourceHandleProto.DtypeAndShape)
|
|
31
|
+
})
|
|
32
|
+
,
|
|
33
|
+
'DESCRIPTOR' : _RESOURCEHANDLEPROTO,
|
|
34
|
+
'__module__' : 'tensorbored.compat.proto.resource_handle_pb2'
|
|
35
|
+
# @@protoc_insertion_point(class_scope:tensorbored.ResourceHandleProto)
|
|
36
|
+
})
|
|
37
|
+
_sym_db.RegisterMessage(ResourceHandleProto)
|
|
38
|
+
_sym_db.RegisterMessage(ResourceHandleProto.DtypeAndShape)
|
|
39
|
+
|
|
40
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
41
|
+
|
|
42
|
+
DESCRIPTOR._options = None
|
|
43
|
+
DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\016ResourceHandleP\001ZVgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/resource_handle_go_proto\370\001\001'
|
|
44
|
+
_RESOURCEHANDLEPROTO._serialized_start=147
|
|
45
|
+
_RESOURCEHANDLEPROTO._serialized_end=443
|
|
46
|
+
_RESOURCEHANDLEPROTO_DTYPEANDSHAPE._serialized_start=338
|
|
47
|
+
_RESOURCEHANDLEPROTO_DTYPEANDSHAPE._serialized_end=437
|
|
48
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/rewriter_config.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 attr_value_pb2 as tensorbored_dot_compat_dot_proto_dot_attr__value__pb2
|
|
16
|
+
from tensorbored.compat.proto import verifier_config_pb2 as tensorbored_dot_compat_dot_proto_dot_verifier__config__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.tensorbored/compat/proto/rewriter_config.proto\x12\x0btensorbored\x1a)tensorbored/compat/proto/attr_value.proto\x1a.tensorbored/compat/proto/verifier_config.proto\";\n\x13\x41utoParallelOptions\x12\x0e\n\x06\x65nable\x18\x01 \x01(\x08\x12\x14\n\x0cnum_replicas\x18\x02 \x01(\x05\"+\n\x16ScopedAllocatorOptions\x12\x11\n\tenable_op\x18\x01 \x03(\t\"\xb2\x16\n\x0eRewriterConfig\x12\x44\n\x15\x63pu_layout_conversion\x18\x32 \x01(\x0e\x32%.tensorbored.RewriterConfig.CpuLayout\x12<\n\x10layout_optimizer\x18\x01 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12<\n\x10\x63onstant_folding\x18\x03 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12>\n\x12shape_optimization\x18\r \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x35\n\tremapping\x18\x0e \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12G\n\x1b\x63ommon_subgraph_elimination\x18\x18 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x43\n\x17\x61rithmetic_optimization\x18\x07 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x43\n\x17\x64\x65pendency_optimization\x18\x08 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12=\n\x11loop_optimization\x18\t \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x41\n\x15\x66unction_optimization\x18\n \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12:\n\x0e\x64\x65\x62ug_stripper\x18\x0b \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x1d\n\x15\x64isable_model_pruning\x18\x02 \x01(\x08\x12I\n\x1dscoped_allocator_optimization\x18\x0f \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x44\n\x18pin_to_host_optimization\x18\x12 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x43\n\x17implementation_selector\x18\x16 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12@\n\x14\x61uto_mixed_precision\x18\x17 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x44\n\x18\x61uto_mixed_precision_mkl\x18\x19 \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12P\n$auto_mixed_precision_onednn_bfloat16\x18\x1f \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x44\n\x18\x61uto_mixed_precision_cpu\x18\x1d \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12\x1e\n\x16\x64isable_meta_optimizer\x18\x13 \x01(\x08\x12\x1d\n\x15\x64isable_tfg_optimizer\x18 \x01(\x08\x12\x41\n\x15use_plugin_optimizers\x18\x1c \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12P\n$experimental_conditional_code_motion\x18\x1e \x01(\x0e\x32\".tensorbored.RewriterConfig.Toggle\x12P\n\x19meta_optimizer_iterations\x18\x0c \x01(\x0e\x32-.tensorbored.RewriterConfig.NumIterationsType\x12\x17\n\x0fmin_graph_nodes\x18\x11 \x01(\x05\x12;\n3experimental_disable_compressed_tensor_optimization\x18\x1a \x01(\x08\x12;\n3experimental_disable_folding_quantization_emulation\x18\x1b \x01(\x08\x12\x43\n\x13memory_optimization\x18\x04 \x01(\x0e\x32&.tensorbored.RewriterConfig.MemOptType\x12/\n\'memory_optimizer_target_node_name_scope\x18\x06 \x01(\t\x12!\n\x19meta_optimizer_timeout_ms\x18\x14 \x01(\x03\x12\x37\n\rauto_parallel\x18\x05 \x01(\x0b\x32 .tensorbored.AutoParallelOptions\x12 \n\x18\x66\x61il_on_optimizer_errors\x18\x15 \x01(\x08\x12\x42\n\x15scoped_allocator_opts\x18\x10 \x01(\x0b\x32#.tensorbored.ScopedAllocatorOptions\x12\x12\n\noptimizers\x18\x64 \x03(\t\x12L\n\x11\x63ustom_optimizers\x18\xc8\x01 \x03(\x0b\x32\x30.tensorbored.RewriterConfig.CustomGraphOptimizer\x12\x45\n\x1finter_optimizer_verifier_config\x18\xac\x02 \x01(\x0b\x32\x1b.tensorbored.VerifierConfig\x12G\n!post_optimization_verifier_config\x18\xad\x02 \x01(\x0b\x32\x1b.tensorbored.VerifierConfig\x1a\xcc\x01\n\x14\x43ustomGraphOptimizer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Y\n\rparameter_map\x18\x02 \x03(\x0b\x32\x42.tensorbored.RewriterConfig.CustomGraphOptimizer.ParameterMapEntry\x1aK\n\x11ParameterMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorbored.AttrValue:\x02\x38\x01\"d\n\x06Toggle\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x06\n\x02ON\x10\x01\x12\x07\n\x03OFF\x10\x02\x12\x0e\n\nAGGRESSIVE\x10\x03\x12\x15\n\x11\x45XPERIMENTAL_MLIR\x10\x04\x12\x15\n\x11\x45XPERIMENTAL_BOTH\x10\x05\"I\n\tCpuLayout\x12\x18\n\x14NO_CONVERSION_ON_CPU\x10\x00\x12\x10\n\x0cNCHW_TO_NHWC\x10\x01\x12\x10\n\x0cNHWC_TO_NCHW\x10\x02\"<\n\x11NumIterationsType\x12\x15\n\x11\x44\x45\x46\x41ULT_NUM_ITERS\x10\x00\x12\x07\n\x03ONE\x10\x01\x12\x07\n\x03TWO\x10\x02\"\x9f\x01\n\nMemOptType\x12\x13\n\x0f\x44\x45\x46\x41ULT_MEM_OPT\x10\x00\x12\x0e\n\nNO_MEM_OPT\x10\x01\x12\n\n\x06MANUAL\x10\x02\x12\x17\n\x13SWAPPING_HEURISTICS\x10\x04\x12\x1c\n\x18RECOMPUTATION_HEURISTICS\x10\x05\x12\x19\n\x15SCHEDULING_HEURISTICS\x10\x06\x12\x0e\n\nHEURISTICS\x10\x03\x42\x8c\x01\n\x18org.tensorflow.frameworkB\x14RewriterConfigProtosP\x01ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\xf8\x01\x01\x62\x06proto3')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
_AUTOPARALLELOPTIONS = DESCRIPTOR.message_types_by_name['AutoParallelOptions']
|
|
24
|
+
_SCOPEDALLOCATOROPTIONS = DESCRIPTOR.message_types_by_name['ScopedAllocatorOptions']
|
|
25
|
+
_REWRITERCONFIG = DESCRIPTOR.message_types_by_name['RewriterConfig']
|
|
26
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER = _REWRITERCONFIG.nested_types_by_name['CustomGraphOptimizer']
|
|
27
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY = _REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER.nested_types_by_name['ParameterMapEntry']
|
|
28
|
+
_REWRITERCONFIG_TOGGLE = _REWRITERCONFIG.enum_types_by_name['Toggle']
|
|
29
|
+
_REWRITERCONFIG_CPULAYOUT = _REWRITERCONFIG.enum_types_by_name['CpuLayout']
|
|
30
|
+
_REWRITERCONFIG_NUMITERATIONSTYPE = _REWRITERCONFIG.enum_types_by_name['NumIterationsType']
|
|
31
|
+
_REWRITERCONFIG_MEMOPTTYPE = _REWRITERCONFIG.enum_types_by_name['MemOptType']
|
|
32
|
+
AutoParallelOptions = _reflection.GeneratedProtocolMessageType('AutoParallelOptions', (_message.Message,), {
|
|
33
|
+
'DESCRIPTOR' : _AUTOPARALLELOPTIONS,
|
|
34
|
+
'__module__' : 'tensorbored.compat.proto.rewriter_config_pb2'
|
|
35
|
+
# @@protoc_insertion_point(class_scope:tensorbored.AutoParallelOptions)
|
|
36
|
+
})
|
|
37
|
+
_sym_db.RegisterMessage(AutoParallelOptions)
|
|
38
|
+
|
|
39
|
+
ScopedAllocatorOptions = _reflection.GeneratedProtocolMessageType('ScopedAllocatorOptions', (_message.Message,), {
|
|
40
|
+
'DESCRIPTOR' : _SCOPEDALLOCATOROPTIONS,
|
|
41
|
+
'__module__' : 'tensorbored.compat.proto.rewriter_config_pb2'
|
|
42
|
+
# @@protoc_insertion_point(class_scope:tensorbored.ScopedAllocatorOptions)
|
|
43
|
+
})
|
|
44
|
+
_sym_db.RegisterMessage(ScopedAllocatorOptions)
|
|
45
|
+
|
|
46
|
+
RewriterConfig = _reflection.GeneratedProtocolMessageType('RewriterConfig', (_message.Message,), {
|
|
47
|
+
|
|
48
|
+
'CustomGraphOptimizer' : _reflection.GeneratedProtocolMessageType('CustomGraphOptimizer', (_message.Message,), {
|
|
49
|
+
|
|
50
|
+
'ParameterMapEntry' : _reflection.GeneratedProtocolMessageType('ParameterMapEntry', (_message.Message,), {
|
|
51
|
+
'DESCRIPTOR' : _REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY,
|
|
52
|
+
'__module__' : 'tensorbored.compat.proto.rewriter_config_pb2'
|
|
53
|
+
# @@protoc_insertion_point(class_scope:tensorbored.RewriterConfig.CustomGraphOptimizer.ParameterMapEntry)
|
|
54
|
+
})
|
|
55
|
+
,
|
|
56
|
+
'DESCRIPTOR' : _REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER,
|
|
57
|
+
'__module__' : 'tensorbored.compat.proto.rewriter_config_pb2'
|
|
58
|
+
# @@protoc_insertion_point(class_scope:tensorbored.RewriterConfig.CustomGraphOptimizer)
|
|
59
|
+
})
|
|
60
|
+
,
|
|
61
|
+
'DESCRIPTOR' : _REWRITERCONFIG,
|
|
62
|
+
'__module__' : 'tensorbored.compat.proto.rewriter_config_pb2'
|
|
63
|
+
# @@protoc_insertion_point(class_scope:tensorbored.RewriterConfig)
|
|
64
|
+
})
|
|
65
|
+
_sym_db.RegisterMessage(RewriterConfig)
|
|
66
|
+
_sym_db.RegisterMessage(RewriterConfig.CustomGraphOptimizer)
|
|
67
|
+
_sym_db.RegisterMessage(RewriterConfig.CustomGraphOptimizer.ParameterMapEntry)
|
|
68
|
+
|
|
69
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
70
|
+
|
|
71
|
+
DESCRIPTOR._options = None
|
|
72
|
+
DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\024RewriterConfigProtosP\001ZUgithub.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto\370\001\001'
|
|
73
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY._options = None
|
|
74
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY._serialized_options = b'8\001'
|
|
75
|
+
_AUTOPARALLELOPTIONS._serialized_start=154
|
|
76
|
+
_AUTOPARALLELOPTIONS._serialized_end=213
|
|
77
|
+
_SCOPEDALLOCATOROPTIONS._serialized_start=215
|
|
78
|
+
_SCOPEDALLOCATOROPTIONS._serialized_end=258
|
|
79
|
+
_REWRITERCONFIG._serialized_start=261
|
|
80
|
+
_REWRITERCONFIG._serialized_end=3127
|
|
81
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER._serialized_start=2522
|
|
82
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER._serialized_end=2726
|
|
83
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY._serialized_start=2651
|
|
84
|
+
_REWRITERCONFIG_CUSTOMGRAPHOPTIMIZER_PARAMETERMAPENTRY._serialized_end=2726
|
|
85
|
+
_REWRITERCONFIG_TOGGLE._serialized_start=2728
|
|
86
|
+
_REWRITERCONFIG_TOGGLE._serialized_end=2828
|
|
87
|
+
_REWRITERCONFIG_CPULAYOUT._serialized_start=2830
|
|
88
|
+
_REWRITERCONFIG_CPULAYOUT._serialized_end=2903
|
|
89
|
+
_REWRITERCONFIG_NUMITERATIONSTYPE._serialized_start=2905
|
|
90
|
+
_REWRITERCONFIG_NUMITERATIONSTYPE._serialized_end=2965
|
|
91
|
+
_REWRITERCONFIG_MEMOPTTYPE._serialized_start=2968
|
|
92
|
+
_REWRITERCONFIG_MEMOPTTYPE._serialized_end=3127
|
|
93
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: tensorbored/compat/proto/rpc_options.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/rpc_options.proto\x12\x0btensorbored\"\xd5\x01\n\nRPCOptions\x12$\n\x1cuse_rpc_for_inprocess_master\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ompression_algorithm\x18\x02 \x01(\t\x12\x19\n\x11\x63ompression_level\x18\x03 \x01(\x05\x12\x1a\n\x12\x63\x61\x63he_rpc_response\x18\x04 \x01(\x08\x12*\n\"disable_session_connection_sharing\x18\x05 \x01(\x08\x12\x1f\n\x17num_channels_per_target\x18\x06 \x01(\x05\x42@Z>github.com/google/tsl/tsl/go/protobuf/for_core_protos_go_protob\x06proto3')
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
_RPCOPTIONS = DESCRIPTOR.message_types_by_name['RPCOptions']
|
|
22
|
+
RPCOptions = _reflection.GeneratedProtocolMessageType('RPCOptions', (_message.Message,), {
|
|
23
|
+
'DESCRIPTOR' : _RPCOPTIONS,
|
|
24
|
+
'__module__' : 'tensorbored.compat.proto.rpc_options_pb2'
|
|
25
|
+
# @@protoc_insertion_point(class_scope:tensorbored.RPCOptions)
|
|
26
|
+
})
|
|
27
|
+
_sym_db.RegisterMessage(RPCOptions)
|
|
28
|
+
|
|
29
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR._options = None
|
|
32
|
+
DESCRIPTOR._serialized_options = b'Z>github.com/google/tsl/tsl/go/protobuf/for_core_protos_go_proto'
|
|
33
|
+
_RPCOPTIONS._serialized_start=60
|
|
34
|
+
_RPCOPTIONS._serialized_end=273
|
|
35
|
+
# @@protoc_insertion_point(module_scope)
|