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

Function fp32_sve_scale

src/cpu/kernels/scale/sve/fp32.cpp:98–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96namespace cpu
97{
98void fp32_sve_scale(const ITensor *src,
99 ITensor *dst,
100 const ITensor *offsets,
101 const ITensor *dx,
102 const ITensor *dy,
103 InterpolationPolicy policy,
104 BorderMode border_mode,
105 PixelValue constant_border_value,
106 float sampling_offset,
107 bool align_corners,
108 const Window &window)
109{
110 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "fp32_sve_scale");
111 ARM_COMPUTE_UNUSED(dx, dy, border_mode, constant_border_value);
112 if (policy == InterpolationPolicy::NEAREST_NEIGHBOR)
113 {
114 fp32_sve_scale_nearest(src, dst, offsets, sampling_offset, align_corners, window);
115 }
116 else
117 {
118 ARM_COMPUTE_ERROR("Not implemented");
119 }
120}
121} // namespace cpu
122} // namespace arm_compute

Callers

nothing calls this directly

Calls 1

fp32_sve_scale_nearestFunction · 0.85

Tested by

no test coverage detected