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

Function scale

tests/validation/reference/Scale.cpp:196–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195template <typename T>
196SimpleTensor<T> scale(const SimpleTensor<T> &src,
197 float scale_x,
198 float scale_y,
199 InterpolationPolicy policy,
200 BorderMode border_mode,
201 T constant_border_value,
202 SamplingPolicy sampling_policy,
203 bool ceil_policy_scale,
204 bool align_corners,
205 QuantizationInfo output_quantization_info)
206{
207 ARM_COMPUTE_UNUSED(output_quantization_info);
208 return scale_core<T>(src, scale_x, scale_y, policy, border_mode, constant_border_value, sampling_policy,
209 ceil_policy_scale, align_corners);
210}
211
212template <>
213SimpleTensor<uint8_t> scale(const SimpleTensor<uint8_t> &src,

Callers

nothing calls this directly

Calls 5

convert_from_asymmetricFunction · 0.85
dequantize_qasymm8Function · 0.50
uniformMethod · 0.45
quantization_infoMethod · 0.45

Tested by

no test coverage detected