Home
last modified time | relevance | path

Searched refs:HasDegenerateDimensions (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dreduction_degenerate_dim_remover.cc53 if (!ShapeUtil::HasDegenerateDimensions(reduced_op->shape())) { in HandleReduce()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc718 TEST(ShapeUtilTest, HasDegenerateDimensions) { in TEST() argument
720 ShapeUtil::HasDegenerateDimensions(ShapeUtil::MakeShape(F32, {3, 1, 2}))); in TEST()
722 ShapeUtil::HasDegenerateDimensions(ShapeUtil::MakeShape(F32, {3, 1, 1}))); in TEST()
724 ShapeUtil::HasDegenerateDimensions(ShapeUtil::MakeShape(F32, {3, 3, 5}))); in TEST()
726 ShapeUtil::HasDegenerateDimensions(ShapeUtil::MakeShape(F32, {3, 0, 5}))); in TEST()
Dshape_util.cc1050 /* static */ bool ShapeUtil::HasDegenerateDimensions(const Shape& shape) { in HasDegenerateDimensions() function in xla::ShapeUtil
1506 if (HasDegenerateDimensions(input_shape) || in AlignLayouts()
1507 HasDegenerateDimensions(output_shape)) { in AlignLayouts()
Dshape_util.h493 static bool HasDegenerateDimensions(const Shape& shape);
/external/tensorflow/tensorflow/compiler/xla/service/
Dindexed_array_analysis.cc475 if (!ShapeUtil::HasDegenerateDimensions(shape)) { in ReshapeToRemoveDegenerateDims()
534 CHECK(!ShapeUtil::HasDegenerateDimensions(operand->shape())); in ReshapeToAddDegenerateDims()
644 CHECK(!ShapeUtil::HasDegenerateDimensions(shape)); in FoldReshapeOfGatherNoDegenerateDims()
645 CHECK(!ShapeUtil::HasDegenerateDimensions(scalar_indexed->shape())); in FoldReshapeOfGatherNoDegenerateDims()
Dalgebraic_simplifier.cc3559 if (ShapeUtil::HasDegenerateDimensions(operand->shape())) { in HandleBroadcast()