Searched refs:exp_a (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 527 auto exp_a, EmitExp(component_type, EmitExtractReal(operand_value))); in EmitComplexUnaryOp() 532 return EmitComposeComplex(op, FMul(exp_a, cos_b), FMul(exp_a, sin_b)); in EmitComplexUnaryOp() 537 auto exp_a, EmitExp(component_type, EmitExtractReal(operand_value))); in EmitComplexUnaryOp() 542 auto one = llvm::ConstantFP::get(exp_a->getType(), 1.0); in EmitComplexUnaryOp() 543 auto real_result = FSub(FMul(exp_a, cos_b), one); in EmitComplexUnaryOp() 544 auto imag_result = FMul(exp_a, sin_b); in EmitComplexUnaryOp() 612 TF_ASSIGN_OR_RETURN(auto exp_a, EmitExp(component_type, a)); in EmitComplexUnaryOp() 615 auto exp_neg_a = FDiv(llvm::ConstantFP::get(exp_a->getType(), 1), exp_a); in EmitComplexUnaryOp() 617 FSub(FMul(exp_a, exp_a), FMul(exp_neg_a, exp_neg_a)); in EmitComplexUnaryOp() 623 auto exp_a_plus_exp_neg_a = FAdd(exp_a, exp_neg_a); in EmitComplexUnaryOp() [all …]
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | arithmetic_optimizer_test.cc | 2981 Output exp_a = in TEST_F() local 2987 ops::Concat(s.WithOpName("concat"), {exp_a, exp_b, exp_c}, axis); in TEST_F()
|