Container for 2D border size.
ValidRegion compute_valid_region() const
Return a valid region that spans across the entire tensor.
Store the tensor's metadata.
AccessWindowAutoPadding(ITensorInfo *info)
Default constructor.
Copyright (c) 2017-2021 Arm Limited.
virtual void set_valid_region(const ValidRegion &valid_region)=0
Set the valid region of the tensor.
bool update_padding_if_needed(const Window &window) override
Increase the padding to be large enough for the window.
virtual bool is_resizable() const =0
Flag indicating whether the size of the tensor can be changed.
virtual bool auto_padding()=0
Update the offset to the first element and the strides to automatically computed values.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
virtual const TensorShape & tensor_shape() const =0
Size for each dimension of the tensor.
bool update_window_if_needed(Window &window) const override
Shrink the window if padding is not large enough.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Container for valid region of a window.
void set_valid_region()
Set the valid region to match the entire tensor.
Describe a multidimensional execution window.