123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: lr-model-param.proto
- """Generated protocol buffer code."""
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import descriptor_pool as _descriptor_pool
- 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()
- import sshe_cipher_param_pb2 as sshe__cipher__param__pb2
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14lr-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\x1a\x17sshe-cipher-param.proto\"\x85\x05\n\x0cLRModelParam\x12\r\n\x05iters\x18\x01 \x01(\x05\x12\x14\n\x0closs_history\x18\x02 \x03(\x01\x12\x14\n\x0cis_converged\x18\x03 \x01(\x08\x12P\n\x06weight\x18\x04 \x03(\x0b\x32@.com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.WeightEntry\x12\x11\n\tintercept\x18\x05 \x01(\x01\x12\x0e\n\x06header\x18\x06 \x03(\t\x12S\n\x12one_vs_rest_result\x18\x07 \x01(\x0b\x32\x37.com.webank.ai.fate.core.mlmodel.buffer.OneVsRestResult\x12\x18\n\x10need_one_vs_rest\x18\x08 \x01(\x08\x12\x16\n\x0e\x62\x65st_iteration\x18\t \x01(\x05\x12\x63\n\x10\x65ncrypted_weight\x18\n \x03(\x0b\x32I.com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.EncryptedWeightEntry\x12>\n\x06\x63ipher\x18\x0b \x01(\x0b\x32..com.webank.ai.fate.core.mlmodel.buffer.Cipher\x1a-\n\x0bWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1aj\n\x14\x45ncryptedWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.com.webank.ai.fate.core.mlmodel.buffer.CipherText:\x02\x38\x01\"\x93\x04\n\x0bSingleModel\x12\r\n\x05iters\x18\x01 \x01(\x05\x12\x14\n\x0closs_history\x18\x02 \x03(\x01\x12\x14\n\x0cis_converged\x18\x03 \x01(\x08\x12O\n\x06weight\x18\x04 \x03(\x0b\x32?.com.webank.ai.fate.core.mlmodel.buffer.SingleModel.WeightEntry\x12\x11\n\tintercept\x18\x05 \x01(\x01\x12\x0e\n\x06header\x18\x06 \x03(\t\x12\x16\n\x0e\x62\x65st_iteration\x18\x07 \x01(\x05\x12\x62\n\x10\x65ncrypted_weight\x18\x08 \x03(\x0b\x32H.com.webank.ai.fate.core.mlmodel.buffer.SingleModel.EncryptedWeightEntry\x12>\n\x06\x63ipher\x18\t \x01(\x0b\x32..com.webank.ai.fate.core.mlmodel.buffer.Cipher\x1a-\n\x0bWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1aj\n\x14\x45ncryptedWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.com.webank.ai.fate.core.mlmodel.buffer.CipherText:\x02\x38\x01\"}\n\x0fOneVsRestResult\x12M\n\x10\x63ompleted_models\x18\x01 \x03(\x0b\x32\x33.com.webank.ai.fate.core.mlmodel.buffer.SingleModel\x12\x1b\n\x13one_vs_rest_classes\x18\x02 \x03(\tB\x13\x42\x11LRModelParamProtob\x06proto3')
- _LRMODELPARAM = DESCRIPTOR.message_types_by_name['LRModelParam']
- _LRMODELPARAM_WEIGHTENTRY = _LRMODELPARAM.nested_types_by_name['WeightEntry']
- _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY = _LRMODELPARAM.nested_types_by_name['EncryptedWeightEntry']
- _SINGLEMODEL = DESCRIPTOR.message_types_by_name['SingleModel']
- _SINGLEMODEL_WEIGHTENTRY = _SINGLEMODEL.nested_types_by_name['WeightEntry']
- _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY = _SINGLEMODEL.nested_types_by_name['EncryptedWeightEntry']
- _ONEVSRESTRESULT = DESCRIPTOR.message_types_by_name['OneVsRestResult']
- LRModelParam = _reflection.GeneratedProtocolMessageType('LRModelParam', (_message.Message,), {
- 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
- 'DESCRIPTOR' : _LRMODELPARAM_WEIGHTENTRY,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.WeightEntry)
- })
- ,
- 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), {
- 'DESCRIPTOR' : _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.EncryptedWeightEntry)
- })
- ,
- 'DESCRIPTOR' : _LRMODELPARAM,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam)
- })
- _sym_db.RegisterMessage(LRModelParam)
- _sym_db.RegisterMessage(LRModelParam.WeightEntry)
- _sym_db.RegisterMessage(LRModelParam.EncryptedWeightEntry)
- SingleModel = _reflection.GeneratedProtocolMessageType('SingleModel', (_message.Message,), {
- 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
- 'DESCRIPTOR' : _SINGLEMODEL_WEIGHTENTRY,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel.WeightEntry)
- })
- ,
- 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), {
- 'DESCRIPTOR' : _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel.EncryptedWeightEntry)
- })
- ,
- 'DESCRIPTOR' : _SINGLEMODEL,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel)
- })
- _sym_db.RegisterMessage(SingleModel)
- _sym_db.RegisterMessage(SingleModel.WeightEntry)
- _sym_db.RegisterMessage(SingleModel.EncryptedWeightEntry)
- OneVsRestResult = _reflection.GeneratedProtocolMessageType('OneVsRestResult', (_message.Message,), {
- 'DESCRIPTOR' : _ONEVSRESTRESULT,
- '__module__' : 'lr_model_param_pb2'
- # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.OneVsRestResult)
- })
- _sym_db.RegisterMessage(OneVsRestResult)
- if _descriptor._USE_C_DESCRIPTORS == False:
- DESCRIPTOR._options = None
- DESCRIPTOR._serialized_options = b'B\021LRModelParamProto'
- _LRMODELPARAM_WEIGHTENTRY._options = None
- _LRMODELPARAM_WEIGHTENTRY._serialized_options = b'8\001'
- _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._options = None
- _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001'
- _SINGLEMODEL_WEIGHTENTRY._options = None
- _SINGLEMODEL_WEIGHTENTRY._serialized_options = b'8\001'
- _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._options = None
- _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001'
- _LRMODELPARAM._serialized_start=90
- _LRMODELPARAM._serialized_end=735
- _LRMODELPARAM_WEIGHTENTRY._serialized_start=582
- _LRMODELPARAM_WEIGHTENTRY._serialized_end=627
- _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_start=629
- _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_end=735
- _SINGLEMODEL._serialized_start=738
- _SINGLEMODEL._serialized_end=1269
- _SINGLEMODEL_WEIGHTENTRY._serialized_start=582
- _SINGLEMODEL_WEIGHTENTRY._serialized_end=627
- _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_start=629
- _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_end=735
- _ONEVSRESTRESULT._serialized_start=1271
- _ONEVSRESTRESULT._serialized_end=1396
- # @@protoc_insertion_point(module_scope)
|