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

Function ExpectEqual

tensorflow/core/framework/op_def_util_test.cc:438–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438void ExpectEqual(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1,
439 const protobuf::RepeatedPtrField<OpDef::AttrDef>& a2) {
440 EXPECT_TRUE(RepeatedAttrDefEqual(a1, a2));
441 EXPECT_TRUE(RepeatedAttrDefEqual(a2, a1));
442 EXPECT_EQ(RepeatedAttrDefHash(a1), RepeatedAttrDefHash(a2));
443}
444
445void ExpectDifferent(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1,
446 const protobuf::RepeatedPtrField<OpDef::AttrDef>& a2) {

Callers 1

TESTFunction · 0.70

Calls 4

RepeatedAttrDefEqualFunction · 0.85
RepeatedAttrDefHashFunction · 0.85
OpDefEqualFunction · 0.85
OpDefHashFunction · 0.85

Tested by

no test coverage detected