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,374 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from tensorbored.data.proto import data_provider_pb2 as tensorbored_dot_data_dot_proto_dot_data__provider__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class TensorBoardDataProviderStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.GetExperiment = channel.unary_unary(
|
|
18
|
+
'/tensorbored.data.TensorBoardDataProvider/GetExperiment',
|
|
19
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentRequest.SerializeToString,
|
|
20
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.ListPlugins = channel.unary_unary(
|
|
23
|
+
'/tensorbored.data.TensorBoardDataProvider/ListPlugins',
|
|
24
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsRequest.SerializeToString,
|
|
25
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.ListRuns = channel.unary_unary(
|
|
28
|
+
'/tensorbored.data.TensorBoardDataProvider/ListRuns',
|
|
29
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsRequest.SerializeToString,
|
|
30
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.ListScalars = channel.unary_unary(
|
|
33
|
+
'/tensorbored.data.TensorBoardDataProvider/ListScalars',
|
|
34
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.ReadScalars = channel.unary_unary(
|
|
38
|
+
'/tensorbored.data.TensorBoardDataProvider/ReadScalars',
|
|
39
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsRequest.SerializeToString,
|
|
40
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.ListTensors = channel.unary_unary(
|
|
43
|
+
'/tensorbored.data.TensorBoardDataProvider/ListTensors',
|
|
44
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsRequest.SerializeToString,
|
|
45
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsResponse.FromString,
|
|
46
|
+
)
|
|
47
|
+
self.ReadTensors = channel.unary_unary(
|
|
48
|
+
'/tensorbored.data.TensorBoardDataProvider/ReadTensors',
|
|
49
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsRequest.SerializeToString,
|
|
50
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsResponse.FromString,
|
|
51
|
+
)
|
|
52
|
+
self.ListBlobSequences = channel.unary_unary(
|
|
53
|
+
'/tensorbored.data.TensorBoardDataProvider/ListBlobSequences',
|
|
54
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesRequest.SerializeToString,
|
|
55
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesResponse.FromString,
|
|
56
|
+
)
|
|
57
|
+
self.ReadBlobSequences = channel.unary_unary(
|
|
58
|
+
'/tensorbored.data.TensorBoardDataProvider/ReadBlobSequences',
|
|
59
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesRequest.SerializeToString,
|
|
60
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesResponse.FromString,
|
|
61
|
+
)
|
|
62
|
+
self.ReadBlob = channel.unary_stream(
|
|
63
|
+
'/tensorbored.data.TensorBoardDataProvider/ReadBlob',
|
|
64
|
+
request_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobRequest.SerializeToString,
|
|
65
|
+
response_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobResponse.FromString,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class TensorBoardDataProviderServicer(object):
|
|
70
|
+
"""Missing associated documentation comment in .proto file."""
|
|
71
|
+
|
|
72
|
+
def GetExperiment(self, request, context):
|
|
73
|
+
"""Get metadata about an experiment.
|
|
74
|
+
"""
|
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
|
+
context.set_details('Method not implemented!')
|
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
|
78
|
+
|
|
79
|
+
def ListPlugins(self, request, context):
|
|
80
|
+
"""List plugins that have data for an experiment.
|
|
81
|
+
"""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
86
|
+
def ListRuns(self, request, context):
|
|
87
|
+
"""List runs within an experiment.
|
|
88
|
+
"""
|
|
89
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
90
|
+
context.set_details('Method not implemented!')
|
|
91
|
+
raise NotImplementedError('Method not implemented!')
|
|
92
|
+
|
|
93
|
+
def ListScalars(self, request, context):
|
|
94
|
+
"""List metadata about scalar time series.
|
|
95
|
+
"""
|
|
96
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
97
|
+
context.set_details('Method not implemented!')
|
|
98
|
+
raise NotImplementedError('Method not implemented!')
|
|
99
|
+
|
|
100
|
+
def ReadScalars(self, request, context):
|
|
101
|
+
"""Read data from scalar time series.
|
|
102
|
+
"""
|
|
103
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
104
|
+
context.set_details('Method not implemented!')
|
|
105
|
+
raise NotImplementedError('Method not implemented!')
|
|
106
|
+
|
|
107
|
+
def ListTensors(self, request, context):
|
|
108
|
+
"""List metadata about tensor time series.
|
|
109
|
+
"""
|
|
110
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
|
+
context.set_details('Method not implemented!')
|
|
112
|
+
raise NotImplementedError('Method not implemented!')
|
|
113
|
+
|
|
114
|
+
def ReadTensors(self, request, context):
|
|
115
|
+
"""Read data from tensor time series.
|
|
116
|
+
"""
|
|
117
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
+
context.set_details('Method not implemented!')
|
|
119
|
+
raise NotImplementedError('Method not implemented!')
|
|
120
|
+
|
|
121
|
+
def ListBlobSequences(self, request, context):
|
|
122
|
+
"""List metadata about blob sequence time series.
|
|
123
|
+
"""
|
|
124
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
|
+
context.set_details('Method not implemented!')
|
|
126
|
+
raise NotImplementedError('Method not implemented!')
|
|
127
|
+
|
|
128
|
+
def ReadBlobSequences(self, request, context):
|
|
129
|
+
"""Read blob references from blob sequence time series. See `ReadBlob` to read
|
|
130
|
+
the actual blob data.
|
|
131
|
+
"""
|
|
132
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
133
|
+
context.set_details('Method not implemented!')
|
|
134
|
+
raise NotImplementedError('Method not implemented!')
|
|
135
|
+
|
|
136
|
+
def ReadBlob(self, request, context):
|
|
137
|
+
"""Read data for a specific blob.
|
|
138
|
+
"""
|
|
139
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
140
|
+
context.set_details('Method not implemented!')
|
|
141
|
+
raise NotImplementedError('Method not implemented!')
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def add_TensorBoardDataProviderServicer_to_server(servicer, server):
|
|
145
|
+
rpc_method_handlers = {
|
|
146
|
+
'GetExperiment': grpc.unary_unary_rpc_method_handler(
|
|
147
|
+
servicer.GetExperiment,
|
|
148
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentRequest.FromString,
|
|
149
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentResponse.SerializeToString,
|
|
150
|
+
),
|
|
151
|
+
'ListPlugins': grpc.unary_unary_rpc_method_handler(
|
|
152
|
+
servicer.ListPlugins,
|
|
153
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsRequest.FromString,
|
|
154
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsResponse.SerializeToString,
|
|
155
|
+
),
|
|
156
|
+
'ListRuns': grpc.unary_unary_rpc_method_handler(
|
|
157
|
+
servicer.ListRuns,
|
|
158
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsRequest.FromString,
|
|
159
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsResponse.SerializeToString,
|
|
160
|
+
),
|
|
161
|
+
'ListScalars': grpc.unary_unary_rpc_method_handler(
|
|
162
|
+
servicer.ListScalars,
|
|
163
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsRequest.FromString,
|
|
164
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsResponse.SerializeToString,
|
|
165
|
+
),
|
|
166
|
+
'ReadScalars': grpc.unary_unary_rpc_method_handler(
|
|
167
|
+
servicer.ReadScalars,
|
|
168
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsRequest.FromString,
|
|
169
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsResponse.SerializeToString,
|
|
170
|
+
),
|
|
171
|
+
'ListTensors': grpc.unary_unary_rpc_method_handler(
|
|
172
|
+
servicer.ListTensors,
|
|
173
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsRequest.FromString,
|
|
174
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsResponse.SerializeToString,
|
|
175
|
+
),
|
|
176
|
+
'ReadTensors': grpc.unary_unary_rpc_method_handler(
|
|
177
|
+
servicer.ReadTensors,
|
|
178
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsRequest.FromString,
|
|
179
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsResponse.SerializeToString,
|
|
180
|
+
),
|
|
181
|
+
'ListBlobSequences': grpc.unary_unary_rpc_method_handler(
|
|
182
|
+
servicer.ListBlobSequences,
|
|
183
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesRequest.FromString,
|
|
184
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesResponse.SerializeToString,
|
|
185
|
+
),
|
|
186
|
+
'ReadBlobSequences': grpc.unary_unary_rpc_method_handler(
|
|
187
|
+
servicer.ReadBlobSequences,
|
|
188
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesRequest.FromString,
|
|
189
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesResponse.SerializeToString,
|
|
190
|
+
),
|
|
191
|
+
'ReadBlob': grpc.unary_stream_rpc_method_handler(
|
|
192
|
+
servicer.ReadBlob,
|
|
193
|
+
request_deserializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobRequest.FromString,
|
|
194
|
+
response_serializer=tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobResponse.SerializeToString,
|
|
195
|
+
),
|
|
196
|
+
}
|
|
197
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
198
|
+
'tensorbored.data.TensorBoardDataProvider', rpc_method_handlers)
|
|
199
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
# This class is part of an EXPERIMENTAL API.
|
|
203
|
+
class TensorBoardDataProvider(object):
|
|
204
|
+
"""Missing associated documentation comment in .proto file."""
|
|
205
|
+
|
|
206
|
+
@staticmethod
|
|
207
|
+
def GetExperiment(request,
|
|
208
|
+
target,
|
|
209
|
+
options=(),
|
|
210
|
+
channel_credentials=None,
|
|
211
|
+
call_credentials=None,
|
|
212
|
+
insecure=False,
|
|
213
|
+
compression=None,
|
|
214
|
+
wait_for_ready=None,
|
|
215
|
+
timeout=None,
|
|
216
|
+
metadata=None):
|
|
217
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/GetExperiment',
|
|
218
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentRequest.SerializeToString,
|
|
219
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.GetExperimentResponse.FromString,
|
|
220
|
+
options, channel_credentials,
|
|
221
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
222
|
+
|
|
223
|
+
@staticmethod
|
|
224
|
+
def ListPlugins(request,
|
|
225
|
+
target,
|
|
226
|
+
options=(),
|
|
227
|
+
channel_credentials=None,
|
|
228
|
+
call_credentials=None,
|
|
229
|
+
insecure=False,
|
|
230
|
+
compression=None,
|
|
231
|
+
wait_for_ready=None,
|
|
232
|
+
timeout=None,
|
|
233
|
+
metadata=None):
|
|
234
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ListPlugins',
|
|
235
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsRequest.SerializeToString,
|
|
236
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListPluginsResponse.FromString,
|
|
237
|
+
options, channel_credentials,
|
|
238
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
239
|
+
|
|
240
|
+
@staticmethod
|
|
241
|
+
def ListRuns(request,
|
|
242
|
+
target,
|
|
243
|
+
options=(),
|
|
244
|
+
channel_credentials=None,
|
|
245
|
+
call_credentials=None,
|
|
246
|
+
insecure=False,
|
|
247
|
+
compression=None,
|
|
248
|
+
wait_for_ready=None,
|
|
249
|
+
timeout=None,
|
|
250
|
+
metadata=None):
|
|
251
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ListRuns',
|
|
252
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsRequest.SerializeToString,
|
|
253
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListRunsResponse.FromString,
|
|
254
|
+
options, channel_credentials,
|
|
255
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
256
|
+
|
|
257
|
+
@staticmethod
|
|
258
|
+
def ListScalars(request,
|
|
259
|
+
target,
|
|
260
|
+
options=(),
|
|
261
|
+
channel_credentials=None,
|
|
262
|
+
call_credentials=None,
|
|
263
|
+
insecure=False,
|
|
264
|
+
compression=None,
|
|
265
|
+
wait_for_ready=None,
|
|
266
|
+
timeout=None,
|
|
267
|
+
metadata=None):
|
|
268
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ListScalars',
|
|
269
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsRequest.SerializeToString,
|
|
270
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListScalarsResponse.FromString,
|
|
271
|
+
options, channel_credentials,
|
|
272
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
273
|
+
|
|
274
|
+
@staticmethod
|
|
275
|
+
def ReadScalars(request,
|
|
276
|
+
target,
|
|
277
|
+
options=(),
|
|
278
|
+
channel_credentials=None,
|
|
279
|
+
call_credentials=None,
|
|
280
|
+
insecure=False,
|
|
281
|
+
compression=None,
|
|
282
|
+
wait_for_ready=None,
|
|
283
|
+
timeout=None,
|
|
284
|
+
metadata=None):
|
|
285
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ReadScalars',
|
|
286
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsRequest.SerializeToString,
|
|
287
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadScalarsResponse.FromString,
|
|
288
|
+
options, channel_credentials,
|
|
289
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
290
|
+
|
|
291
|
+
@staticmethod
|
|
292
|
+
def ListTensors(request,
|
|
293
|
+
target,
|
|
294
|
+
options=(),
|
|
295
|
+
channel_credentials=None,
|
|
296
|
+
call_credentials=None,
|
|
297
|
+
insecure=False,
|
|
298
|
+
compression=None,
|
|
299
|
+
wait_for_ready=None,
|
|
300
|
+
timeout=None,
|
|
301
|
+
metadata=None):
|
|
302
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ListTensors',
|
|
303
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsRequest.SerializeToString,
|
|
304
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListTensorsResponse.FromString,
|
|
305
|
+
options, channel_credentials,
|
|
306
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
307
|
+
|
|
308
|
+
@staticmethod
|
|
309
|
+
def ReadTensors(request,
|
|
310
|
+
target,
|
|
311
|
+
options=(),
|
|
312
|
+
channel_credentials=None,
|
|
313
|
+
call_credentials=None,
|
|
314
|
+
insecure=False,
|
|
315
|
+
compression=None,
|
|
316
|
+
wait_for_ready=None,
|
|
317
|
+
timeout=None,
|
|
318
|
+
metadata=None):
|
|
319
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ReadTensors',
|
|
320
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsRequest.SerializeToString,
|
|
321
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadTensorsResponse.FromString,
|
|
322
|
+
options, channel_credentials,
|
|
323
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
324
|
+
|
|
325
|
+
@staticmethod
|
|
326
|
+
def ListBlobSequences(request,
|
|
327
|
+
target,
|
|
328
|
+
options=(),
|
|
329
|
+
channel_credentials=None,
|
|
330
|
+
call_credentials=None,
|
|
331
|
+
insecure=False,
|
|
332
|
+
compression=None,
|
|
333
|
+
wait_for_ready=None,
|
|
334
|
+
timeout=None,
|
|
335
|
+
metadata=None):
|
|
336
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ListBlobSequences',
|
|
337
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesRequest.SerializeToString,
|
|
338
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ListBlobSequencesResponse.FromString,
|
|
339
|
+
options, channel_credentials,
|
|
340
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
341
|
+
|
|
342
|
+
@staticmethod
|
|
343
|
+
def ReadBlobSequences(request,
|
|
344
|
+
target,
|
|
345
|
+
options=(),
|
|
346
|
+
channel_credentials=None,
|
|
347
|
+
call_credentials=None,
|
|
348
|
+
insecure=False,
|
|
349
|
+
compression=None,
|
|
350
|
+
wait_for_ready=None,
|
|
351
|
+
timeout=None,
|
|
352
|
+
metadata=None):
|
|
353
|
+
return grpc.experimental.unary_unary(request, target, '/tensorbored.data.TensorBoardDataProvider/ReadBlobSequences',
|
|
354
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesRequest.SerializeToString,
|
|
355
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobSequencesResponse.FromString,
|
|
356
|
+
options, channel_credentials,
|
|
357
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
358
|
+
|
|
359
|
+
@staticmethod
|
|
360
|
+
def ReadBlob(request,
|
|
361
|
+
target,
|
|
362
|
+
options=(),
|
|
363
|
+
channel_credentials=None,
|
|
364
|
+
call_credentials=None,
|
|
365
|
+
insecure=False,
|
|
366
|
+
compression=None,
|
|
367
|
+
wait_for_ready=None,
|
|
368
|
+
timeout=None,
|
|
369
|
+
metadata=None):
|
|
370
|
+
return grpc.experimental.unary_stream(request, target, '/tensorbored.data.TensorBoardDataProvider/ReadBlob',
|
|
371
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobRequest.SerializeToString,
|
|
372
|
+
tensorbored_dot_data_dot_proto_dot_data__provider__pb2.ReadBlobResponse.FromString,
|
|
373
|
+
options, channel_credentials,
|
|
374
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|