Home
last modified time | relevance | path

Searched refs:double_x (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Deltwise_grad_cpu_kernel.cc99 auto double_x = static_cast<T>(x); in GeluGrad() local
100 … T tanh_res = (T)std::tanh(0.7978845608 * (double_x + 0.044715 * double_x * double_x * double_x)); in GeluGrad()
101 T mul_right = (T)(0.7978845608 + 0.1070322244 * double_x * double_x); in GeluGrad()
Darithmetic_self_cpu_kernel.cc147 auto double_x = static_cast<T>(x); in Gelu() local
148 …T tanh_res = static_cast<T>(std::tanh(factor_a * (double_x + factor_b * double_x * double_x * doub… in Gelu()
/third_party/boost/libs/range/test/adaptor_test/
Dtransformed.cpp29 struct double_x struct
122 transformed_test_fn_impl< Container, double_x, double_x >(); in transformed_test_impl()
/third_party/weston/libweston/
Dlibinput-seat.c239 double double_x = libinput_event_touch_get_x_transformed(touch_event, width); in process_multimodalinput_touch_event() local
241 weston_output_transform_coordinate(device->output, double_x, double_y, &double_x, &double_y); in process_multimodalinput_touch_event()
243 wl_fixed_t x = wl_fixed_from_double(double_x); in process_multimodalinput_touch_event()
257 pdata->x = double_x; in process_multimodalinput_touch_event()
Dinput.c2375 double double_x, double double_y, int touch_type) in process_touch_normal() argument
2382 wl_fixed_t x = wl_fixed_from_double(double_x); in process_touch_normal()