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

Function fp16_sve_scale

src/cpu/kernels/scale/sve/fp16.cpp:100–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fp16_sve_scale_nearestFunction · 0.85

Tested by

no test coverage detected