ONE - On-device Neural Engine
|
#include <OMRuntimeShape.h>
Public Member Functions | |
OMRuntimeShape (const OMRuntimeShape &other) | |
OMRuntimeShape (const circle::Tensor *tensor) | |
int | flatSize () const |
int32_t * | dimsData () |
const int32_t * | dimsData () const |
OMRuntimeShape () | |
OMRuntimeShape (int dimensions_count) | |
OMRuntimeShape (int dimensions_count, const int32_t *dims_data) | |
OMRuntimeShape (int new_shape_size, const OMRuntimeShape &shape, int pad_value) | |
OMRuntimeShape (int shape_size, int32_t value) | |
bool | operator== (const OMRuntimeShape &comp) const |
int32_t | dimensionsCount () const |
int32_t | dims (int i) const |
void | setDim (int i, int32_t val) |
void | resize (int dimensions_count) |
Static Public Member Functions | |
static OMRuntimeShape | extendedShape (int new_shape_size, const OMRuntimeShape &shape) |
Definition at line 33 of file OMRuntimeShape.h.
|
inline |
Definition at line 40 of file OMRuntimeShape.h.
References dimsData().
|
inline |
Definition at line 45 of file OMRuntimeShape.h.
|
inline |
|
inlineexplicit |
Definition at line 82 of file OMRuntimeShape.h.
|
inline |
Definition at line 88 of file OMRuntimeShape.h.
References dimsData(), and resize().
|
inline |
Definition at line 95 of file OMRuntimeShape.h.
References dimensionsCount(), dimsData(), resize(), and setDim().
|
inline |
|
inline |
Definition at line 127 of file OMRuntimeShape.h.
Referenced by onert_micro::execute::pal::ArgMinMax(), onert_micro::execute::pal::BatchToSpaceND(), onert_micro::import::helpers::configure_arg_kernel_common(), onert_micro::import::helpers::configure_pooling_kernel_common(), onert_micro::import::helpers::configure_spaces_batches_nd_kernel_common(), onert_micro::train::pal::Conv2DBiasGrad(), onert_micro::execute::pal::Floor(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected< int8_t >(), onert_micro::execute::pal::GatherND(), onert_micro::train::pal::GRUWeightGrads(), OMRuntimeShape(), onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::pal::ReduceDimensionsForBroadcast(), onert_micro::train::pal::SoftmaxInputGrad(), onert_micro::execute::pal::SpaceToBatchND(), onert_micro::execute::pal::Split(), onert_micro::execute::pal::TransposeImpl(), and onert_micro::execute::pal::Unpack().
|
inline |
Definition at line 129 of file OMRuntimeShape.h.
Referenced by onert_micro::execute::pal::ArgMinMax(), onert_micro::execute::pal::AveragePool(), onert_micro::execute::pal::AveragePool(), onert_micro::execute::pal::BatchToSpaceND(), onert_micro::execute::pal::BroadcastArithmeticOp4DSlow(), onert_micro::execute::pal::BroadcastBinaryOp4DSlow(), onert_micro::train::pal::Conv2DBiasGrad(), onert_micro::train::pal::Conv2DInputGrad(), onert_micro::train::pal::Conv2DWeightGrad(), onert_micro::execute::pal::ConvFloat(), onert_micro::execute::pal::ConvPerChannel(), onert_micro::execute::pal::copyDimsToDesc(), onert_micro::execute::pal::DepthwiseConv2D< float >(), onert_micro::execute::pal::DepthwiseConvPerChannel(), onert_micro::execute::pal::Floor(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected(), onert_micro::execute::pal::FullyConnected< int8_t >(), onert_micro::train::pal::FullyConnectedInputGrad(), onert_micro::train::pal::FullyConnectedWeightGrad(), onert_micro::execute::pal::GatherND(), onert_micro::execute::pal::GRU(), onert_micro::train::pal::GRUWeightGrads(), onert_micro::execute::pal::L2Pool(), onert_micro::execute::pal::MatchingDim(), onert_micro::execute::pal::MaxPool(), onert_micro::execute::pal::MaxPool(), onert_micro::train::pal::MaxPool2D(), onert_micro::execute::pal::Slice(), onert_micro::train::pal::SoftmaxInputGrad(), onert_micro::execute::pal::SpaceToBatchND(), onert_micro::execute::pal::SpaceToDepth(), onert_micro::execute::pal::Split(), onert_micro::execute::pal::StridedSlice(), onert_micro::execute::pal::SVDF(), onert_micro::execute::pal::TransposeConv< float >(), onert_micro::execute::pal::Unpack(), onert_micro::train::optimizers::Adam::updateWeights(), and onert_micro::train::optimizers::SGD::updateWeights().
|
inline |
Definition at line 77 of file OMRuntimeShape.h.
Referenced by onert_micro::execute::pal::BatchToSpaceND(), onert_micro::execute::pal::BroadcastMul6DSlow(), onert_micro::execute::pal::DepthwiseConv2D< float >(), flatSize(), onert_micro::execute::pal::L2Pool(), OMRuntimeShape(), OMRuntimeShape(), OMRuntimeShape(), operator==(), onert_micro::execute::pal::ReduceDimensionsForBroadcast(), onert_micro::execute::pal::SpaceToBatchND(), onert_micro::execute::pal::SpaceToDepth(), and onert_micro::execute::pal::TransposeConv< float >().
|
inline |
Definition at line 78 of file OMRuntimeShape.h.
|
inlinestatic |
Definition at line 116 of file OMRuntimeShape.h.
References OMRuntimeShape().
Referenced by onert_micro::execute::pal::BroadcastArithmeticOp4DSlow(), onert_micro::execute::pal::BroadcastBinaryOp4DSlow(), onert_micro::execute::pal::BroadcastMul6DSlow(), onert_micro::execute::pal::NdArrayDescsForElementwiseBroadcast(), onert_micro::execute::pal::Pad(), onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::pal::Slice(), onert_micro::execute::pal::SpaceToDepth(), onert_micro::execute::pal::StridedSlice(), and onert_micro::execute::pal::TransposeImpl().
|
inline |
Definition at line 64 of file OMRuntimeShape.h.
References dimsData().
Referenced by onert_micro::execute::pal::Abs(), onert_micro::core::memory::OMRuntimeAllocator::allocate(), onert_micro::core::memory::OMRuntimeAllocator::allocateGraphInputs(), onert_micro::execute::pal::Cast(), onert_micro::execute::pal::Ceil(), onert_micro::core::memory::OMRuntimeAllocator::clearAllTensorsData(), onert_micro::import::helpers::configure_arg_kernel_common(), onert_micro::train::pal::Conv2DBiasGrad(), onert_micro::train::pal::Conv2DInputGrad(), onert_micro::train::pal::Conv2DWeightGrad(), onert_micro::execute::pal::Cos(), onert_micro::execute::evalComparisonGeneric(), onert_micro::execute::evalQuantizedComparisonGeneric(), onert_micro::core::train::OMTrainingHandler::evaluateMetric(), onert_micro::execute::execute_relu_common(), onert_micro::execute::execute_reshape_common(), onert_micro::execute::pal::Exp(), onert_micro::execute::pal::Floor(), onert_micro::execute::pal::GatherND(), onert_micro::core::OMRuntimeGraph::getInputSizeAt(), onert_micro::core::OMRuntimeGraph::getOutputSizeAt(), onert_micro::train::pal::GRUWeightGrads(), onert_micro::train::optimizers::Adam::handle(), onert_micro::train::optimizers::SGD::handle(), onert_micro::core::train::OMTrainingHandler::handleError(), onert_micro::execute::pal::Log(), onert_micro::execute::pal::Neg(), onert_micro::execute::pal::processBroadcastShapes(), onert_micro::train::pal::ReluInputGrad(), onert_micro::execute::pal::Round< float >(), onert_micro::execute::pal::Sin(), onert_micro::execute::pal::SISOOperation(), onert_micro::execute::pal::Sqrt(), onert_micro::execute::pal::Square(), onert_micro::execute::pal::Tanh(), onert_micro::execute::pal::UnaryOp(), onert_micro::train::optimizers::Adam::updateWeights(), and onert_micro::train::optimizers::SGD::updateWeights().
|
inline |
Definition at line 121 of file OMRuntimeShape.h.
References dimsData().
|
inline |
Definition at line 143 of file OMRuntimeShape.h.
Referenced by OMRuntimeShape(), OMRuntimeShape(), and OMRuntimeShape().
|
inline |
Definition at line 136 of file OMRuntimeShape.h.
Referenced by onert_micro::execute::pal::GRU(), onert_micro::train::pal::GRUWeightGrads(), OMRuntimeShape(), and OMRuntimeShape().