Home
last modified time | relevance | path

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

/external/XNNPACK/src/
Dindirection.c335 const uint32_t input_x_left = (uint32_t) (int32_t) input_x; in xnn_indirection_init_resize_bilinear2d_f32() local
336 const uint32_t input_x_right = math_min_u32(input_x_left + 1, input_x_max); in xnn_indirection_init_resize_bilinear2d_f32()
337 const float alpha_x = input_x - (float) input_x_left; 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()
343 … (void*) ((uintptr_t) input + (input_y_bottom * input_width + input_x_left) * input_pixel_stride); in xnn_indirection_init_resize_bilinear2d_f32()
365 const uint32_t input_x_left = (uint32_t) (int32_t) input_x; in xnn_indirection_init_resize_bilinear2d_f32() local
366 assert((int32_t) input_x_left >= 0); in xnn_indirection_init_resize_bilinear2d_f32()
367 const uint32_t input_x_right = math_min_u32(input_x_left + 1, input_x_max); in xnn_indirection_init_resize_bilinear2d_f32()
368 const float alpha_x = input_x - (float) input_x_left; 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.h245 const int64_t input_x_left = std::max<int64_t>(int64_t(std::floor(input_x)), 0); in TestF32() local
250 …input[((batch_index * input_height() + input_y_top) * input_width() + input_x_left) * input_pixel_… in TestF32()
252 …ut[((batch_index * input_height() + input_y_bottom) * input_width() + input_x_left) * input_pixel_… in TestF32()