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

Function SetRunOptions

tensorflow/core/kernels/functional_ops.cc:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void SetRunOptions(OpKernelContext* ctx, FunctionLibraryRuntime::Options* opts,
117 bool always_collect_stats) {
118 opts->rendezvous = ctx->rendezvous();
119 opts->cancellation_manager = ctx->cancellation_manager();
120 if (always_collect_stats) {
121 opts->stats_collector = ctx->stats_collector();
122 }
123 opts->runner = ctx->runner();
124 opts->step_container = ctx->step_container();
125}
126
127class IfOp : public AsyncOpKernel {
128 public:

Callers 5

StateMethod · 0.85
StateMethod · 0.85
StateMethod · 0.85
StartLoopMethod · 0.85
ComputeAsyncMethod · 0.85

Calls 5

rendezvousMethod · 0.80
stats_collectorMethod · 0.80
step_containerMethod · 0.80
cancellation_managerMethod · 0.45
runnerMethod · 0.45

Tested by

no test coverage detected