Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.h142 bool IsComplexType(PrimitiveType type);
178 IsComplexType(type) ? ComplexComponentType(type) : type; in HigherPrecisionType()
181 IsComplexType(type), in HigherPrecisionType()
223 if (primitive_util::IsComplexType(to_type)) { in CastPreservesValues()
225 primitive_util::IsComplexType(from_type) in CastPreservesValues()
232 if (primitive_util::IsComplexType(from_type)) { in CastPreservesValues()
Dprimitive_util.cc83 bool IsComplexType(PrimitiveType type) { return type == C64 || type == C128; } in IsComplexType() function
Dshape_util.cc540 return primitive_util::IsComplexType(shape.element_type()); in ElementIsComplex()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dcast_op.cc53 } else if (xla::primitive_util::IsComplexType(src_type_) && in Compile()
54 !xla::primitive_util::IsComplexType(dst_type_)) { in Compile()
126 !xla::primitive_util::IsComplexType(src_type_) && in Compile()
127 !xla::primitive_util::IsComplexType(dst_type_), in Compile()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dself_adjoint_eig.cc52 !primitive_util::IsComplexType(type)) { in SelfAdjointEig()
75 primitive_util::IsComplexType(type) in SelfAdjointEig()
Dconstants.h37 primitive_util::IsComplexType(type))) { in ConstantR0WithType()
43 !primitive_util::IsComplexType(type)) { in ConstantR0WithType()
Dmath.cc1141 if (primitive_util::IsComplexType(shape.element_type())) { in Acos()
1198 if (primitive_util::IsComplexType(shape.element_type())) { in Acosh()
1235 if (primitive_util::IsComplexType(shape.element_type())) { in Asinh()
1273 if (primitive_util::IsComplexType(shape.element_type())) { in Atanh()
1320 if (primitive_util::IsComplexType(shape.element_type())) { in Sinh()
1350 primitive_util::IsComplexType(shape.element_type()) && conjugate; in MaybeConjugate()
Dmatrix.cc257 if (primitive_util::IsComplexType(shape.element_type())) { in Symmetrize()
/external/tensorflow/tensorflow/compiler/xla/service/
Deigh_expander.cc103 bool is_complex = primitive_util::IsComplexType(w_tl_shape.element_type()); in HermitianEigenDecomposition2x2()
282 primitive_util::IsComplexType(shape.element_type()) in ComputeFrobeniusNorms()
442 !primitive_util::IsComplexType(type)) { in BuildEigh()
Delemental_ir_emitter.cc285 if (primitive_util::IsComplexType(to_type)) { in EmitIntegerUnaryOp()
392 if (primitive_util::IsComplexType(to_type)) { in EmitFloatUnaryOp()
568 primitive_util::IsComplexType(input_type) in EmitComplexUnaryOp()
594 TF_RET_CHECK(primitive_util::IsComplexType(from_type)); in EmitComplexUnaryOp()
596 TF_RET_CHECK(primitive_util::IsComplexType(to_type)); in EmitComplexUnaryOp()
863 } else if (primitive_util::IsComplexType(operand_type)) { in EmitBinaryOp()
2753 if (primitive_util::IsComplexType(primitive_type)) { in EmitMulAdd()
Dqr_expander.cc130 if (primitive_util::IsComplexType(type)) { in House()
Dshape_inference.cc451 if (primitive_util::IsComplexType(old_element_type) != in InferBitcastConvertShape()
452 primitive_util::IsComplexType(new_element_type)) { in InferBitcastConvertShape()
1891 if (!primitive_util::IsComplexType(in.element_type())) { in InferFftShape()
1925 if (!primitive_util::IsComplexType(in.element_type())) { in InferFftShape()
Dhlo_graph_dumper.cc1239 if (primitive_util::IsComplexType(instr->shape().element_type())) { in ExtractGemmBackendConfigProps()
Dhlo_verifier.cc987 !primitive_util::IsComplexType(primitive_type)) { in HandleIota()
Dalgebraic_simplifier.cc172 return !primitive_util::IsComplexType(hlo->shape().element_type()) && in IsScalarConstantNegInf()
178 return !primitive_util::IsComplexType(hlo->shape().element_type()) && in IsScalarConstantInf()
Dhlo_parser.cc3654 if (!primitive_util::IsComplexType(shape.element_type())) { in ParseDenseLiteral()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_mhlo_to_scalar_op.h263 struct IsComplexType {
289 IsFloatType, ScalarFOpOrVoid, IsComplexType,
306 return MapMhloOpToScalarOpImpl<IsComplexType, ::mlir::complex::AbsOp>{}(
894 return MapMhloOpToScalarOpImpl<IsFloatType, arith::DivFOp, IsComplexType,
950 IsComplexType, ::mlir::complex::NegOp>{}(
992 return MapMhloOpToScalarOpImpl<IsFloatType, math::PowFOp, IsComplexType,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnccl_utils.cc197 bool is_complex = primitive_util::IsComplexType(element_type); in ToNcclDataTypeAndCountMultiplier()
Dnccl_all_reduce_thunk.cc193 } else if (primitive_util::IsComplexType(type)) { in MatchAllReduceComputation()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc2207 if (primitive_util::IsComplexType(operand_shape->element_type()) && in ConvertElementType()
2208 !primitive_util::IsComplexType(new_element_type)) { in ConvertElementType()