Home
last modified time | relevance | path

Searched refs:CompatibleIgnoringFpPrecision (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc137 TEST(ShapeUtilTest, CompatibleIgnoringFpPrecision) { in TEST() argument
140 ASSERT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(shape1, shape2)); in TEST()
146 ASSERT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(shape1, shape2)); in TEST()
235 EXPECT_TRUE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
252 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(tuple1, tuple2)); in TEST()
280 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(shape1, shape2)); in TEST()
281 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(shape2, shape1)); in TEST()
289 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(shape1, shape2)); in TEST()
290 EXPECT_FALSE(ShapeUtil::CompatibleIgnoringFpPrecision(shape2, shape1)); in TEST()
Dshape_util.h206 static bool CompatibleIgnoringFpPrecision(const Shape& lhs, const Shape& rhs);
Dshape_util.cc756 /* static */ bool ShapeUtil::CompatibleIgnoringFpPrecision(const Shape& lhs, in CompatibleIgnoringFpPrecision() function in xla::ShapeUtil
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.cc123 if (!ShapeUtil::CompatibleIgnoringFpPrecision(*accumulator_subshapes[i], in VerifyReducerShape()
134 if (!ShapeUtil::CompatibleIgnoringFpPrecision( in VerifyReducerShape()
148 if (!ShapeUtil::CompatibleIgnoringFpPrecision( in VerifyReducerShape()
923 if (ShapeUtil::CompatibleIgnoringFpPrecision(lhs, rhs)) { in InferElementwiseBinaryOpShape()
2372 if (!ShapeUtil::CompatibleIgnoringFpPrecision(operand_element_shape, in InferSelectAndScatterShape()
2380 if (!ShapeUtil::CompatibleIgnoringFpPrecision(operand_element_shape, in InferSelectAndScatterShape()
2398 if (!ShapeUtil::CompatibleIgnoringFpPrecision(source_shape, in InferSelectAndScatterShape()
3258 if (!ShapeUtil::CompatibleIgnoringFpPrecision(min, operand) || in InferClampShape()
3259 !ShapeUtil::CompatibleIgnoringFpPrecision(max, operand)) { in InferClampShape()
3273 if (!ShapeUtil::CompatibleIgnoringFpPrecision(on_true, on_false)) { in InferSelectShape()
Dhlo_verifier.h260 return ShapeUtil::CompatibleIgnoringFpPrecision(a, b);
Dhlo_instruction.cc2634 ShapeUtil::CompatibleIgnoringFpPrecision(shape(), new_producer->shape())) in ReplaceUseWith()
2663 ShapeUtil::CompatibleIgnoringFpPrecision(shape(), new_producer->shape())) in ReplaceUseWith()
2690 TF_RET_CHECK(ShapeUtil::CompatibleIgnoringFpPrecision(old_operand->shape(), in ReplaceOperandWith()
2721 ShapeUtil::CompatibleIgnoringFpPrecision(shape(), new_producer->shape())) in ReplaceUsesWith()
2741 ShapeUtil::CompatibleIgnoringFpPrecision(shape(), new_producer->shape())) in ReplaceAllUsesWith()
Dhlo_verifier.cc926 if (!ShapeUtil::CompatibleIgnoringFpPrecision(expected_scalar_shape, in HandleSort()
1755 return ShapeUtil::CompatibleIgnoringFpPrecision(instruction->shape(), in CheckShape()
Dhlo_evaluator.cc3723 TF_RET_CHECK(ShapeUtil::CompatibleIgnoringFpPrecision(reduce->shape(), in HandleReduce()