Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dresize_fp32.c81 float actual_y = calculate(h, in_h, new_height); in PrepareResizeBilinear() local
82 CalculateCoordinate(actual_y, in_h, y_bottoms + h, y_tops + h, y_bottom_weights + h); in PrepareResizeBilinear()
104 float actual_y = calculate(h, in_h, new_height); in PrepareResizeBicubic() local
105 CalculateWeightForBicubic(actual_y, in_h, y_tops + 4 * h, y_weights + 4 * h, cubic_coeff); in PrepareResizeBicubic()
127 float actual_y; in PrepareCropAndResizeBilinear() local
144 actual_y = start_h * (in_h - 1) + h * (end_h - start_h) * (in_h - 1) / (new_height - 1); in PrepareCropAndResizeBilinear()
146 actual_y = 0.5 * (end_h + start_h) * (in_h - 1); in PrepareCropAndResizeBilinear()
148 CalculateCoordinate(actual_y, in_h, y_bottom + h, y_top + h, y_bottom_weight + h); in PrepareCropAndResizeBilinear()
472 float actual_y, actual_x; in RewriteExtrapolationValue() local
475actual_y = start_h * (input_h - 1) + h * (end_h - start_h) * (input_h - 1) / (new_height - 1); in RewriteExtrapolationValue()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs.cpp1584 fs_reg actual_y = byte_offset(actual_x, 1); in emit_shading_rate_setup() local
1589 abld.SHR(int_rate_y, actual_y, brw_imm_ud(1)); in emit_shading_rate_setup()