ftl_model_meta_pb2.py 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: ftl-model-meta.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\x14\x66tl-model-meta.proto\x12&com.webank.ai.fate.core.mlmodel.buffer\"6\n\x11\x46TLOptimizerParam\x12\x11\n\toptimizer\x18\x01 \x01(\t\x12\x0e\n\x06kwargs\x18\x02 \x01(\t\"$\n\x0f\x46TLPredictParam\x12\x11\n\tthreshold\x18\x01 \x01(\x01\"\x9e\x02\n\x0c\x46TLModelMeta\x12\x13\n\x0b\x63onfig_type\x18\x01 \x01(\t\x12\x11\n\tnn_define\x18\x02 \x01(\t\x12\x12\n\nbatch_size\x18\x03 \x01(\x05\x12\x0e\n\x06\x65pochs\x18\x04 \x01(\x05\x12\x0b\n\x03tol\x18\x05 \x01(\x01\x12R\n\x0foptimizer_param\x18\x06 \x01(\x0b\x32\x39.com.webank.ai.fate.core.mlmodel.buffer.FTLOptimizerParam\x12N\n\rpredict_param\x18\x07 \x01(\x0b\x32\x37.com.webank.ai.fate.core.mlmodel.buffer.FTLPredictParam\x12\x11\n\tinput_dim\x18\x08 \x01(\x05\x42\x13\x42\x11\x46TLModelMetaProtob\x06proto3')
  13. _FTLOPTIMIZERPARAM = DESCRIPTOR.message_types_by_name['FTLOptimizerParam']
  14. _FTLPREDICTPARAM = DESCRIPTOR.message_types_by_name['FTLPredictParam']
  15. _FTLMODELMETA = DESCRIPTOR.message_types_by_name['FTLModelMeta']
  16. FTLOptimizerParam = _reflection.GeneratedProtocolMessageType('FTLOptimizerParam', (_message.Message,), {
  17. 'DESCRIPTOR' : _FTLOPTIMIZERPARAM,
  18. '__module__' : 'ftl_model_meta_pb2'
  19. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.FTLOptimizerParam)
  20. })
  21. _sym_db.RegisterMessage(FTLOptimizerParam)
  22. FTLPredictParam = _reflection.GeneratedProtocolMessageType('FTLPredictParam', (_message.Message,), {
  23. 'DESCRIPTOR' : _FTLPREDICTPARAM,
  24. '__module__' : 'ftl_model_meta_pb2'
  25. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.FTLPredictParam)
  26. })
  27. _sym_db.RegisterMessage(FTLPredictParam)
  28. FTLModelMeta = _reflection.GeneratedProtocolMessageType('FTLModelMeta', (_message.Message,), {
  29. 'DESCRIPTOR' : _FTLMODELMETA,
  30. '__module__' : 'ftl_model_meta_pb2'
  31. # @@protoc_insertion_point(class_scope:com.webank.ai.fate.core.mlmodel.buffer.FTLModelMeta)
  32. })
  33. _sym_db.RegisterMessage(FTLModelMeta)
  34. if _descriptor._USE_C_DESCRIPTORS == False:
  35. DESCRIPTOR._options = None
  36. DESCRIPTOR._serialized_options = b'B\021FTLModelMetaProto'
  37. _FTLOPTIMIZERPARAM._serialized_start=64
  38. _FTLOPTIMIZERPARAM._serialized_end=118
  39. _FTLPREDICTPARAM._serialized_start=120
  40. _FTLPREDICTPARAM._serialized_end=156
  41. _FTLMODELMETA._serialized_start=159
  42. _FTLMODELMETA._serialized_end=445
  43. # @@protoc_insertion_point(module_scope)