Home
last modified time | relevance | path

Searched refs:SameDimensions (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander_test.cc104 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F()
108 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F()
112 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F()
Dreshape_mover.cc120 !ShapeUtil::SameDimensions(a->shape(), b->shape())) { in AreEquivalentReshapes()
127 return ShapeUtil::SameDimensions(a->operand(0)->shape(), in AreEquivalentReshapes()
288 if (!ShapeUtil::SameDimensions(operand->shape(), instruction->shape())) { in IsReshapeMoveCandidate()
Dhlo_evaluator.h338 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, operand->shape())); in ElementWiseUnaryOpImpl()
Dhlo_evaluator_typed_visitor.h282 TF_RET_CHECK(ShapeUtil::SameDimensions(operand->shape(), convert->shape()));
292 TF_RET_CHECK(ShapeUtil::SameDimensions(operand->shape(), convert->shape()));
2977 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, rhs->shape()));
2978 TF_RET_CHECK(ShapeUtil::SameDimensions(lhs->shape(), rhs->shape()));
3002 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, lhs->shape()));
3003 TF_RET_CHECK(ShapeUtil::SameDimensions(lhs->shape(), rhs->shape()));
3004 TF_RET_CHECK(ShapeUtil::SameDimensions(rhs->shape(), ehs->shape()));
Dhlo_evaluator.cc713 DCHECK(ShapeUtil::SameDimensions(compare->shape(), rhs->shape()) && in HandleCompare()
714 ShapeUtil::SameDimensions(lhs->shape(), rhs->shape())); in HandleCompare()
2160 TF_RET_CHECK(ShapeUtil::SameDimensions(sort->operand(0)->shape(), in HandleSort()
Dshape_inference.cc1094 if (!ShapeUtil::SameDimensions(*operand_shapes[0], in InferVariadicOpShape()
2130 if (!ShapeUtil::SameDimensions(*reduced_args[0], *reduced_args[i])) { in InferReduceShape()
2204 if (!ShapeUtil::SameDimensions(*operands[0], *operands[i])) { in InferReduceWindowShape()
Dhlo_verifier.cc584 if (!ShapeUtil::SameDimensions(sort->operand(0)->shape(), in HandleSort()
Dalgebraic_simplifier.cc1032 ShapeUtil::SameDimensions(lhs_update_window, rhs_update_window)) { in HandleAdd()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc410 TEST(ShapeUtilTest, SameDimensions) { in TEST() argument
411 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST()
413 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST()
415 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST()
417 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {0}), in TEST()
419 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {2}), in TEST()
421 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST()
423 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {0, 0}), in TEST()
425 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST()
427 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST()
[all …]
Dshape.cc145 if (!ShapeUtil::SameDimensions(lhs, rhs)) { in operator ()()
Dshape_util.h248 static bool SameDimensions(const Shape& lhs, const Shape& rhs);
Dshape_util.cc641 /* static */ bool ShapeUtil::SameDimensions(const Shape& lhs, in SameDimensions() function in xla::ShapeUtil
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dloop_emitter.cc89 CHECK(ShapeUtil::SameDimensions(shape_, array.GetShape())) in LoopEmitter()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc670 if (!ShapeUtil::SameDimensions(shape, *updated_lhs_shape)) { in BinaryOp()
676 if (!ShapeUtil::SameDimensions(shape, *updated_rhs_shape)) { in BinaryOp()
2155 if (!ShapeUtil::SameDimensions(output_shape, *shape)) { in Map()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc5210 return ShapeUtil::SameDimensions(op_shape, parameter_shape) && in NumInputsInvolveInOnlyElementwiseOps()