sparse_service.proto 546 字节
Newer Older
W
wangguibao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
syntax="proto2";
import "pds_option.proto";
import "builtin_format.proto";
package baidu.paddle_serving.predictor.sparse_service;

option cc_generic_services = true;

message Request {
  repeated baidu.paddle_serving.predictor.format.SparseInstance instances = 1; 
};

message Response {
  repeated baidu.paddle_serving.predictor.format.SparsePrediction predictions = 1;
};

service BuiltinSparseFormatService {
  rpc inference(Request) returns (Response);
  rpc debug(Request) returns (Response);
  option (pds.options).generate_impl = true;
};