D | shape_inference_test.cc | 59 bool SameHandle(DimensionHandle a, DimensionHandle b) { in SameHandle() function in tensorflow::shape_inference::ShapeInferenceTest 60 return a.SameHandle(b); in SameHandle() 62 bool SameHandle(ShapeHandle a, ShapeHandle b) { return a.SameHandle(b); } in SameHandle() function in tensorflow::shape_inference::ShapeInferenceTest 301 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -3))); in TEST_F() 307 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -2))); in TEST_F() 311 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -1))); in TEST_F() 330 EXPECT_FALSE(SameHandle(c.Dim(c.input(1), 1), c.NumElements(c.input(1)))); in TEST_F() 351 EXPECT_FALSE(SameHandle(s1, s2)); in TEST_F() 352 EXPECT_FALSE(SameHandle(c.Dim(s2, 0), c.Dim(s2, 1))); in TEST_F() 356 EXPECT_FALSE(SameHandle(s1, s2)); in TEST_F() [all …]
|