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

Function ExpectValidSyntax

tensorflow/core/framework/node_def_util_test.cc:260–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260void ExpectValidSyntax(const NodeDef& good) {
261 EXPECT_EQ(Status::OK(), ValidateExternalNodeDefSyntax(good))
262 << "NodeDef: " << SummarizeNodeDef(good);
263}
264
265void ExpectInvalidSyntax(const NodeDef& bad, const string& message) {
266 Status status = ValidateExternalNodeDefSyntax(bad);

Callers 1

TESTFunction · 0.85

Calls 2

SummarizeNodeDefFunction · 0.85

Tested by

no test coverage detected