ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Array.h File Reference
#include "Common.h"
#include "ContiguousSpan.h"
#include "Shape.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <cstddef>
#include <tuple>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Data Structures

struct  ndarray::Strides
 
struct  ndarray::Strides::_calc_offset< index_sequence< Num, Nums... >, T, Ts... >
 
struct  ndarray::Strides::_calc_offset< index_sequence< Num >, T >
 
class  ndarray::Array< T >
 

Namespaces

namespace  ndarray
 

Typedefs

template<size_t... Nums>
using ndarray::index_sequence = std::index_sequence< Nums... >
 
template<size_t _Num>
using ndarray::make_index_sequence = std::make_index_sequence< _Num >
 

Functions

template<typename To , typename From >
Array< To > ndarray::array_cast (Array< From > &&from, Shape newShape)
 
template<typename To , typename From >
Array< const To > ndarray::array_cast (const Array< From > &from, Shape newShape)