ONE - On-device Neural Engine
|
#include <ContiguousSpan.h>
Public Types | |
using | pointer_type = typename std::conditional< isConst, const T *, T * >::type |
using | reference_type = typename std::conditional< isConst, const T &, T & >::type |
using | iterator_type = pointer_type |
Public Member Functions | |
ContiguousSpan (pointer_type data, size_t len) noexcept | |
template<typename It > | |
ContiguousSpan (It first, It last) noexcept | |
ContiguousSpan (const ContiguousSpan &)=delete | |
ContiguousSpan (ContiguousSpan &&s) noexcept | |
operator ContiguousSpan< T, true > () | |
reference_type | operator[] (size_t idx) const noexcept |
reference_type | at (size_t idx) const noexcept |
ContiguousSpan< T, isConst > | offset (size_t offset) |
template<typename From , bool _ = isConst> | |
std::enable_if<!_, void >::type | assign (const From &f) noexcept |
template<typename U , bool _ = isConst> | |
std::enable_if<!_, ContiguousSpan & >::type | operator= (std::initializer_list< U > list) noexcept |
template<typename It , bool _ = isConst> | |
std::enable_if<!_, void >::type | assignFrom (It first, It last) noexcept |
size_t | size () const |
iterator_type | begin () const |
iterator_type | end () const |
pointer_type | data () |
Definition at line 29 of file ContiguousSpan.h.
using ndarray::ContiguousSpan< T, isConst >::iterator_type = pointer_type |
Definition at line 34 of file ContiguousSpan.h.
using ndarray::ContiguousSpan< T, isConst >::pointer_type = typename std::conditional<isConst, const T *, T *>::type |
Definition at line 32 of file ContiguousSpan.h.
using ndarray::ContiguousSpan< T, isConst >::reference_type = typename std::conditional<isConst, const T &, T &>::type |
Definition at line 33 of file ContiguousSpan.h.
|
inlinenoexcept |
Definition at line 36 of file ContiguousSpan.h.
|
inlineexplicitnoexcept |
Definition at line 39 of file ContiguousSpan.h.
|
delete |
|
inlinenoexcept |
Definition at line 46 of file ContiguousSpan.h.
|
inlinenoexcept |
Definition at line 61 of file ContiguousSpan.h.
References ndarray::ContiguousSpan< T, isConst >::assignFrom().
|
inlinenoexcept |
Definition at line 75 of file ContiguousSpan.h.
References ndarray::ContiguousSpan< T, isConst >::begin().
Referenced by ndarray::ContiguousSpan< T, isConst >::assign(), and ndarray::ContiguousSpan< T, isConst >::operator=().
|
inlinenoexcept |
Definition at line 52 of file ContiguousSpan.h.
|
inline |
Definition at line 82 of file ContiguousSpan.h.
Referenced by ndarray::ContiguousSpan< T, isConst >::assignFrom().
|
inline |
Definition at line 86 of file ContiguousSpan.h.
|
inline |
Definition at line 84 of file ContiguousSpan.h.
|
inline |
Definition at line 54 of file ContiguousSpan.h.
References ndarray::ContiguousSpan< T, isConst >::offset().
Referenced by ndarray::ContiguousSpan< T, isConst >::offset().
|
inline |
Definition at line 48 of file ContiguousSpan.h.
|
inlinenoexcept |
Definition at line 68 of file ContiguousSpan.h.
References ndarray::ContiguousSpan< T, isConst >::assignFrom().
|
inlinenoexcept |
Definition at line 50 of file ContiguousSpan.h.
|
inline |
Definition at line 80 of file ContiguousSpan.h.