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

Function ExpectDifferent

tensorflow/core/framework/op_def_util_test.cc:357–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void ExpectDifferent(const OpDef::AttrDef& a1, const OpDef::AttrDef& a2) {
358 EXPECT_FALSE(AttrDefEqual(a1, a2));
359 EXPECT_FALSE(AttrDefEqual(a2, a1));
360 EXPECT_NE(AttrDefHash(a1), AttrDefHash(a2));
361}
362
363TEST(AttrDefUtilTest, EqualAndHash) {
364 OpDef::AttrDef a = ADef(

Callers 1

TESTFunction · 0.70

Calls 6

AttrDefEqualFunction · 0.85
AttrDefHashFunction · 0.85
RepeatedAttrDefEqualFunction · 0.85
RepeatedAttrDefHashFunction · 0.85
OpDefEqualFunction · 0.85
OpDefHashFunction · 0.85

Tested by

no test coverage detected