poisson_model_param_pb2.py 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: poisson-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. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19poisson-model-param.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"\x8f\x02\n\x11PoissonModelParam\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\x12U\n\x06weight\x18\x04 \x03(\x0b\x32\x45.com.webank.ai.fate.core.mlmodel.buffer.PoissonModelParam.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\x1a-\n\x0bWeightEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x42\x18\x42\x16PoissonModelParamProtob\x06proto3')
  13. _POISSONMODELPARAM = DESCRIPTOR.message_types_by_name['PoissonModelParam']
  14. _POISSONMODELPARAM_WEIGHTENTRY = _POISSONMODELPARAM.nested_types_by_name['WeightEntry']
  15. PoissonModelParam = _reflection.GeneratedProtocolMessageType('PoissonModelParam', (_message.Message,), {
  16. 'WeightEntry' : _reflection.GeneratedProtocolMessageType('WeightEntry', (_message.Message,), {
  17. 'DESCRIPTOR' : _POISSONMODELPARAM_WEIGHTENTRY,
  18. '__module__' : 'poisson_model_param_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.PoissonModelParam.WeightEntry)
  20. })
  21. ,
  22. 'DESCRIPTOR' : _POISSONMODELPARAM,
  23. '__module__' : 'poisson_model_param_pb2'
  24. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.PoissonModelParam)
  25. })
  26. _sym_db.RegisterMessage(PoissonModelParam)
  27. _sym_db.RegisterMessage(PoissonModelParam.WeightEntry)
  28. if _descriptor._USE_C_DESCRIPTORS == False:
  29. DESCRIPTOR._options = None
  30. DESCRIPTOR._serialized_options = b'B\026PoissonModelParamProto'
  31. _POISSONMODELPARAM_WEIGHTENTRY._options = None
  32. _POISSONMODELPARAM_WEIGHTENTRY._serialized_options = b'8\001'
  33. _POISSONMODELPARAM._serialized_start=70
  34. _POISSONMODELPARAM._serialized_end=341
  35. _POISSONMODELPARAM_WEIGHTENTRY._serialized_start=296
  36. _POISSONMODELPARAM_WEIGHTENTRY._serialized_end=341
  37. # @@protoc_insertion_point(module_scope)