24 #ifndef ARM_COMPUTE_NEON_CROP_RESIZE_H 25 #define ARM_COMPUTE_NEON_CROP_RESIZE_H 100 std::vector<std::unique_ptr<NECropKernel>>
_crop;
101 std::vector<std::unique_ptr<NEScale>>
_scale;
InterpolationPolicy
Interpolation method.
Base class for all functions.
void configure(const ITensor *input, const ITensor *boxes, const ITensor *box_ind, ITensor *output, Coordinates2D crop_size, InterpolationPolicy method=InterpolationPolicy::BILINEAR, float extrapolation_value=0)
Configure kernel.
~NECropResize()
Default destructor.
std::vector< std::unique_ptr< NECropKernel > > _crop
float _extrapolation_value
std::vector< std::unique_ptr< Tensor > > _scaled_results
Output values are defined by bilinear interpolation between the pixels.
Store the tensor's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
Function to perform cropping and resizing.
static Status validate(const ITensorInfo *input, const ITensorInfo *boxes, const ITensorInfo *box_ind, const ITensorInfo *output, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value)
Static function to check if given info will lead to a valid configuration of NESlice.
std::vector< std::unique_ptr< NEScale > > _scale
NECropResize()
Default constructor.
void run() override
Run the kernels contained in the function.
InterpolationPolicy _method
NECropResize & operator=(const NECropResize &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
std::vector< std::unique_ptr< Tensor > > _crop_results