Home
last modified time | relevance | path

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

/external/XNNPACK/test/
Dresize-bilinear-operator-tester.h250 … const int64_t input_x_right = std::min<int64_t>(int64_t(std::ceil(input_x)), input_width() - 1); in TestNHWCxF32() local
255 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_right) * input_pixel… in TestNHWCxF32()
257 …ut[((batch_index * input_height() + input_y_bottom) * input_width() + input_x_right) * input_pixel… in TestNHWCxF32()
335 … const int64_t input_x_right = std::min<int64_t>(int64_t(std::ceil(input_x)), input_width() - 1); in TestNCHWxF32() local
340 …t_num_elements + c * input_num_pixels + input_y_top * input_width() + input_x_right] * (1.0f - y_a… in TestNCHWxF32()
342 …um_elements + c * input_num_pixels + input_y_bottom * input_width() + input_x_right] * y_alpha * x… in TestNCHWxF32()
/external/XNNPACK/src/
Dindirection.c372 const uint32_t input_x_right = math_min_u32(input_x_left + 1, input_x_max); in xnn_indirection_init_resize_bilinear2d_hwc_f32() local
377 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
381 … (void*) ((uintptr_t) input + (input_y_bottom * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
403 const uint32_t input_x_right = math_min_u32(input_x_left + 1, input_x_max); in xnn_indirection_init_resize_bilinear2d_hwc_f32() local
408 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()
412 … (void*) ((uintptr_t) input + (input_y_bottom * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_hwc_f32()