| 276 | public: |
| 277 | struct Params { |
| 278 | explicit Params(IteratorContext* ctx) |
| 279 | : allocator_getter(ctx->allocator_getter()), |
| 280 | cancellation_manager(ctx->cancellation_manager()), |
| 281 | env(ctx->env()), |
| 282 | flr(ctx->flr()), |
| 283 | function_handle_cache(ctx->function_handle_cache()), |
| 284 | resource_mgr(ctx->resource_mgr()), |
| 285 | model(ctx->model()), |
| 286 | runner(*(ctx->runner())), |
| 287 | runner_threadpool_size(ctx->runner_threadpool_size()), |
| 288 | stats_aggregator(ctx->stats_aggregator()), |
| 289 | thread_factory(ctx->thread_factory()), |
| 290 | thread_pool(ctx->thread_pool()) {} |
| 291 | |
| 292 | explicit Params(OpKernelContext* ctx) |
| 293 | : env(ctx->env()), flr(ctx->function_library()) { |
nothing calls this directly
no test coverage detected