Home
last modified time | relevance | path

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

/external/XNNPACK/src/
Dindirection.c327 const uint32_t input_y_top = (uint32_t) (int32_t) input_y; in xnn_indirection_init_resize_bilinear2d_f32() local
328 const uint32_t input_y_bottom = math_min_u32(input_y_top + 1, input_y_max); in xnn_indirection_init_resize_bilinear2d_f32()
329 const float alpha_y = input_y - (float) input_y_top; in xnn_indirection_init_resize_bilinear2d_f32()
339 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_left) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_f32()
341 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_right) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_f32()
358 const uint32_t input_y_top = (uint32_t) (int32_t) input_y; in xnn_indirection_init_resize_bilinear2d_f32() local
359 assert((int32_t) input_y_top >= 0); in xnn_indirection_init_resize_bilinear2d_f32()
360 const uint32_t input_y_bottom = math_min_u32(input_y_top + 1, input_y_max); in xnn_indirection_init_resize_bilinear2d_f32()
361 const float alpha_y = input_y - (float) input_y_top; in xnn_indirection_init_resize_bilinear2d_f32()
370 … (void*) ((uintptr_t) input + (input_y_top * input_width + input_x_left) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_f32()
[all …]
/external/XNNPACK/test/
Dresize-bilinear-operator-tester.h240 const int64_t input_y_top = std::max<int64_t>(int64_t(std::floor(input_y)), 0); in TestF32() local
250 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_left) * input_pixel_… in TestF32()
251 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_right) * input_pixel… in TestF32()