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

Method init

tools/cpp_examples/demo-client/src/text_classification_press.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71};
72
73void DataFeed::init(std::vector<std::vector<int64_t>> *test_input,
74 std::vector<int> *test_label) {
75 _test_input = test_input;
76 _test_label = test_label;
77}
78
79bool set_file(const char *filename) {
80 std::ifstream ifs(filename);

Callers 1

thread_workerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected