Searched refs:SameDimensions (Results 1 – 14 of 14) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | gather_expander_test.cc | 99 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F() 103 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F() 107 EXPECT_TRUE(ShapeUtil::SameDimensions( in TEST_F()
|
D | reshape_mover.cc | 119 !ShapeUtil::SameDimensions(a->shape(), b->shape())) { in AreEquivalentReshapes() 126 return ShapeUtil::SameDimensions(a->operand(0)->shape(), in AreEquivalentReshapes() 287 if (!ShapeUtil::SameDimensions(operand->shape(), instruction->shape())) { in IsReshapeMoveCandidate()
|
D | hlo_evaluator.h | 326 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, operand->shape())); in ElementWiseUnaryOpImpl()
|
D | hlo_evaluator_typed_visitor.h | 276 TF_RET_CHECK(ShapeUtil::SameDimensions(operand->shape(), convert->shape())); 286 TF_RET_CHECK(ShapeUtil::SameDimensions(operand->shape(), convert->shape())); 2834 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, rhs->shape())); 2835 TF_RET_CHECK(ShapeUtil::SameDimensions(lhs->shape(), rhs->shape())); 2859 TF_RET_CHECK(ShapeUtil::SameDimensions(shape, lhs->shape())); 2860 TF_RET_CHECK(ShapeUtil::SameDimensions(lhs->shape(), rhs->shape())); 2861 TF_RET_CHECK(ShapeUtil::SameDimensions(rhs->shape(), ehs->shape()));
|
D | hlo_evaluator.cc | 701 DCHECK(ShapeUtil::SameDimensions(compare->shape(), rhs->shape()) && in HandleCompare() 702 ShapeUtil::SameDimensions(lhs->shape(), rhs->shape())); in HandleCompare() 2140 TF_RET_CHECK(ShapeUtil::SameDimensions(sort->operand(0)->shape(), in HandleSort()
|
D | shape_inference.cc | 1074 if (!ShapeUtil::SameDimensions(*operand_shapes[0], in InferVariadicOpShape() 2086 if (!ShapeUtil::SameDimensions(*reduced_args[0], *reduced_args[i])) { in InferReduceShape()
|
D | hlo_verifier.cc | 479 if (!ShapeUtil::SameDimensions(sort->operand(0)->shape(), in HandleSort()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | shape_util_test.cc | 408 TEST(ShapeUtilTest, SameDimensions) { in TEST() argument 409 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST() 411 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST() 413 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST() 415 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {0}), in TEST() 417 EXPECT_TRUE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {2}), in TEST() 419 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST() 421 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {0, 0}), in TEST() 423 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {1}), in TEST() 425 EXPECT_FALSE(ShapeUtil::SameDimensions(ShapeUtil::MakeShape(S32, {}), in TEST() [all …]
|
D | shape.cc | 144 if (!ShapeUtil::SameDimensions(lhs, rhs)) { in operator ()()
|
D | shape_util.h | 247 static bool SameDimensions(const Shape& lhs, const Shape& rhs);
|
D | shape_util.cc | 537 /* static */ bool ShapeUtil::SameDimensions(const Shape& lhs, in SameDimensions() function in xla::ShapeUtil
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | loop_emitter.cc | 81 CHECK(ShapeUtil::SameDimensions(shape_, array.GetShape())) in LoopEmitter()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.cc | 605 if (!ShapeUtil::SameDimensions(shape, *updated_lhs_shape)) { in BinaryOp() 611 if (!ShapeUtil::SameDimensions(shape, *updated_rhs_shape)) { in BinaryOp() 1708 if (!ShapeUtil::SameDimensions(output_shape, *shape)) { in Map()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter_unnested.cc | 2884 return ShapeUtil::SameDimensions(op_shape, parameter_shape) && in NumInputsInvolveInOnlyElementwiseOps()
|