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

Function Find

tensorflow/core/framework/resource_mgr_test.cc:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53template <typename T>
54string Find(const ResourceMgr& rm, const string& container,
55 const string& name) {
56 T* r;
57 TF_CHECK_OK(rm.Lookup(container, name, &r));
58 const string ret = r->DebugString();
59 r->Unref();
60 return ret;
61}
62
63template <typename T>
64string LookupOrCreate(ResourceMgr* rm, const string& container,

Callers 4

GetAttrImplMethod · 0.85
FindMethod · 0.85
GetMergedValueMethod · 0.85
MergeMethod · 0.85

Calls 3

LookupMethod · 0.45
DebugStringMethod · 0.45
UnrefMethod · 0.45

Tested by

no test coverage detected