24 #ifndef ARM_COMPUTE_PYRAMIDINFO_H 25 #define ARM_COMPUTE_PYRAMIDINFO_H 83 void init(
size_t num_levels,
float scale,
size_t width,
size_t height,
Format format);
102 size_t width()
const;
const TensorShape & tensor_shape() const
Return the TensorShape of the o-th level tensor.
virtual ~PyramidInfo()=default
Default destructor.
void init(size_t num_levels, float scale, size_t width, size_t height, Format format)
Initialize pyramid's metadata for 2D tensors.
Format format() const
Return the image format of all tensor in the pyramid.
Copyright (c) 2017-2021 Arm Limited.
Format
Image colour formats.
float scale() const
Return the scale factor of the pyramid.
PyramidInfo & operator=(const PyramidInfo &)=default
Allow instances of this class to be copied.
Store the Pyramid's metadata.
size_t width() const
Return the width of the 0th level tensor.
size_t num_levels() const
Return the number of the pyramid levels.
PyramidInfo()
Default constructor.
size_t height() const
Return the height of the 0th level tensor.