MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / s16_sve_scale

Function s16_sve_scale

src/cpu/kernels/scale/sve/integer.cpp:174–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void s16_sve_scale(const ITensor *src,
175 ITensor *dst,
176 const ITensor *offsets,
177 const ITensor *dx,
178 const ITensor *dy,
179 InterpolationPolicy policy,
180 BorderMode border_mode,
181 PixelValue constant_border_value,
182 float sampling_offset,
183 bool align_corners,
184 const Window &window)
185{
186 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "s16_sve_scale");
187 ARM_COMPUTE_UNUSED(dx, dy, border_mode, constant_border_value);
188 if (policy == InterpolationPolicy::NEAREST_NEIGHBOR)
189 {
190 s16_sve_scale_nearest(src, dst, offsets, sampling_offset, align_corners, window);
191 }
192 else
193 {
194 ARM_COMPUTE_ERROR("Not Implemented");
195 }
196}
197} // namespace cpu
198} // namespace arm_compute

Callers

nothing calls this directly

Calls 1

s16_sve_scale_nearestFunction · 0.85

Tested by

no test coverage detected