Compute Library
18.05
|
Implementation of a dataset created from a range of values. More...
#include <RangeDataset.h>
Data Structures | |
struct | iterator |
Iterator for the dataset. More... | |
Public Types | |
using | type = std::tuple< T > |
Type of the dataset. More... | |
Public Member Functions | |
RangeDataset (std::string name, T start, T end, T step=1) | |
Construct dataset with given name and values in the specified range. More... | |
RangeDataset (RangeDataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
iterator | begin () const |
Iterator pointing at the begin of the dataset. More... | |
int | size () const |
Size of the dataset. More... | |
Public Member Functions inherited from NamedDataset | |
NamedDataset (NamedDataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
std::string | name () const |
Return name of the dataset. More... | |
Public Member Functions inherited from Dataset | |
Dataset (Dataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
Implementation of a dataset created from a range of values.
The range is inclusive of the first value but exclusive of the last, i.e. [start, end).
Definition at line 48 of file RangeDataset.h.
using type = std::tuple<T> |
Type of the dataset.
Definition at line 67 of file RangeDataset.h.
|
inline |
Construct dataset with given name and values in the specified range.
[in] | name | Description of the values. |
[in] | start | Begin of the range. |
[in] | end | End of the range. |
[in] | step | Step size. |
Definition at line 58 of file RangeDataset.h.
|
default |
Allow instances of this class to be move constructed.
|
inline |
Iterator pointing at the begin of the dataset.
Definition at line 122 of file RangeDataset.h.
References RangeDataset< T >::iterator::iterator(), and NamedDataset::name().
|
inline |
Size of the dataset.
Definition at line 131 of file RangeDataset.h.
References arm_compute::test::fixed_point_arithmetic::detail::abs().