|
ONE - On-device Neural Engine
|
Go to the source code of this file.
Data Structures | |
| struct | Dims< N > |
Functions | |
| Dims< 4 > | convertShapeToDims (const Shape &shape) |
| int | Offset (const Dims< 4 > &dims, int i0, int i1, int i2, int i3) |
| template<int N> | |
| int | ArraySize (const Dims< N > &array, int index) |
| template<int N> | |
| int | FlatSize (const Dims< N > &dims) |
| int | RequiredBufferSizeForDims (const Dims< 4 > &dims) |
| template<int N> | |
| int | MatchingFlatSize (const Dims< N > &dims, const Dims< N > &check_dims_0) |
| template<int N> | |
| int | MatchingFlatSize (const Dims< N > &dims, const Dims< N > &check_dims_0, const Dims< N > &check_dims_1) |
| template<int N> | |
| int | MatchingFlatSize (const Dims< N > &dims, const Dims< N > &check_dims_0, const Dims< N > &check_dims_1, const Dims< N > &check_dims_2) |
| template<int N> | |
| int | MatchingFlatSize (const Dims< N > &dims, const Dims< N > &check_dims_0, const Dims< N > &check_dims_1, const Dims< N > &check_dims_2, const Dims< N > &check_dims_3) |
| template<int N> | |
| bool | IsPackedWithoutStrides (const Dims< N > &dims) |
| int ArraySize | ( | const Dims< N > & | array, |
| int | index | ||
| ) |
Definition at line 76 of file Dims.h.
References DCHECK, and Dims< N >::sizes.
Referenced by AveragePool(), BroadcastAdd(), BroadcastDiv(), BroadcastMul(), BroadcastSub(), Concatenation(), Conv(), optimized_ops::DepthwiseConv(), FullyConnected(), Im2col(), MatchingArraySize(), MatchingArraySize(), MatchingFlatSize(), MatchingFlatSize(), MatchingFlatSize(), MatchingFlatSize(), MaxPool(), and NdArrayDescsForElementwiseBroadcast().
Definition at line 31 of file Dims.h.
References Shape::dimensions, and getSizeOfDimension().
Referenced by concatenationFloat32(), padGeneric(), and softmaxFloat32().
|
inline |
Definition at line 83 of file Dims.h.
Referenced by MatchingFlatSize(), MatchingFlatSize(), and MatchingFlatSize().
| bool IsPackedWithoutStrides | ( | const Dims< N > & | dims | ) |
|
inline |
Definition at line 108 of file Dims.h.
References ArraySize(), DCHECK_EQ, and FlatSize().
Referenced by onert::backend::cpu::ops::ElementwiseActivationLayer::EvalUsingLookupTable(), MatchingFlatSize(), and onert::backend::cpu::ops::QuantizeLayer::run().
|
inline |
Definition at line 119 of file Dims.h.
References ArraySize(), DCHECK_EQ, and MatchingFlatSize().
|
inline |
Definition at line 131 of file Dims.h.
References ArraySize(), DCHECK_EQ, and FlatSize().
|
inline |
Definition at line 143 of file Dims.h.
References ArraySize(), DCHECK_EQ, and FlatSize().
|
inline |
Definition at line 64 of file Dims.h.
References DCHECK.
Referenced by AveragePool(), BroadcastAdd(), BroadcastDiv(), BroadcastMul(), BroadcastSub(), ExtractPatchIntoBufferColumn(), and MaxPool().