Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorboard/compat/proto/step_stats_pb2.py: 57%
60 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
1# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: tensorboard/compat/proto/step_stats.proto
4"""Generated protocol buffer code."""
5from google.protobuf import descriptor as _descriptor
6from google.protobuf import descriptor_pool as _descriptor_pool
7from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
12_sym_db = _symbol_database.Default()
15from tensorboard.compat.proto import allocation_description_pb2 as tensorboard_dot_compat_dot_proto_dot_allocation__description__pb2
16from tensorboard.compat.proto import tensor_description_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__description__pb2
19DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)tensorboard/compat/proto/step_stats.proto\x12\x0btensorboard\x1a\x35tensorboard/compat/proto/allocation_description.proto\x1a\x31tensorboard/compat/proto/tensor_description.proto\"=\n\x10\x41llocationRecord\x12\x14\n\x0c\x61lloc_micros\x18\x01 \x01(\x03\x12\x13\n\x0b\x61lloc_bytes\x18\x02 \x01(\x03\"\xc5\x01\n\x13\x41llocatorMemoryUsed\x12\x16\n\x0e\x61llocator_name\x18\x01 \x01(\t\x12\x13\n\x0btotal_bytes\x18\x02 \x01(\x03\x12\x12\n\npeak_bytes\x18\x03 \x01(\x03\x12\x12\n\nlive_bytes\x18\x04 \x01(\x03\x12\x39\n\x12\x61llocation_records\x18\x06 \x03(\x0b\x32\x1d.tensorboard.AllocationRecord\x12\x1e\n\x16\x61llocator_bytes_in_use\x18\x05 \x01(\x03\"V\n\nNodeOutput\x12\x0c\n\x04slot\x18\x01 \x01(\x05\x12:\n\x12tensor_description\x18\x03 \x01(\x0b\x32\x1e.tensorboard.TensorDescription\"\xec\x01\n\x0bMemoryStats\x12\x18\n\x10temp_memory_size\x18\x01 \x01(\x03\x12\x1e\n\x16persistent_memory_size\x18\x03 \x01(\x03\x12#\n\x1bpersistent_tensor_alloc_ids\x18\x05 \x03(\x03\x12#\n\x17\x64\x65vice_temp_memory_size\x18\x02 \x01(\x03\x42\x02\x18\x01\x12)\n\x1d\x64\x65vice_persistent_memory_size\x18\x04 \x01(\x03\x42\x02\x18\x01\x12.\n\"device_persistent_tensor_alloc_ids\x18\x06 \x03(\x03\x42\x02\x18\x01\"\xa2\x04\n\rNodeExecStats\x12\x11\n\tnode_name\x18\x01 \x01(\t\x12\x18\n\x10\x61ll_start_micros\x18\x02 \x01(\x03\x12\x1b\n\x13op_start_rel_micros\x18\x03 \x01(\x03\x12\x19\n\x11op_end_rel_micros\x18\x04 \x01(\x03\x12\x1a\n\x12\x61ll_end_rel_micros\x18\x05 \x01(\x03\x12\x30\n\x06memory\x18\x06 \x03(\x0b\x32 .tensorboard.AllocatorMemoryUsed\x12\'\n\x06output\x18\x07 \x03(\x0b\x32\x17.tensorboard.NodeOutput\x12\x16\n\x0etimeline_label\x18\x08 \x01(\t\x12\x18\n\x10scheduled_micros\x18\t \x01(\x03\x12\x11\n\tthread_id\x18\n \x01(\r\x12=\n\x11referenced_tensor\x18\x0b \x03(\x0b\x32\".tensorboard.AllocationDescription\x12.\n\x0cmemory_stats\x18\x0c \x01(\x0b\x32\x18.tensorboard.MemoryStats\x12\x17\n\x0f\x61ll_start_nanos\x18\r \x01(\x03\x12\x1a\n\x12op_start_rel_nanos\x18\x0e \x01(\x03\x12\x18\n\x10op_end_rel_nanos\x18\x0f \x01(\x03\x12\x19\n\x11\x61ll_end_rel_nanos\x18\x10 \x01(\x03\x12\x17\n\x0fscheduled_nanos\x18\x11 \x01(\x03\"\xca\x01\n\x0f\x44\x65viceStepStats\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12.\n\nnode_stats\x18\x02 \x03(\x0b\x32\x1a.tensorboard.NodeExecStats\x12\x43\n\x0cthread_names\x18\x03 \x03(\x0b\x32-.tensorboard.DeviceStepStats.ThreadNamesEntry\x1a\x32\n\x10ThreadNamesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\tStepStats\x12/\n\tdev_stats\x18\x01 \x03(\x0b\x32\x1c.tensorboard.DeviceStepStatsB\x83\x01\n\x18org.tensorflow.frameworkB\x0fStepStatsProtosP\x01ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/step_stats_go_proto\xf8\x01\x01\x62\x06proto3')
23_ALLOCATIONRECORD = DESCRIPTOR.message_types_by_name['AllocationRecord']
24_ALLOCATORMEMORYUSED = DESCRIPTOR.message_types_by_name['AllocatorMemoryUsed']
25_NODEOUTPUT = DESCRIPTOR.message_types_by_name['NodeOutput']
26_MEMORYSTATS = DESCRIPTOR.message_types_by_name['MemoryStats']
27_NODEEXECSTATS = DESCRIPTOR.message_types_by_name['NodeExecStats']
28_DEVICESTEPSTATS = DESCRIPTOR.message_types_by_name['DeviceStepStats']
29_DEVICESTEPSTATS_THREADNAMESENTRY = _DEVICESTEPSTATS.nested_types_by_name['ThreadNamesEntry']
30_STEPSTATS = DESCRIPTOR.message_types_by_name['StepStats']
31AllocationRecord = _reflection.GeneratedProtocolMessageType('AllocationRecord', (_message.Message,), {
32 'DESCRIPTOR' : _ALLOCATIONRECORD,
33 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
34 # @@protoc_insertion_point(class_scope:tensorboard.AllocationRecord)
35 })
36_sym_db.RegisterMessage(AllocationRecord)
38AllocatorMemoryUsed = _reflection.GeneratedProtocolMessageType('AllocatorMemoryUsed', (_message.Message,), {
39 'DESCRIPTOR' : _ALLOCATORMEMORYUSED,
40 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
41 # @@protoc_insertion_point(class_scope:tensorboard.AllocatorMemoryUsed)
42 })
43_sym_db.RegisterMessage(AllocatorMemoryUsed)
45NodeOutput = _reflection.GeneratedProtocolMessageType('NodeOutput', (_message.Message,), {
46 'DESCRIPTOR' : _NODEOUTPUT,
47 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
48 # @@protoc_insertion_point(class_scope:tensorboard.NodeOutput)
49 })
50_sym_db.RegisterMessage(NodeOutput)
52MemoryStats = _reflection.GeneratedProtocolMessageType('MemoryStats', (_message.Message,), {
53 'DESCRIPTOR' : _MEMORYSTATS,
54 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
55 # @@protoc_insertion_point(class_scope:tensorboard.MemoryStats)
56 })
57_sym_db.RegisterMessage(MemoryStats)
59NodeExecStats = _reflection.GeneratedProtocolMessageType('NodeExecStats', (_message.Message,), {
60 'DESCRIPTOR' : _NODEEXECSTATS,
61 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
62 # @@protoc_insertion_point(class_scope:tensorboard.NodeExecStats)
63 })
64_sym_db.RegisterMessage(NodeExecStats)
66DeviceStepStats = _reflection.GeneratedProtocolMessageType('DeviceStepStats', (_message.Message,), {
68 'ThreadNamesEntry' : _reflection.GeneratedProtocolMessageType('ThreadNamesEntry', (_message.Message,), {
69 'DESCRIPTOR' : _DEVICESTEPSTATS_THREADNAMESENTRY,
70 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
71 # @@protoc_insertion_point(class_scope:tensorboard.DeviceStepStats.ThreadNamesEntry)
72 })
73 ,
74 'DESCRIPTOR' : _DEVICESTEPSTATS,
75 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
76 # @@protoc_insertion_point(class_scope:tensorboard.DeviceStepStats)
77 })
78_sym_db.RegisterMessage(DeviceStepStats)
79_sym_db.RegisterMessage(DeviceStepStats.ThreadNamesEntry)
81StepStats = _reflection.GeneratedProtocolMessageType('StepStats', (_message.Message,), {
82 'DESCRIPTOR' : _STEPSTATS,
83 '__module__' : 'tensorboard.compat.proto.step_stats_pb2'
84 # @@protoc_insertion_point(class_scope:tensorboard.StepStats)
85 })
86_sym_db.RegisterMessage(StepStats)
88if _descriptor._USE_C_DESCRIPTORS == False:
90 DESCRIPTOR._options = None
91 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017StepStatsProtosP\001ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/step_stats_go_proto\370\001\001'
92 _MEMORYSTATS.fields_by_name['device_temp_memory_size']._options = None
93 _MEMORYSTATS.fields_by_name['device_temp_memory_size']._serialized_options = b'\030\001'
94 _MEMORYSTATS.fields_by_name['device_persistent_memory_size']._options = None
95 _MEMORYSTATS.fields_by_name['device_persistent_memory_size']._serialized_options = b'\030\001'
96 _MEMORYSTATS.fields_by_name['device_persistent_tensor_alloc_ids']._options = None
97 _MEMORYSTATS.fields_by_name['device_persistent_tensor_alloc_ids']._serialized_options = b'\030\001'
98 _DEVICESTEPSTATS_THREADNAMESENTRY._options = None
99 _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_options = b'8\001'
100 _ALLOCATIONRECORD._serialized_start=164
101 _ALLOCATIONRECORD._serialized_end=225
102 _ALLOCATORMEMORYUSED._serialized_start=228
103 _ALLOCATORMEMORYUSED._serialized_end=425
104 _NODEOUTPUT._serialized_start=427
105 _NODEOUTPUT._serialized_end=513
106 _MEMORYSTATS._serialized_start=516
107 _MEMORYSTATS._serialized_end=752
108 _NODEEXECSTATS._serialized_start=755
109 _NODEEXECSTATS._serialized_end=1301
110 _DEVICESTEPSTATS._serialized_start=1304
111 _DEVICESTEPSTATS._serialized_end=1506
112 _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_start=1456
113 _DEVICESTEPSTATS_THREADNAMESENTRY._serialized_end=1506
114 _STEPSTATS._serialized_start=1508
115 _STEPSTATS._serialized_end=1568
116# @@protoc_insertion_point(module_scope)