Home
last modified time | relevance | path

Searched refs:calculate_resize_ratio (Results 1 – 18 of 18) sorted by relevance

/external/ComputeLibrary/src/cpu/operators/
DCpuScale.cpp103 …const auto wr = arm_compute::scale_utils::calculate_resize_ratio(src->dimension… in configure()
104 …const auto hr = arm_compute::scale_utils::calculate_resize_ratio(src->dimension… in configure()
162 …const auto wr = arm_compute::scale_utils::calculate_resize_ratio(src->dimension… in validate()
163 …const auto hr = arm_compute::scale_utils::calculate_resize_ratio(src->dimension… in validate()
208 …const auto wr = arm_compute::scale_utils::calculate_resize_ratio(src->info()->d… in prepare()
209 …const auto hr = arm_compute::scale_utils::calculate_resize_ratio(src->info()->d… in prepare()
/external/ComputeLibrary/src/runtime/NEON/functions/
DNEScale.cpp65 …const auto wr = arm_compute::scale_utils::calculate_resize_ratio(input->info()-… in configure()
66 …const auto hr = arm_compute::scale_utils::calculate_resize_ratio(input->info()-… in configure()
/external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/template_writer/cl/
DClTemplateResize.cpp212 …const float scale_x = scale_utils::calculate_resize_ratio(_src->dimension(1), _dst->dimension(1), … in get_tag_lut()
213 …const float scale_y = scale_utils::calculate_resize_ratio(_src->dimension(2), _dst->dimension(2), … in get_tag_lut()
/external/ComputeLibrary/src/core/utils/
DScaleUtils.h41 float calculate_resize_ratio(size_t input_size, size_t output_size, bool align_corners = false);
DScaleUtils.cpp31 float arm_compute::scale_utils::calculate_resize_ratio(size_t input_size, size_t output_size, bool … in calculate_resize_ratio() function in arm_compute::scale_utils
/external/ComputeLibrary/src/cpu/kernels/
DCpuScaleKernel.cpp220 …const auto wr = scale_utils::calculate_resize_ratio(src->dimension(idx_width), dst->dimension(idx_… in configure()
221 …const auto hr = scale_utils::calculate_resize_ratio(src->dimension(idx_height), dst->dimension(idx… in configure()
286 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->dimens… in scale_nearest_nchw()
323 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->dimens… in scale_bilinear_nchw()
427 …const auto wr = scale_utils::calculate_resize_ratio(src->info()->dimension(0), dst->info(… in scale_area_nchw_u8()
428 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info(… in scale_area_nchw_u8()
470 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(idx_height), dst->info(… in scale_bilinear_qasymm()
/external/ComputeLibrary/src/cpu/kernels/scale/sve/
Dinteger.cpp51 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in u8_sve_scale_nearest()
95 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in s16_sve_scale_nearest()
Dfp32.cpp52 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in fp32_sve_scale_nearest()
Dqasymm8.cpp52 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in qasymm8_sve_scale_nearest()
Dfp16.cpp53 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in fp16_sve_scale_nearest()
Dqasymm8_signed.cpp52 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in qasymm8_signed_sve_scale_nearest()
/external/ComputeLibrary/src/cpu/kernels/scale/neon/
Dlist.h57 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in nearest_neon_scale()
58 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in nearest_neon_scale()
151 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in bilinear_neon_scale()
152 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in bilinear_neon_scale()
Dinteger.cpp45 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in u8_neon_scale_nearest()
83 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in u8_neon_scale_bilinear()
84 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in u8_neon_scale_bilinear()
324 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in s8_neon_scale_bilinear()
325 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in s8_neon_scale_bilinear()
527 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in s16_neon_scale_nearest()
565 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->dimens… in s16_neon_scale_bilinear()
Dfp16.cpp53 …const auto hr = scale_utils::calculate_resize_ratio(in_dim_h, dst->info()->dimension(2… in fp16_neon_scale_nearest()
91 …const auto hr = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->dimens… in fp16_neon_scale_bilinear()
Dqasymm8_signed.cpp43 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in qasymm8_signed_neon_scale_bilinear()
44 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in qasymm8_signed_neon_scale_bilinear()
Dqasymm8.cpp43 …const float scale_x = scale_utils::calculate_resize_ratio(src->info()->dimension(1), dst->info()->… in qasymm8_neon_scale_bilinear()
44 …const float scale_y = scale_utils::calculate_resize_ratio(src->info()->dimension(2), dst->info()->… in qasymm8_neon_scale_bilinear()
/external/ComputeLibrary/tests/validation/reference/
DScale.cpp51 …const auto wr = arm_compute::scale_utils::calculate_resize_ratio(in.shape()[0], out.shape()[0], al… in scale_core()
52 …const auto hr = arm_compute::scale_utils::calculate_resize_ratio(in.shape()[1], out.shape()[1], al… in scale_core()
/external/ComputeLibrary/src/gpu/cl/kernels/
DClScaleKernel.cpp53 …float scale_x = arm_compute::scale_utils::calculate_resize_ratio(src_width, dst_width, align_corne… in calculate_scale_factors()
54 …float scale_y = arm_compute::scale_utils::calculate_resize_ratio(src_height, dst_height, align_cor… in calculate_scale_factors()