| 548 | typedef std::function<void(const Status&)> InitCallback; |
| 549 | |
| 550 | void 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 | |
| 560 | InitCallback make_init_callback( |
| 561 | OpKernelContext* ctx, |
no test coverage detected