ftl-model-meta.proto 509 B

123456789101112131415161718192021222324
  1. syntax = "proto3";
  2. package com.webank.ai.fate.core.mlmodel.buffer;
  3. option java_outer_classname = "FTLModelMetaProto";
  4. message FTLOptimizerParam {
  5. string optimizer = 1;
  6. string kwargs = 2;
  7. }
  8. message FTLPredictParam {
  9. double threshold = 1;
  10. }
  11. message FTLModelMeta {
  12. string config_type = 1;
  13. string nn_define = 2;
  14. int32 batch_size = 3;
  15. int32 epochs = 4;
  16. double tol = 5;
  17. FTLOptimizerParam optimizer_param = 6;
  18. FTLPredictParam predict_param = 7;
  19. int32 input_dim = 8;
  20. }