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

Method Params

tensorflow/core/framework/dataset.h:278–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()) {

Callers

nothing calls this directly

Calls 15

allocator_getterMethod · 0.80
thread_poolMethod · 0.80
MaxParallelismFunction · 0.50
getFunction · 0.50
cancellation_managerMethod · 0.45
envMethod · 0.45
flrMethod · 0.45
function_handle_cacheMethod · 0.45
resource_mgrMethod · 0.45
modelMethod · 0.45

Tested by

no test coverage detected