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

Function ExpectDifferent

tensorflow/core/framework/attr_value_util_test.cc:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void ExpectDifferent(const AttrValue& a1, const AttrValue& a2) {
179 EXPECT_FALSE(AreAttrValuesEqual(a1, a2));
180 EXPECT_FALSE(AreAttrValuesEqual(a2, a1));
181 EXPECT_NE(AttrValueHash(a1), AttrValueHash(a2));
182}
183
184TEST(AttrValueEquality, StringAndFuncTensors) {
185 AttrValue a = FromText(R"(

Callers 1

TESTFunction · 0.70

Calls 2

AreAttrValuesEqualFunction · 0.85
AttrValueHashFunction · 0.85

Tested by

no test coverage detected