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

Method StepContainer

tensorflow/core/common_runtime/eager/context.cc:369–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369ScopedStepContainer* EagerContext::StepContainer() {
370 if (num_active_steps_.load() == 0) {
371 return nullptr;
372 }
373 mutex_lock ml(metadata_mu_);
374 return step_container_.get();
375}
376
377Status EagerContext::MaybeRegisterFunctionRemotely(const FunctionDef& fdef) {
378 // Only client context can register function on remote worker context.

Callers 1

EagerKernelExecuteFunction · 0.80

Calls 2

loadMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected