Searched refs:IsEmptyTuple (Results 1 – 10 of 10) sorted by relevance
42 if (ShapeUtil::IsEmptyTuple(hlo_instruction()->operand(0)->shape())) { in ExecuteOnStream()
305 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(ShapeUtil::MakeNil())); in TEST()306 EXPECT_FALSE(ShapeUtil::IsEmptyTuple(ShapeUtil::MakeShape(F32, {1, 2, 3}))); in TEST()307 EXPECT_FALSE(ShapeUtil::IsEmptyTuple(ShapeUtil::MakeShape(F32, {0, 1}))); in TEST()308 EXPECT_FALSE(ShapeUtil::IsEmptyTuple( in TEST()310 EXPECT_FALSE(ShapeUtil::IsEmptyTuple( in TEST()
55 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(int_tree.shape())); in TEST_F()58 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(bool_tree.shape())); in TEST_F()
465 static bool IsEmptyTuple(const Shape& shape);
1670 EXPECT_FALSE(ShapeUtil::IsEmptyTuple(nested_tuple.shape())); in TEST_F()1672 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(nested_tuple.shape())); in TEST_F()1723 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(element.shape())); in TEST_F()
334 /* static */ bool ShapeUtil::IsEmptyTuple(const Shape& shape) { in IsEmptyTuple() function in xla::ShapeUtil
205 return ShapeUtil::IsEmptyTuple(shape) ? 1 : ShapeUtil::GetLeafCount(shape); in RequiredLeaves()225 if (ShapeUtil::IsEmptyTuple(shape)) { in AsShapeTree()
405 if (ShapeUtil::IsEmptyTuple(new_while_shape)) { in TryRemoveConstantParams()
1399 if (!shape.IsTuple() && !ShapeUtil::IsEmptyTuple(shape)) { in ParseInstructionRhs()
317 if (!ShapeUtil::IsEmptyTuple(shape)) { in Execute()