Home
last modified time | relevance | path

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

/external/XNNPACK/src/
Dindirection.c363 const uint32_t input_y_top = (uint32_t) (int32_t) input_y; in xnn_indirection_init_resize_bilinear2d_hwc_f32() local
364 const uint32_t input_y_bottom = math_min_u32(input_y_top + 1, input_y_max); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
365 const float alpha_y = input_y - (float) input_y_top; in xnn_indirection_init_resize_bilinear2d_hwc_f32()
375 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_left) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
377 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
394 const uint32_t input_y_top = (uint32_t) (int32_t) input_y; in xnn_indirection_init_resize_bilinear2d_hwc_f32() local
395 assert((int32_t) input_y_top >= 0); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
396 const uint32_t input_y_bottom = math_min_u32(input_y_top + 1, input_y_max); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
397 const float alpha_y = input_y - (float) input_y_top; in xnn_indirection_init_resize_bilinear2d_hwc_f32()
406 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_left) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
[all …]
/external/XNNPACK/test/
Dresize-bilinear-operator-tester.h244 const int64_t input_y_top = std::max<int64_t>(int64_t(std::floor(input_y)), 0); in TestNHWCxF32() local
254 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_left) * input_pixel_… in TestNHWCxF32()
255 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_right) * input_pixel… in TestNHWCxF32()
329 const int64_t input_y_top = std::max<int64_t>(int64_t(std::floor(input_y)), 0); in TestNCHWxF32() local
339 …input[batch_index * input_num_elements + c * input_num_pixels + input_y_top * input_width() + inpu… in TestNCHWxF32()
340 …input[batch_index * input_num_elements + c * input_num_pixels + input_y_top * input_width() + inpu… in TestNCHWxF32()