MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FakeInit

Function FakeInit

serving/processor/framework/kernels/lookup_kernels.cc:550–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548typedef std::function<void(const Status&)> InitCallback;
549
550void FakeInit(std::vector<std::string>& feature_names,
551 InitCallback callback) {
552 for (auto name : feature_names) {
553 LOG(INFO) << "name: " << name;
554 }
555
556 Status s;
557 callback(s);
558}
559
560InitCallback make_init_callback(
561 OpKernelContext* ctx,

Callers 1

ComputeAsyncMethod · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected