24 #ifndef __ARM_COMPUTE_IDISTRIBUTION1D_H__ 25 #define __ARM_COMPUTE_IDISTRIBUTION1D_H__ 60 uint32_t
range()
const;
75 size_t size()
const override;
size_t dimensions() const override
Returns the dimensions of the distribution.
uint32_t window() const
Returns the window of the distribution, which is the range divided by the number of bins...
int32_t offset() const
Returns the offset of the distribution.
1D Distribution interface
size_t num_bins() const
Returns the number of bins that the distribution has.
IDistribution1D(size_t num_bins, int32_t offset, uint32_t range)
Constructor: Creates a 1D Distribution of a consecutive interval [offset, offset + range - 1] defined...
uint32_t range() const
Returns the range of the distribution.
Interface for distribution objects.
void set_range(uint32_t range)
Sets the range of the distribution.
size_t size() const override
Returns the total size in bytes of the distribution.