Home
last modified time | relevance | path

Searched refs:ElementIsIntegral (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.h364 static bool ElementIsIntegral(const Shape& shape);
Dshape_util.cc269 /* static */ bool ShapeUtil::ElementIsIntegral(const Shape& shape) { in ElementIsIntegral() function in xla::ShapeUtil
275 return ElementIsIntegral(shape) && ElementHasBitWidth(shape, bits); in ElementIsIntegralWithBits()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.cc270 TF_RET_CHECK(ShapeUtil::ElementIsIntegral(expected.shape()) || in ComputeAndCompareLiteralWithStatus()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.cc2030 if (!ShapeUtil::ElementIsIntegral(start_indices_shape)) { in InferDynamicSliceShape()
2093 if (!ShapeUtil::ElementIsIntegral(start_indices_shape)) { in InferDynamicUpdateSliceShape()
2559 if (!ShapeUtil::ElementIsIntegral(gather_indices_shape)) { in InferGatherShape()
Delemental_ir_emitter.cc206 } else if (ShapeUtil::ElementIsIntegral(op->operand(0)->shape()) || in EmitUnaryOp()
663 if (ShapeUtil::ElementIsIntegral(op->operand(0)->shape()) || in EmitBinaryOp()
Dalgebraic_simplifier.cc598 if (ShapeUtil::ElementIsIntegral(divide->shape())) { in HandleDivide()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1346 bool root_is_integral = ShapeUtil::ElementIsIntegral(root_shape); in MatchReductionGenerator()