Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_query.cc29 ShapeUtil::IsScalarWithElementType(instruction->shape(), F32)) { in IsConstantR0F32()
Dhlo_instruction_test.cc141 EXPECT_TRUE(ShapeUtil::IsScalarWithElementType(parameter->shape(), F32)); in TEST_F()
142 EXPECT_FALSE(ShapeUtil::IsScalarWithElementType(parameter->shape(), S32)); in TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape_test.cc80 ShapeUtil::IsScalarWithElementType(TypeToShape(b.getF32Type()), F32)); in TEST()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.h364 static bool IsScalarWithElementType(const Shape& shape,
Dshape_util.cc575 /* static */ bool ShapeUtil::IsScalarWithElementType( in IsScalarWithElementType() function in xla::ShapeUtil
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.cc66 ShapeUtil::IsScalarWithElementType(value.shape(), shape.element_type())); in CreateConstant()