Searched refs:one_half (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_double_ops.c | 274 nir_ssa_def *one_half = nir_imm_double(b, 0.5); in lower_sqrt_rsq() local 275 nir_ssa_def *h_0 = nir_fmul(b, one_half, ra); in lower_sqrt_rsq() 277 nir_ssa_def *r_0 = nir_ffma(b, nir_fneg(b, h_0), g_0, one_half); in lower_sqrt_rsq() 287 one_half); in lower_sqrt_rsq()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | pattern_utils_test.cc | 56 auto one_half = ops::Const(s.WithOpName("one_half"), {0.5f}, {}); in GetMatMulBiasAddGeluGraph() local 58 s.WithOpName("one_half_times_erf_plus_one"), one_half, erf_plus_one); in GetMatMulBiasAddGeluGraph()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math.cc | 512 XlaOp one_half = ScalarLike(input, 0.5); in Lgamma() local 528 XlaOp need_to_reflect = Lt(input, one_half); in Lgamma() 556 XlaOp log_y = log_sqrt_two_pi + (z + one_half - t / log_t) * log_t + Log(x); in Lgamma() 649 XlaOp one_half = ScalarLike(input, 0.5); in Digamma() local 663 XlaOp need_to_reflect = Lt(input, one_half); in Digamma() 1318 auto one_half = ScalarLike(x, 0.5); in Sinh() local 1339 auto small_sinh_result = one_half * (expm1 + expm1 / (expm1 + one)); in Sinh()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | lower_tf.cc | 580 Value one_half = create_const_op(0.5); in matchAndRewrite() local 596 Value need_to_reflect = rewriter.create<LessOp>(loc, input, one_half); in matchAndRewrite() 639 rewriter.create<SubOp>(loc, one_half, t_div_log_t); in matchAndRewrite() 684 rewriter.create<GreaterOp>(loc, abs_frac_input, one_half); in matchAndRewrite()
|
/external/gemmlowp/fixedpoint/ |
D | fixedpoint.h | 893 const ResultF one_half = 895 return SelectUsingMask(mask_if_zero, one_half,
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 549 auto one_half = llvm::ConstantFP::get(llvm_ty, 0.5); in EmitComplexUnaryOp() local 550 return EmitComposeComplex(op, FMul(one_half, log_sum_sq), angle); in EmitComplexUnaryOp() 1120 auto one_half = llvm::ConstantFP::get(a->getType(), 0.5); in EmitComplexPower() local 1122 auto half_c = FMul(one_half, c); in EmitComplexPower() 1134 auto half_d = FMul(one_half, d); in EmitComplexPower()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 7762 MPD_NEW_CONST(one_half,0,-1,1,1,1,5); in _mpd_qinvroot() 7829 mpd_qmul(z, z, &one_half, &maxcontext, &workstatus); in _mpd_qinvroot()
|