|
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: oneflow/customized/utils/plugin_data.proto
-
- import sys
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import message as _message
- from google.protobuf import reflection as _reflection
- from google.protobuf import symbol_database as _symbol_database
- from google.protobuf import descriptor_pb2
- # @@protoc_insertion_point(imports)
-
- _sym_db = _symbol_database.Default()
-
-
- from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
-
-
- DESCRIPTOR = _descriptor.FileDescriptor(
- name='oneflow/customized/utils/plugin_data.proto',
- package='oneflow',
- syntax='proto2',
- serialized_pb=_b('\n*oneflow/customized/utils/plugin_data.proto\x12\x07oneflow\x1a\x1cgoogle/protobuf/struct.proto\"e\n\x11HParamsPluginData\x12\x0f\n\x07version\x18\x01 \x02(\x05\x12\x37\n\x12session_start_info\x18\x03 \x01(\x0b\x32\x19.oneflow.SessionStartInfoH\x00\x42\x06\n\x04\x64\x61ta\"\xc1\x02\n\x10SessionStartInfo\x12\x37\n\x07hparams\x18\x01 \x03(\x0b\x32&.oneflow.SessionStartInfo.HparamsEntry\x12\x12\n\ngroup_name\x18\x04 \x02(\t\x12\x17\n\x0fstart_time_secs\x18\x05 \x02(\x01\x12\x37\n\x07metrics\x18\x06 \x03(\x0b\x32&.oneflow.SessionStartInfo.MetricsEntry\x1a\x46\n\x0cHparamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x1a\x46\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01')
- ,
- dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
-
-
-
- _HPARAMSPLUGINDATA = _descriptor.Descriptor(
- name='HParamsPluginData',
- full_name='oneflow.HParamsPluginData',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='version', full_name='oneflow.HParamsPluginData.version', index=0,
- number=1, type=5, cpp_type=1, label=2,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='session_start_info', full_name='oneflow.HParamsPluginData.session_start_info', index=1,
- number=3, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name='data', full_name='oneflow.HParamsPluginData.data',
- index=0, containing_type=None, fields=[]),
- ],
- serialized_start=85,
- serialized_end=186,
- )
-
-
- _SESSIONSTARTINFO_HPARAMSENTRY = _descriptor.Descriptor(
- name='HparamsEntry',
- full_name='oneflow.SessionStartInfo.HparamsEntry',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='key', full_name='oneflow.SessionStartInfo.HparamsEntry.key', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='value', full_name='oneflow.SessionStartInfo.HparamsEntry.value', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=368,
- serialized_end=438,
- )
-
- _SESSIONSTARTINFO_METRICSENTRY = _descriptor.Descriptor(
- name='MetricsEntry',
- full_name='oneflow.SessionStartInfo.MetricsEntry',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='key', full_name='oneflow.SessionStartInfo.MetricsEntry.key', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='value', full_name='oneflow.SessionStartInfo.MetricsEntry.value', index=1,
- number=2, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=440,
- serialized_end=510,
- )
-
- _SESSIONSTARTINFO = _descriptor.Descriptor(
- name='SessionStartInfo',
- full_name='oneflow.SessionStartInfo',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='hparams', full_name='oneflow.SessionStartInfo.hparams', index=0,
- number=1, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='group_name', full_name='oneflow.SessionStartInfo.group_name', index=1,
- number=4, type=9, cpp_type=9, label=2,
- has_default_value=False, default_value=_b("").decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='start_time_secs', full_name='oneflow.SessionStartInfo.start_time_secs', index=2,
- number=5, type=1, cpp_type=5, label=2,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- _descriptor.FieldDescriptor(
- name='metrics', full_name='oneflow.SessionStartInfo.metrics', index=3,
- number=6, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[_SESSIONSTARTINFO_HPARAMSENTRY, _SESSIONSTARTINFO_METRICSENTRY, ],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=189,
- serialized_end=510,
- )
-
- _HPARAMSPLUGINDATA.fields_by_name['session_start_info'].message_type = _SESSIONSTARTINFO
- _HPARAMSPLUGINDATA.oneofs_by_name['data'].fields.append(
- _HPARAMSPLUGINDATA.fields_by_name['session_start_info'])
- _HPARAMSPLUGINDATA.fields_by_name['session_start_info'].containing_oneof = _HPARAMSPLUGINDATA.oneofs_by_name['data']
- _SESSIONSTARTINFO_HPARAMSENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_struct__pb2._VALUE
- _SESSIONSTARTINFO_HPARAMSENTRY.containing_type = _SESSIONSTARTINFO
- _SESSIONSTARTINFO_METRICSENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_struct__pb2._VALUE
- _SESSIONSTARTINFO_METRICSENTRY.containing_type = _SESSIONSTARTINFO
- _SESSIONSTARTINFO.fields_by_name['hparams'].message_type = _SESSIONSTARTINFO_HPARAMSENTRY
- _SESSIONSTARTINFO.fields_by_name['metrics'].message_type = _SESSIONSTARTINFO_METRICSENTRY
- DESCRIPTOR.message_types_by_name['HParamsPluginData'] = _HPARAMSPLUGINDATA
- DESCRIPTOR.message_types_by_name['SessionStartInfo'] = _SESSIONSTARTINFO
-
- HParamsPluginData = _reflection.GeneratedProtocolMessageType('HParamsPluginData', (_message.Message,), dict(
- DESCRIPTOR = _HPARAMSPLUGINDATA,
- __module__ = 'oneflow.customized.utils.plugin_data_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.HParamsPluginData)
- ))
- _sym_db.RegisterMessage(HParamsPluginData)
-
- SessionStartInfo = _reflection.GeneratedProtocolMessageType('SessionStartInfo', (_message.Message,), dict(
-
- HparamsEntry = _reflection.GeneratedProtocolMessageType('HparamsEntry', (_message.Message,), dict(
- DESCRIPTOR = _SESSIONSTARTINFO_HPARAMSENTRY,
- __module__ = 'oneflow.customized.utils.plugin_data_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.SessionStartInfo.HparamsEntry)
- ))
- ,
-
- MetricsEntry = _reflection.GeneratedProtocolMessageType('MetricsEntry', (_message.Message,), dict(
- DESCRIPTOR = _SESSIONSTARTINFO_METRICSENTRY,
- __module__ = 'oneflow.customized.utils.plugin_data_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.SessionStartInfo.MetricsEntry)
- ))
- ,
- DESCRIPTOR = _SESSIONSTARTINFO,
- __module__ = 'oneflow.customized.utils.plugin_data_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.SessionStartInfo)
- ))
- _sym_db.RegisterMessage(SessionStartInfo)
- _sym_db.RegisterMessage(SessionStartInfo.HparamsEntry)
- _sym_db.RegisterMessage(SessionStartInfo.MetricsEntry)
-
-
- _SESSIONSTARTINFO_HPARAMSENTRY.has_options = True
- _SESSIONSTARTINFO_HPARAMSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
- _SESSIONSTARTINFO_METRICSENTRY.has_options = True
- _SESSIONSTARTINFO_METRICSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
- # @@protoc_insertion_point(module_scope)
|