D | shape_inference_test.cc | 60 bool SameHandle(DimensionHandle a, DimensionHandle b) { in SameHandle() function in tensorflow::shape_inference::ShapeInferenceTest 61 return a.SameHandle(b); in SameHandle() 63 bool SameHandle(ShapeHandle a, ShapeHandle b) { return a.SameHandle(b); } in SameHandle() function in tensorflow::shape_inference::ShapeInferenceTest 293 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -3))); in TEST_F() 299 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -2))); in TEST_F() 303 EXPECT_TRUE(SameHandle(d, c.Dim(in1, -1))); in TEST_F() 322 EXPECT_FALSE(SameHandle(c.Dim(c.input(1), 1), c.NumElements(c.input(1)))); in TEST_F() 343 EXPECT_FALSE(SameHandle(s1, s2)); in TEST_F() 344 EXPECT_FALSE(SameHandle(c.Dim(s2, 0), c.Dim(s2, 1))); in TEST_F() 348 EXPECT_FALSE(SameHandle(s1, s2)); in TEST_F() [all …]
|