lr_model_param_pb2.py 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: lr-model-param.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import descriptor_pool as _descriptor_pool
  7. from google.protobuf import message as _message
  8. from google.protobuf import reflection as _reflection
  9. from google.protobuf import symbol_database as _symbol_database
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. import sshe_cipher_param_pb2 as sshe__cipher__param__pb2
  13. 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')
  14. _LRMODELPARAM = DESCRIPTOR.message_types_by_name['LRModelParam']
  15. _LRMODELPARAM_WEIGHTENTRY = _LRMODELPARAM.nested_types_by_name['WeightEntry']
  16. _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY = _LRMODELPARAM.nested_types_by_name['EncryptedWeightEntry']
  17. _SINGLEMODEL = DESCRIPTOR.message_types_by_name['SingleModel']
  18. _SINGLEMODEL_WEIGHTENTRY = _SINGLEMODEL.nested_types_by_name['WeightEntry']
  19. _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY = _SINGLEMODEL.nested_types_by_name['EncryptedWeightEntry']
  20. _ONEVSRESTRESULT = DESCRIPTOR.message_types_by_name['OneVsRestResult']
  21. LRModelParam = _reflection.GeneratedProtocolMessageType('LRModelParam', (_message.Message,), {
  22. 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
  23. 'DESCRIPTOR' : _LRMODELPARAM_WEIGHTENTRY,
  24. '__module__' : 'lr_model_param_pb2'
  25. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.WeightEntry)
  26. })
  27. ,
  28. 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), {
  29. 'DESCRIPTOR' : _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY,
  30. '__module__' : 'lr_model_param_pb2'
  31. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam.EncryptedWeightEntry)
  32. })
  33. ,
  34. 'DESCRIPTOR' : _LRMODELPARAM,
  35. '__module__' : 'lr_model_param_pb2'
  36. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LRModelParam)
  37. })
  38. _sym_db.RegisterMessage(LRModelParam)
  39. _sym_db.RegisterMessage(LRModelParam.WeightEntry)
  40. _sym_db.RegisterMessage(LRModelParam.EncryptedWeightEntry)
  41. SingleModel = _reflection.GeneratedProtocolMessageType('SingleModel', (_message.Message,), {
  42. 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
  43. 'DESCRIPTOR' : _SINGLEMODEL_WEIGHTENTRY,
  44. '__module__' : 'lr_model_param_pb2'
  45. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel.WeightEntry)
  46. })
  47. ,
  48. 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), {
  49. 'DESCRIPTOR' : _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY,
  50. '__module__' : 'lr_model_param_pb2'
  51. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel.EncryptedWeightEntry)
  52. })
  53. ,
  54. 'DESCRIPTOR' : _SINGLEMODEL,
  55. '__module__' : 'lr_model_param_pb2'
  56. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.SingleModel)
  57. })
  58. _sym_db.RegisterMessage(SingleModel)
  59. _sym_db.RegisterMessage(SingleModel.WeightEntry)
  60. _sym_db.RegisterMessage(SingleModel.EncryptedWeightEntry)
  61. OneVsRestResult = _reflection.GeneratedProtocolMessageType('OneVsRestResult', (_message.Message,), {
  62. 'DESCRIPTOR' : _ONEVSRESTRESULT,
  63. '__module__' : 'lr_model_param_pb2'
  64. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.OneVsRestResult)
  65. })
  66. _sym_db.RegisterMessage(OneVsRestResult)
  67. if _descriptor._USE_C_DESCRIPTORS == False:
  68. DESCRIPTOR._options = None
  69. DESCRIPTOR._serialized_options = b'B\021LRModelParamProto'
  70. _LRMODELPARAM_WEIGHTENTRY._options = None
  71. _LRMODELPARAM_WEIGHTENTRY._serialized_options = b'8\001'
  72. _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._options = None
  73. _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001'
  74. _SINGLEMODEL_WEIGHTENTRY._options = None
  75. _SINGLEMODEL_WEIGHTENTRY._serialized_options = b'8\001'
  76. _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._options = None
  77. _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001'
  78. _LRMODELPARAM._serialized_start=90
  79. _LRMODELPARAM._serialized_end=735
  80. _LRMODELPARAM_WEIGHTENTRY._serialized_start=582
  81. _LRMODELPARAM_WEIGHTENTRY._serialized_end=627
  82. _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_start=629
  83. _LRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_end=735
  84. _SINGLEMODEL._serialized_start=738
  85. _SINGLEMODEL._serialized_end=1269
  86. _SINGLEMODEL_WEIGHTENTRY._serialized_start=582
  87. _SINGLEMODEL_WEIGHTENTRY._serialized_end=627
  88. _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_start=629
  89. _SINGLEMODEL_ENCRYPTEDWEIGHTENTRY._serialized_end=735
  90. _ONEVSRESTRESULT._serialized_start=1271
  91. _ONEVSRESTRESULT._serialized_end=1396
  92. # @@protoc_insertion_point(module_scope)