|
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: oneflow/customized/utils/plugin_hparams.proto
- """Generated protocol buffer code."""
- 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
- # @@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_hparams.proto',
- package='oneflow.hparam',
- syntax='proto3',
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n-oneflow/customized/utils/plugin_hparams.proto\x12\x0eoneflow.hparam\x1a\x1cgoogle/protobuf/struct.proto\"b\n\x11HParamsPluginData\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12<\n\x12session_start_info\x18\x03 \x01(\x0b\x32 .oneflow.hparam.SessionStartInfo\"\xcf\x02\n\x10SessionStartInfo\x12>\n\x07hparams\x18\x01 \x03(\x0b\x32-.oneflow.hparam.SessionStartInfo.HparamsEntry\x12>\n\x07metrics\x18\x02 \x03(\x0b\x32-.oneflow.hparam.SessionStartInfo.MetricsEntry\x12\x12\n\ngroup_name\x18\x04 \x01(\t\x12\x17\n\x0fstart_time_secs\x18\x05 \x01(\x01\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\x62\x06proto3'
- ,
- dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])
-
-
-
-
- _HPARAMSPLUGINDATA = _descriptor.Descriptor(
- name='HParamsPluginData',
- full_name='oneflow.hparam.HParamsPluginData',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='version', full_name='oneflow.hparam.HParamsPluginData.version', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='session_start_info', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=95,
- serialized_end=193,
- )
-
-
- _SESSIONSTARTINFO_HPARAMSENTRY = _descriptor.Descriptor(
- name='HparamsEntry',
- full_name='oneflow.hparam.SessionStartInfo.HparamsEntry',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='key', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='value', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=b'8\001',
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=389,
- serialized_end=459,
- )
-
- _SESSIONSTARTINFO_METRICSENTRY = _descriptor.Descriptor(
- name='MetricsEntry',
- full_name='oneflow.hparam.SessionStartInfo.MetricsEntry',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='key', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='value', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=b'8\001',
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=461,
- serialized_end=531,
- )
-
- _SESSIONSTARTINFO = _descriptor.Descriptor(
- name='SessionStartInfo',
- full_name='oneflow.hparam.SessionStartInfo',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='hparams', full_name='oneflow.hparam.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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='metrics', full_name='oneflow.hparam.SessionStartInfo.metrics', index=1,
- number=2, 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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='group_name', full_name='oneflow.hparam.SessionStartInfo.group_name', index=2,
- number=4, 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,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='start_time_secs', full_name='oneflow.hparam.SessionStartInfo.start_time_secs', index=3,
- number=5, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[_SESSIONSTARTINFO_HPARAMSENTRY, _SESSIONSTARTINFO_METRICSENTRY, ],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=196,
- serialized_end=531,
- )
-
- _HPARAMSPLUGINDATA.fields_by_name['session_start_info'].message_type = _SESSIONSTARTINFO
- _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
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
- HParamsPluginData = _reflection.GeneratedProtocolMessageType('HParamsPluginData', (_message.Message,), {
- 'DESCRIPTOR' : _HPARAMSPLUGINDATA,
- '__module__' : 'oneflow.customized.utils.plugin_hparams_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.hparam.HParamsPluginData)
- })
- _sym_db.RegisterMessage(HParamsPluginData)
-
- SessionStartInfo = _reflection.GeneratedProtocolMessageType('SessionStartInfo', (_message.Message,), {
-
- 'HparamsEntry' : _reflection.GeneratedProtocolMessageType('HparamsEntry', (_message.Message,), {
- 'DESCRIPTOR' : _SESSIONSTARTINFO_HPARAMSENTRY,
- '__module__' : 'oneflow.customized.utils.plugin_hparams_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.hparam.SessionStartInfo.HparamsEntry)
- })
- ,
-
- 'MetricsEntry' : _reflection.GeneratedProtocolMessageType('MetricsEntry', (_message.Message,), {
- 'DESCRIPTOR' : _SESSIONSTARTINFO_METRICSENTRY,
- '__module__' : 'oneflow.customized.utils.plugin_hparams_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.hparam.SessionStartInfo.MetricsEntry)
- })
- ,
- 'DESCRIPTOR' : _SESSIONSTARTINFO,
- '__module__' : 'oneflow.customized.utils.plugin_hparams_pb2'
- # @@protoc_insertion_point(class_scope:oneflow.hparam.SessionStartInfo)
- })
- _sym_db.RegisterMessage(SessionStartInfo)
- _sym_db.RegisterMessage(SessionStartInfo.HparamsEntry)
- _sym_db.RegisterMessage(SessionStartInfo.MetricsEntry)
-
-
- _SESSIONSTARTINFO_HPARAMSENTRY._options = None
- _SESSIONSTARTINFO_METRICSENTRY._options = None
- # @@protoc_insertion_point(module_scope)
|