Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorboard/compat/proto/function_pb2.py: 51%
74 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/function.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 attr_value_pb2 as tensorboard_dot_compat_dot_proto_dot_attr__value__pb2
16from tensorboard.compat.proto import node_def_pb2 as tensorboard_dot_compat_dot_proto_dot_node__def__pb2
17from tensorboard.compat.proto import op_def_pb2 as tensorboard_dot_compat_dot_proto_dot_op__def__pb2
20DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'tensorboard/compat/proto/function.proto\x12\x0btensorboard\x1a)tensorboard/compat/proto/attr_value.proto\x1a\'tensorboard/compat/proto/node_def.proto\x1a%tensorboard/compat/proto/op_def.proto\"\xab\x01\n\x12\x46unctionDefLibrary\x12*\n\x08\x66unction\x18\x01 \x03(\x0b\x32\x18.tensorboard.FunctionDef\x12*\n\x08gradient\x18\x02 \x03(\x0b\x32\x18.tensorboard.GradientDef\x12=\n\x14registered_gradients\x18\x03 \x03(\x0b\x32\x1f.tensorboard.RegisteredGradient\"\xcf\x06\n\x0b\x46unctionDef\x12%\n\tsignature\x18\x01 \x01(\x0b\x32\x12.tensorboard.OpDef\x12\x30\n\x04\x61ttr\x18\x05 \x03(\x0b\x32\".tensorboard.FunctionDef.AttrEntry\x12\x37\n\x08\x61rg_attr\x18\x07 \x03(\x0b\x32%.tensorboard.FunctionDef.ArgAttrEntry\x12Q\n\x16resource_arg_unique_id\x18\x08 \x03(\x0b\x32\x31.tensorboard.FunctionDef.ResourceArgUniqueIdEntry\x12&\n\x08node_def\x18\x03 \x03(\x0b\x32\x14.tensorboard.NodeDef\x12.\n\x03ret\x18\x04 \x03(\x0b\x32!.tensorboard.FunctionDef.RetEntry\x12=\n\x0b\x63ontrol_ret\x18\x06 \x03(\x0b\x32(.tensorboard.FunctionDef.ControlRetEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorboard.AttrValue:\x02\x38\x01\x1a\x8a\x01\n\x08\x41rgAttrs\x12\x39\n\x04\x61ttr\x18\x01 \x03(\x0b\x32+.tensorboard.FunctionDef.ArgAttrs.AttrEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorboard.AttrValue:\x02\x38\x01\x1aQ\n\x0c\x41rgAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.tensorboard.FunctionDef.ArgAttrs:\x02\x38\x01\x1a:\n\x18ResourceArgUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a*\n\x08RetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0f\x43ontrolRetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x02\x10\x03\";\n\x0bGradientDef\x12\x15\n\rfunction_name\x18\x01 \x01(\t\x12\x15\n\rgradient_func\x18\x02 \x01(\t\"G\n\x12RegisteredGradient\x12\x15\n\rgradient_func\x18\x01 \x01(\t\x12\x1a\n\x12registered_op_type\x18\x02 \x01(\tB\x80\x01\n\x18org.tensorflow.frameworkB\x0e\x46unctionProtosP\x01ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/function_go_proto\xf8\x01\x01\x62\x06proto3')
24_FUNCTIONDEFLIBRARY = DESCRIPTOR.message_types_by_name['FunctionDefLibrary']
25_FUNCTIONDEF = DESCRIPTOR.message_types_by_name['FunctionDef']
26_FUNCTIONDEF_ATTRENTRY = _FUNCTIONDEF.nested_types_by_name['AttrEntry']
27_FUNCTIONDEF_ARGATTRS = _FUNCTIONDEF.nested_types_by_name['ArgAttrs']
28_FUNCTIONDEF_ARGATTRS_ATTRENTRY = _FUNCTIONDEF_ARGATTRS.nested_types_by_name['AttrEntry']
29_FUNCTIONDEF_ARGATTRENTRY = _FUNCTIONDEF.nested_types_by_name['ArgAttrEntry']
30_FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY = _FUNCTIONDEF.nested_types_by_name['ResourceArgUniqueIdEntry']
31_FUNCTIONDEF_RETENTRY = _FUNCTIONDEF.nested_types_by_name['RetEntry']
32_FUNCTIONDEF_CONTROLRETENTRY = _FUNCTIONDEF.nested_types_by_name['ControlRetEntry']
33_GRADIENTDEF = DESCRIPTOR.message_types_by_name['GradientDef']
34_REGISTEREDGRADIENT = DESCRIPTOR.message_types_by_name['RegisteredGradient']
35FunctionDefLibrary = _reflection.GeneratedProtocolMessageType('FunctionDefLibrary', (_message.Message,), {
36 'DESCRIPTOR' : _FUNCTIONDEFLIBRARY,
37 '__module__' : 'tensorboard.compat.proto.function_pb2'
38 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDefLibrary)
39 })
40_sym_db.RegisterMessage(FunctionDefLibrary)
42FunctionDef = _reflection.GeneratedProtocolMessageType('FunctionDef', (_message.Message,), {
44 'AttrEntry' : _reflection.GeneratedProtocolMessageType('AttrEntry', (_message.Message,), {
45 'DESCRIPTOR' : _FUNCTIONDEF_ATTRENTRY,
46 '__module__' : 'tensorboard.compat.proto.function_pb2'
47 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.AttrEntry)
48 })
49 ,
51 'ArgAttrs' : _reflection.GeneratedProtocolMessageType('ArgAttrs', (_message.Message,), {
53 'AttrEntry' : _reflection.GeneratedProtocolMessageType('AttrEntry', (_message.Message,), {
54 'DESCRIPTOR' : _FUNCTIONDEF_ARGATTRS_ATTRENTRY,
55 '__module__' : 'tensorboard.compat.proto.function_pb2'
56 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.ArgAttrs.AttrEntry)
57 })
58 ,
59 'DESCRIPTOR' : _FUNCTIONDEF_ARGATTRS,
60 '__module__' : 'tensorboard.compat.proto.function_pb2'
61 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.ArgAttrs)
62 })
63 ,
65 'ArgAttrEntry' : _reflection.GeneratedProtocolMessageType('ArgAttrEntry', (_message.Message,), {
66 'DESCRIPTOR' : _FUNCTIONDEF_ARGATTRENTRY,
67 '__module__' : 'tensorboard.compat.proto.function_pb2'
68 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.ArgAttrEntry)
69 })
70 ,
72 'ResourceArgUniqueIdEntry' : _reflection.GeneratedProtocolMessageType('ResourceArgUniqueIdEntry', (_message.Message,), {
73 'DESCRIPTOR' : _FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY,
74 '__module__' : 'tensorboard.compat.proto.function_pb2'
75 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.ResourceArgUniqueIdEntry)
76 })
77 ,
79 'RetEntry' : _reflection.GeneratedProtocolMessageType('RetEntry', (_message.Message,), {
80 'DESCRIPTOR' : _FUNCTIONDEF_RETENTRY,
81 '__module__' : 'tensorboard.compat.proto.function_pb2'
82 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.RetEntry)
83 })
84 ,
86 'ControlRetEntry' : _reflection.GeneratedProtocolMessageType('ControlRetEntry', (_message.Message,), {
87 'DESCRIPTOR' : _FUNCTIONDEF_CONTROLRETENTRY,
88 '__module__' : 'tensorboard.compat.proto.function_pb2'
89 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef.ControlRetEntry)
90 })
91 ,
92 'DESCRIPTOR' : _FUNCTIONDEF,
93 '__module__' : 'tensorboard.compat.proto.function_pb2'
94 # @@protoc_insertion_point(class_scope:tensorboard.FunctionDef)
95 })
96_sym_db.RegisterMessage(FunctionDef)
97_sym_db.RegisterMessage(FunctionDef.AttrEntry)
98_sym_db.RegisterMessage(FunctionDef.ArgAttrs)
99_sym_db.RegisterMessage(FunctionDef.ArgAttrs.AttrEntry)
100_sym_db.RegisterMessage(FunctionDef.ArgAttrEntry)
101_sym_db.RegisterMessage(FunctionDef.ResourceArgUniqueIdEntry)
102_sym_db.RegisterMessage(FunctionDef.RetEntry)
103_sym_db.RegisterMessage(FunctionDef.ControlRetEntry)
105GradientDef = _reflection.GeneratedProtocolMessageType('GradientDef', (_message.Message,), {
106 'DESCRIPTOR' : _GRADIENTDEF,
107 '__module__' : 'tensorboard.compat.proto.function_pb2'
108 # @@protoc_insertion_point(class_scope:tensorboard.GradientDef)
109 })
110_sym_db.RegisterMessage(GradientDef)
112RegisteredGradient = _reflection.GeneratedProtocolMessageType('RegisteredGradient', (_message.Message,), {
113 'DESCRIPTOR' : _REGISTEREDGRADIENT,
114 '__module__' : 'tensorboard.compat.proto.function_pb2'
115 # @@protoc_insertion_point(class_scope:tensorboard.RegisteredGradient)
116 })
117_sym_db.RegisterMessage(RegisteredGradient)
119if _descriptor._USE_C_DESCRIPTORS == False:
121 DESCRIPTOR._options = None
122 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\016FunctionProtosP\001ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/function_go_proto\370\001\001'
123 _FUNCTIONDEF_ATTRENTRY._options = None
124 _FUNCTIONDEF_ATTRENTRY._serialized_options = b'8\001'
125 _FUNCTIONDEF_ARGATTRS_ATTRENTRY._options = None
126 _FUNCTIONDEF_ARGATTRS_ATTRENTRY._serialized_options = b'8\001'
127 _FUNCTIONDEF_ARGATTRENTRY._options = None
128 _FUNCTIONDEF_ARGATTRENTRY._serialized_options = b'8\001'
129 _FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY._options = None
130 _FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY._serialized_options = b'8\001'
131 _FUNCTIONDEF_RETENTRY._options = None
132 _FUNCTIONDEF_RETENTRY._serialized_options = b'8\001'
133 _FUNCTIONDEF_CONTROLRETENTRY._options = None
134 _FUNCTIONDEF_CONTROLRETENTRY._serialized_options = b'8\001'
135 _FUNCTIONDEFLIBRARY._serialized_start=180
136 _FUNCTIONDEFLIBRARY._serialized_end=351
137 _FUNCTIONDEF._serialized_start=354
138 _FUNCTIONDEF._serialized_end=1201
139 _FUNCTIONDEF_ATTRENTRY._serialized_start=749
140 _FUNCTIONDEF_ATTRENTRY._serialized_end=816
141 _FUNCTIONDEF_ARGATTRS._serialized_start=819
142 _FUNCTIONDEF_ARGATTRS._serialized_end=957
143 _FUNCTIONDEF_ARGATTRS_ATTRENTRY._serialized_start=749
144 _FUNCTIONDEF_ARGATTRS_ATTRENTRY._serialized_end=816
145 _FUNCTIONDEF_ARGATTRENTRY._serialized_start=959
146 _FUNCTIONDEF_ARGATTRENTRY._serialized_end=1040
147 _FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY._serialized_start=1042
148 _FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY._serialized_end=1100
149 _FUNCTIONDEF_RETENTRY._serialized_start=1102
150 _FUNCTIONDEF_RETENTRY._serialized_end=1144
151 _FUNCTIONDEF_CONTROLRETENTRY._serialized_start=1146
152 _FUNCTIONDEF_CONTROLRETENTRY._serialized_end=1195
153 _GRADIENTDEF._serialized_start=1203
154 _GRADIENTDEF._serialized_end=1262
155 _REGISTEREDGRADIENT._serialized_start=1264
156 _REGISTEREDGRADIENT._serialized_end=1335
157# @@protoc_insertion_point(module_scope)