ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Shape.h File Reference
#include <algorithm>
#include <cstring>
#include <cassert>
#include <vector>

Go to the source code of this file.

Data Structures

class  nnfw::ruy::Shape
 
struct  nnfw::ruy::UNUSED_ALL
 

Namespaces

namespace  nnfw
 
namespace  nnfw::ruy
 

Functions

int nnfw::ruy::MatchingDim (const Shape &shape1, int index1, const Shape &shape2, int index2)
 
template<typename... Args>
int nnfw::ruy::MatchingDim (const Shape &shape1, int index1, const Shape &shape2, int index2, Args... args)
 
Shape nnfw::ruy::GetShape (const std::vector< int32_t > &data)
 
int nnfw::ruy::Offset (const Shape &shape, int i0, int i1, int i2, int i3)
 
int nnfw::ruy::Offset (const Shape &shape, int *index)
 
int nnfw::ruy::FlatSizeSkipDim (const Shape &shape, int skip_dim)
 
template<typename... Ts>
bool nnfw::ruy::checkMatching (const Shape &shape, Ts... check_shapes)
 
template<typename... Ts>
int nnfw::ruy::MatchingFlatSize (const Shape &shape, Ts... check_shapes)
 
int nnfw::ruy::MatchingFlatSizeSkipDim (const Shape &shape, int skip_dim, const Shape &check_shape_0)
 
int nnfw::ruy::MatchingFlatSizeSkipDim (const Shape &shape, int skip_dim, const Shape &check_shape_0, const Shape &check_shape_1)
 
int nnfw::ruy::MatchingElementsSize (const Shape &shape, const Shape &check_shape_0, const Shape &check_shape_1)