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

Method MakeResourceHandle

tensorflow/core/framework/resource_mgr.h:873–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871
872template <typename T>
873ResourceHandle ScopedStepContainer::MakeResourceHandle(
874 const string& name, const DeviceBase& device) {
875 mutex_lock ml(mu_);
876 dirty_ = true;
877 return tensorflow::MakeResourceHandle(container_, name, device,
878 MakeTypeIndex<T>(), {});
879}
880
881template <typename T>
882Status ScopedStepContainer::Lookup(ResourceMgr* rm, const string& name,

Callers

nothing calls this directly

Calls 1

MakeResourceHandleFunction · 0.70

Tested by

no test coverage detected