24 #ifndef __ARM_COMPUTE_DISTRIBUTION1D_H__ 25 #define __ARM_COMPUTE_DISTRIBUTION1D_H__ 49 uint32_t *
buffer()
const override;
52 std::unique_ptr<uint32_t[]> _data;
uint32_t * buffer() const override
Returns a pointer to the start of the distribution.
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.
uint32_t range() const
Returns the range of the distribution.
Distribution1D(size_t num_bins, int32_t offset, uint32_t range)
Constructor: Creates a 1D Distribution of a consecutive interval [offset, offset + range - 1] defined...
Basic implementation of the 1D distribution interface.