linr_model_param_pb2.py 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: linr-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\x16linr-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\x1a\x17sshe-cipher-param.proto\"\x9c\x04\n\x0eLinRModelParam\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\x12R\n\x06weight\x18\x04 \x03(\x0b\x32\x42.com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.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\x65\n\x10\x65ncrypted_weight\x18\x08 \x03(\x0b\x32K.com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.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\x42\x15\x42\x13LinRModelParamProtob\x06proto3')
  14. _LINRMODELPARAM = DESCRIPTOR.message_types_by_name['LinRModelParam']
  15. _LINRMODELPARAM_WEIGHTENTRY = _LINRMODELPARAM.nested_types_by_name['WeightEntry']
  16. _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY = _LINRMODELPARAM.nested_types_by_name['EncryptedWeightEntry']
  17. LinRModelParam = _reflection.GeneratedProtocolMessageType('LinRModelParam', (_message.Message,), {
  18. 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
  19. 'DESCRIPTOR' : _LINRMODELPARAM_WEIGHTENTRY,
  20. '__module__' : 'linr_model_param_pb2'
  21. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.WeightEntry)
  22. })
  23. ,
  24. 'EncryptedWeightEntry' : _reflection.GeneratedProtocolMessageType('EncryptedWeightEntry', (_message.Message,), {
  25. 'DESCRIPTOR' : _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY,
  26. '__module__' : 'linr_model_param_pb2'
  27. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam.EncryptedWeightEntry)
  28. })
  29. ,
  30. 'DESCRIPTOR' : _LINRMODELPARAM,
  31. '__module__' : 'linr_model_param_pb2'
  32. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.LinRModelParam)
  33. })
  34. _sym_db.RegisterMessage(LinRModelParam)
  35. _sym_db.RegisterMessage(LinRModelParam.WeightEntry)
  36. _sym_db.RegisterMessage(LinRModelParam.EncryptedWeightEntry)
  37. if _descriptor._USE_C_DESCRIPTORS == False:
  38. DESCRIPTOR._options = None
  39. DESCRIPTOR._serialized_options = b'B\023LinRModelParamProto'
  40. _LINRMODELPARAM_WEIGHTENTRY._options = None
  41. _LINRMODELPARAM_WEIGHTENTRY._serialized_options = b'8\001'
  42. _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._options = None
  43. _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_options = b'8\001'
  44. _LINRMODELPARAM._serialized_start=92
  45. _LINRMODELPARAM._serialized_end=632
  46. _LINRMODELPARAM_WEIGHTENTRY._serialized_start=479
  47. _LINRMODELPARAM_WEIGHTENTRY._serialized_end=524
  48. _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_start=526
  49. _LINRMODELPARAM_ENCRYPTEDWEIGHTENTRY._serialized_end=632
  50. # @@protoc_insertion_point(module_scope)