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::cker::Shape
 
struct  nnfw::cker::UNUSED_ALL
 

Namespaces

namespace  nnfw
 
namespace  nnfw::cker
 

Functions

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