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;
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.
const TensorShape & tensor_shape() const
Return the TensorShape of the o-th level tensor.
size_t height() const
Return the height of the 0th level tensor.
Format
Image colour formats.
Format format() const
Return the image format of all tensor in the pyramid.
size_t width() const
Return the width of the 0th level tensor.
PyramidInfo & operator=(const PyramidInfo &)=default
Allow instances of this class to be copied.
Store the Pyramid's metadata.
size_t num_levels() const
Return the number of the pyramid levels.
float scale() const
Return the scale factor of the pyramid.
PyramidInfo()
Default constructor.