Searched refs:abs_x (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_frexp.c | 35 nir_ssa_def *abs_x = nir_fabs(b, x); in lower_frexp_sig() local 38 nir_ssa_def *is_not_zero = nir_fneu(b, abs_x, zero); in lower_frexp_sig() 110 nir_ssa_def *abs_x = nir_fabs(b, x); in lower_frexp_exp() local 112 nir_ssa_def *is_not_zero = nir_fneu(b, abs_x, zero); in lower_frexp_exp() 123 exponent = nir_i2i32(b, nir_iadd(b, nir_ushr(b, abs_x, exponent_shift), in lower_frexp_exp() 131 exponent = nir_iadd(b, nir_ushr(b, abs_x, exponent_shift), in lower_frexp_exp() 140 nir_ssa_def *abs_upper_x = nir_unpack_64_2x32_split_y(b, abs_x); in lower_frexp_exp()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | resize_fp32.c | 30 float abs_x = fabsf(x); in BicubicBaseFunc() local 31 if (abs_x >= 0 && abs_x <= 1) { in BicubicBaseFunc() 32 *weight = ((a + 2) * abs_x - (a + 3)) * abs_x * abs_x + 1; in BicubicBaseFunc() 33 } else if (abs_x > 1 && abs_x <= 2) { in BicubicBaseFunc() 34 *weight = a * abs_x * abs_x * abs_x - 5 * a * abs_x * abs_x + 8 * a * abs_x - 4 * a; in BicubicBaseFunc()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 203 nir_ssa_def *abs_x = nir_fabs(b, x); in build_asin() local 205 nir_ssa_def *p0_plus_xp1 = nir_ffma_imm12(b, abs_x, p1, p0); in build_asin() 208 nir_ffma_imm2(b, abs_x, in build_asin() 209 nir_ffma_imm2(b, abs_x, p0_plus_xp1, M_PI_4f - 1.0f), in build_asin() 214 nir_fsqrt(b, nir_fsub(b, one, abs_x)), in build_asin() 232 return nir_bcsel(b, nir_flt(b, abs_x, half), result1, result0); in build_asin()
|
/third_party/mindspore/mindspore/nn/layer/ |
D | math.py | 442 abs_x = P.Abs() 488 t = select(qk_is_nonzero, abs_x((ans - r) / r), fill(dtype(t), shape(t), 1)) 495 abs_x(dans_da_new - dans_da), 508 rescale = greater(abs_x(pk), 1 / epsilon)
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_action.c | 440 LLVMValueRef abs_x, log_abs_x, flr_log_abs_x, ex2_flr_log_abs_x; in log_emit() local 443 abs_x = lp_build_abs(&bld_base->base, emit_data->args[0] /* src0.x */); in log_emit() 447 abs_x); in log_emit() 461 TGSI_OPCODE_DIV, abs_x, ex2_flr_log_abs_x); in log_emit()
|
/third_party/boost/boost/math/cstdfloat/ |
D | cstdfloat_cmath.hpp | 58 const float_type abs_x = (x_is_neg ? -x : x); in pown() local 62 if (abs_x < (std::numeric_limits<float_type>::min)()) in pown() 81 if (abs_x > (std::numeric_limits<float_type>::max)()) in pown()
|
/third_party/mindspore/mindspore/numpy/ |
D | math_ops.py | 3217 abs_x = F.absolute(x) 3218 sign_x = abs_x / x 3219 return sign_x * F.tensor_pow(abs_x, 1. / 3.)
|
/third_party/python/Modules/_decimal/libmpdec/ |
D | mpdecimal.c | 6601 MPD_NEW_SHARED(abs_x, x); in _qcheck_pow_bounds() 6605 mpd_set_positive(&abs_x); in _qcheck_pow_bounds() 6608 lb_zeta = _lower_bound_zeta(&abs_x, status); in _qcheck_pow_bounds() 6614 sign = (mpd_adjexp(&abs_x) < 0) ^ mpd_sign(y); in _qcheck_pow_bounds()
|