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

Method Resolve

tensorflow/compiler/xla/service/execution_tracker.cc:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76StatusOr<const AsyncExecution*> ExecutionTracker::Resolve(
77 const ExecutionHandle& handle) {
78 tensorflow::mutex_lock lock(execution_mutex_);
79 auto it = handle_to_execution_.find(handle.handle());
80 if (it == handle_to_execution_.end()) {
81 return NotFound("no execution record for execution handle: %d",
82 handle.handle());
83 }
84 return it->second.get();
85}
86
87} // namespace xla

Callers 1

Calls 5

NotFoundFunction · 0.85
findMethod · 0.45
handleMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected