MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / create_req

Function create_req

tools/cpp_examples/demo-client/src/echo.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using baidu::paddle_serving::predictor::echo_service::RequestAndResponse;
28
29int create_req(RequestAndResponse& req) { // NOLINT
30 req.set_a(1);
31 req.set_b(0.1);
32 return 0;
33}
34
35void print_res(const RequestAndResponse& req,
36 const RequestAndResponse& res,

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected