Searched refs:IsIdenticalTo (Results 1 – 12 of 12) sorted by relevance
48 EXPECT_TRUE(output_shape.IsIdenticalTo(PartialTensorShape())); in TEST()58 EXPECT_TRUE(output_shape.IsIdenticalTo(PartialTensorShape({-1, 2, 3}))); in TEST()68 EXPECT_TRUE(output_shape.IsIdenticalTo(PartialTensorShape({1, 2, 3}))); in TEST()76 EXPECT_TRUE(output_shape.IsIdenticalTo(TensorShape())); in TEST()
35 PartialTensorShape(spec.shape()).IsIdenticalTo(expected_shape) && in TensorSpecsAreEqual()
149 EXPECT_TRUE(shapes[i].IsIdenticalTo(shapes[j])); in TEST()151 EXPECT_FALSE(shapes[i].IsIdenticalTo(shapes[j])); in TEST()
935 bool PartialTensorShape::IsIdenticalTo(const PartialTensorShape& shape) const { in IsIdenticalTo() function in tensorflow::PartialTensorShape990 if (!shapes0[i].IsIdenticalTo(shapes1[i])) { in AreIdentical()
541 bool IsIdenticalTo(const PartialTensorShape& shape) const;
81 EXPECT_TRUE(op_.IsIdenticalTo(op_as_op)); in TEST_F()
288 bool modified = !resource->value().IsIdenticalTo(resource->initial_value()); in BuildComputation()294 !grad.second->value().IsIdenticalTo(grad.second->initial_value()) || in BuildComputation()
454 if (!first_shape.IsIdenticalTo(component_shape)) { in Shape()
190 EXPECT_EQ(dtypes_and_shapes.at(0).shape.IsIdenticalTo({2, 2}), true); in TEST_F()
521 OP_REQUIRES(c, l_a->element_shape.IsIdenticalTo(l_b->element_shape), in Compute()
142 if (shape.IsIdenticalTo(PartialTensorShape())) { in PrintTensorShape()
100 bool IsIdenticalTo(XlaOp rhs) const { in IsIdenticalTo() function