24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_TEST_DATASET_LIST
25 #define ARM_COMPUTE_TEST_DATASET_LIST
30 #include <initializer_list>
49 using data_const_iterator =
typename std::vector<T>::const_iterator;
66 using type = std::tuple<T>;
96 return std::make_tuple(*_iterator);
111 data_const_iterator _iterator;
133 std::vector<T> _data;
143 template <
typename T>
Abstract implementation of a named dataset.
iterator(std::string name, data_const_iterator iterator)
Construct an iterator for the dataset.
std::string name() const
Return name of the dataset.
InitializerListDataset(std::string name, std::initializer_list< T > &&list)
Construct dataset with given name and values from the container.
int size() const
Size of the dataset.
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
Implementation of a dataset created from an initializer list.
Copyright (c) 2017-2024 Arm Limited.
std::string to_string(const ClComponentElementwiseBinary::Attributes::ElementwiseOp &op)
Formatted output of the arm_compute::experimental::dynamic_fusion::ClComponentElementwiseBinary::Attr...
iterator begin() const
Iterator pointing at the begin of the dataset.
InitializerListDataset::type operator*() const
Get the current value.
std::tuple< T > type
Type of the dataset.
std::string description() const
Get a description of the current value.
iterator & operator++()
Increment the iterator.
Iterator for the dataset.