ONE - On-device Neural Engine
|
Data Structures | |
class | Array |
class | ContiguousSpan |
class | Shape |
struct | Strides |
Typedefs | |
template<size_t... Nums> | |
using | index_sequence = std::index_sequence< Nums... > |
template<size_t _Num> | |
using | make_index_sequence = std::make_index_sequence< _Num > |
Functions | |
template<typename To , typename From > | |
Array< To > | array_cast (Array< From > &&from, Shape newShape) |
template<typename To , typename From > | |
Array< const To > | array_cast (const Array< From > &from, Shape newShape) |
using ndarray::index_sequence = typedef std::index_sequence<Nums...> |
using ndarray::make_index_sequence = typedef std::make_index_sequence<_Num> |
Array< To > ndarray::array_cast | ( | Array< From > && | from, |
Shape | newShape | ||
) |
Definition at line 155 of file Array.h.
References ndarray::Shape::element_count().
Array< const To > ndarray::array_cast | ( | const Array< From > & | from, |
Shape | newShape | ||
) |
Definition at line 162 of file Array.h.
References ndarray::Shape::element_count(), ndarray::Array< T >::flat(), and ndarray::Array< T >::shape().