Searched refs:IsScalarWithElementType (Results 1 – 6 of 6) sorted by relevance
29 ShapeUtil::IsScalarWithElementType(instruction->shape(), F32)) { in IsConstantR0F32()
141 EXPECT_TRUE(ShapeUtil::IsScalarWithElementType(parameter->shape(), F32)); in TEST_F()142 EXPECT_FALSE(ShapeUtil::IsScalarWithElementType(parameter->shape(), S32)); in TEST_F()
80 ShapeUtil::IsScalarWithElementType(TypeToShape(b.getF32Type()), F32)); in TEST()
364 static bool IsScalarWithElementType(const Shape& shape,
575 /* static */ bool ShapeUtil::IsScalarWithElementType( in IsScalarWithElementType() function in xla::ShapeUtil
66 ShapeUtil::IsScalarWithElementType(value.shape(), shape.element_type())); in CreateConstant()