ONE - On-device Neural Engine
|
Go to the source code of this file.
Functions | |
bool | SameShape (const Shape &in1, const Shape &in2) |
bool | SetShape (const Shape &in, Shape *out) |
uint32_t | getNumberOfElements (const Shape &shape) |
uint32_t | getNumberOfDimensions (const Shape &shape) |
uint32_t | getSizeOfDimension (const Shape &shape, uint32_t dimensionIdx) |
uint32_t getNumberOfDimensions | ( | const Shape & | shape | ) |
Definition at line 58 of file Shape.cpp.
References Shape::dimensions, and getNumberOfDimensions().
Referenced by addPrepare(), concatenationFloat32(), concatenationPrepare(), convPrepare(), depthwiseConvPrepare(), divPrepare(), fullyConnectedPrepare(), genericActivationPrepare(), genericPoolingPrepare(), onert::backend::cpu::ops::getNumberOfDimensions(), getNumberOfDimensions(), onert::backend::cpu::ops::HaveSameShapes(), mulPrepare(), padGeneric(), padPrepare(), onert::backend::cpu::ops::SoftMaxLayer::softmaxFloat32(), softmaxFloat32(), and subPrepare().
uint32_t getNumberOfElements | ( | const Shape & | shape | ) |
Definition at line 48 of file Shape.cpp.
References Shape::dimensions, and getNumberOfElements().
Referenced by fullyConnectedPrepare(), onert::backend::cpu::ops::getNumberOfElements(), getNumberOfElements(), relu6Float32(), reluFloat32(), reshapePrepare(), onert::backend::cpu::ops::SoftMaxLayer::softmaxFloat32(), and softmaxFloat32().
uint32_t getSizeOfDimension | ( | const Shape & | shape, |
uint32_t | dimensionIdx | ||
) |
Definition at line 60 of file Shape.cpp.
References Shape::dimensions, and getSizeOfDimension().
Referenced by addPrepare(), concatenationPrepare(), convertShapeToDims(), convPrepare(), depthwiseConvPrepare(), divPrepare(), fullyConnectedPrepare(), genericPoolingPrepare(), onert::backend::cpu::ops::getSizeOfDimension(), getSizeOfDimension(), mulPrepare(), padPrepare(), onert::backend::cpu::ops::SoftMaxLayer::softmaxFloat32(), softmaxFloat32(), and subPrepare().
Definition at line 22 of file Shape.cpp.
References Shape::dimensions, and Shape::type.
Referenced by addFloat32(), addPrepare(), divFloat32(), divPrepare(), mulFloat32(), mulPrepare(), subFloat32(), and subPrepare().
Definition at line 38 of file Shape.cpp.
References Shape::dimensions, and Shape::type.
Referenced by addPrepare(), divPrepare(), genericActivationPrepare(), mulPrepare(), and subPrepare().