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

Function WrongPolicy

tensorflow/core/framework/resource_mgr_test.cc:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205Status WrongPolicy(const string& attr_container, const string& attr_shared_name,
206 bool use_node_name_as_default) {
207 string dbg;
208 auto s = ComputePolicy(attr_container, attr_shared_name,
209 use_node_name_as_default, &dbg);
210 CHECK(!s.ok());
211 return s;
212}
213
214TEST(ContainerInfo, Error) {
215 // Missing attribute.

Callers 1

TESTFunction · 0.85

Calls 2

ComputePolicyFunction · 0.85
okMethod · 0.45

Tested by

no test coverage detected