Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc44 } else if (xla::primitive_util::IsComplexType(src_type_) && in Compile()
45 !xla::primitive_util::IsComplexType(dst_type_)) { in Compile()
/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.cc27 bool IsComplexType(PrimitiveType type) { return type == C64; } in IsComplexType() function
Dprimitive_util.h128 bool IsComplexType(PrimitiveType type);
Dshape_util.cc313 return primitive_util::IsComplexType(shape.element_type()); in ElementIsComplex()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc241 if (primitive_util::IsComplexType(to_type)) { in EmitIntegerUnaryOp()
346 if (primitive_util::IsComplexType(to_type)) { in EmitFloatUnaryOp()
466 primitive_util::IsComplexType(input_type) in EmitComplexUnaryOp()
485 TF_RET_CHECK(primitive_util::IsComplexType(from_type)); in EmitComplexUnaryOp()
487 TF_RET_CHECK(primitive_util::IsComplexType(to_type)); in EmitComplexUnaryOp()
668 } else if (primitive_util::IsComplexType(operand_type)) { in EmitBinaryOp()
1820 if (primitive_util::IsComplexType(primitive_type)) { in MakeElementGenerator()
Dshape_inference.cc452 if (primitive_util::IsComplexType(old_element_type) && in InferConvertShape()
453 !primitive_util::IsComplexType(new_element_type)) { in InferConvertShape()
475 if (primitive_util::IsComplexType(old_element_type) != in InferBitcastConvertShape()
476 primitive_util::IsComplexType(new_element_type)) { in InferBitcastConvertShape()