| 367 | } |
| 368 | |
| 369 | ScopedStepContainer* 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 | |
| 377 | Status EagerContext::MaybeRegisterFunctionRemotely(const FunctionDef& fdef) { |
| 378 | // Only client context can register function on remote worker context. |
no test coverage detected