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

Function HasError

tensorflow/core/ops/math_grad_test.cc:415–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413};
414
415void HasError(const Status& s, const string& substr) {
416 EXPECT_TRUE(absl::StrContains(s.ToString(), substr))
417 << s << ", expected substring " << substr;
418}
419
420REGISTER_OP("TestOpWithNoGrad")
421 .Input("x: T")

Callers 1

TEST_FFunction · 0.70

Calls 2

StrContainsFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected