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

Method Clear

tensorflow/core/framework/function_handle_cache.cc:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Status FunctionHandleCache::Clear() {
57 mutex_lock l(mu_);
58 for (auto entry : handles_) {
59 TF_RETURN_IF_ERROR(lib_->ReleaseHandle(entry.second));
60 }
61 handles_.clear();
62 return Status::OK();
63}
64
65} // namespace data
66} // namespace tensorflow

Callers

nothing calls this directly

Calls 2

ReleaseHandleMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected