Home
last modified time | relevance | path

Searched refs:actual_x (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dresize_fp32.c85 float actual_x = calculate(w, in_w, new_width); in PrepareResizeBilinear() local
86 CalculateCoordinate(actual_x, in_w, x_lefts + w, x_rights + w, x_left_weights + w); in PrepareResizeBilinear()
108 float actual_x = calculate(w, in_w, new_width); in PrepareResizeBicubic() local
109 CalculateWeightForBicubic(actual_x, in_w, x_lefts + 4 * w, x_weights + 4 * w, cubic_coeff); in PrepareResizeBicubic()
126 float actual_x; in PrepareCropAndResizeBilinear() local
152 actual_x = start_w * (in_w - 1) + w * (end_w - start_w) * (in_w - 1) / (new_width - 1); in PrepareCropAndResizeBilinear()
154 actual_x = 0.5 * (end_w + start_w) * (in_w - 1); in PrepareCropAndResizeBilinear()
156 CalculateCoordinate(actual_x, in_w, x_left + w, x_right + w, x_left_weight + w); in PrepareCropAndResizeBilinear()
472 float actual_y, actual_x; in RewriteExtrapolationValue() local
490actual_x = start_w * (input_w - 1) + w * (end_w - start_w) * (input_w - 1) / (new_width - 1); in RewriteExtrapolationValue()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs.cpp1582 fs_reg actual_x = fs_reg(retype(brw_vec1_grf(1, 0), BRW_REGISTER_TYPE_UB)); in emit_shading_rate_setup() local
1584 fs_reg actual_y = byte_offset(actual_x, 1); in emit_shading_rate_setup()
1590 abld.SHR(int_rate_x, actual_x, brw_imm_ud(1)); in emit_shading_rate_setup()