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

Function FindErr

tensorflow/core/framework/resource_mgr_test.cc:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81template <typename T>
82Status FindErr(const ResourceMgr& rm, const string& container,
83 const string& name) {
84 T* r;
85 Status s = rm.Lookup(container, name, &r);
86 CHECK(!s.ok());
87 return s;
88}
89
90TEST(ResourceMgrTest, Basic) {
91 ResourceMgr rm;

Callers

nothing calls this directly

Calls 2

LookupMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected