ONE - On-device Neural Engine
|
Namespaces | |
namespace | pal |
namespace | testing |
Data Structures | |
class | KernelBuiltinExecuteRegistry |
class | KernelCustomExecuteRegistry |
struct | OMExecuteArgs |
struct | OMKernelExecute |
class | OMRuntimeKernel |
Typedefs | |
using | KernelExecuteFunc = OMStatus(const OMExecuteArgs &) |
Functions | |
OMStatus | execute_arg_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::OMRuntimeShape &input1_shape, const float *input1_data, const int *input2_data, const core::OMRuntimeShape &output_shape, int *output_data)> &f_float) |
template<typename T > | |
void | readDataKernel (OMRuntimeKernel *runtime_kernel, const T *&cast_input_data1, const T *&cast_input_data2, bool *&cast_output_data, core::OMRuntimeShape &input1_shape_ref, core::OMRuntimeShape &input2_shape_ref, core::OMRuntimeShape &output_shape_ref) |
template<typename T > | |
void | evalComparisonGeneric (OMRuntimeKernel *runtime_kernel, bool F(T, T)) |
template<typename T , typename AccType > | |
void | evalQuantizedComparisonGeneric (OMRuntimeKernel *runtime_kernel, bool F(AccType, AccType)) |
OMStatus | createConvParams (core::ConvQuant ¶ms, const circle::Tensor *input, const circle::Tensor *filter, const circle::Tensor *output, circle::ActivationFunctionType act_type) |
OMStatus | execute_math_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::OMRuntimeShape &input_shape, const float *input_data, const core::OMRuntimeShape &output_shape, float *output_data)> &f_float) |
OMStatus | execute_pooling_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::Pool2DParams ¶ms, const core::OMRuntimeShape &input_shape, const float *input_data, const core::OMRuntimeShape &output_shape, float *output_data)> &f_float, const std::function< OMStatus(const core::Pool2DParams ¶ms, const core::OMRuntimeShape &input_shape, const int8_t *input_data, const core::OMRuntimeShape &output_shape, int8_t *output_data)> &f_int8) |
OMStatus | readKernelDataTISO (const OMExecuteArgs &execute_args, uint8_t *&input_data1, uint8_t *&input_data2, uint8_t *&output_data, core::OMRuntimeShape &input1_shape_ref, core::OMRuntimeShape &input2_shape_ref, core::OMRuntimeShape &output_shape_ref, circle::TensorType &tensor_type) |
OMStatus | execute_relu_common (const OMExecuteArgs &execute_args, bool is_relu_6) |
OMStatus | execute_reshape_common (const OMExecuteArgs &execute_args) |
OMStatus | execute_spaces_batches_nd_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::OMRuntimeShape &unextended_input1_shape, const float *input1_data, const core::OMRuntimeShape &unextended_input2_shape, const int32_t *block_shape_data, const core::OMRuntimeShape &unextended_input3_shape, const int32_t *crops_data, const core::OMRuntimeShape &unextended_output_shape, float *output_data)> &f) |
void | readQuantParams (const circle::Tensor *tensor, long &zero_point, float &scale) |
template<typename T > | |
OMStatus | calculateActivationRange (circle::ActivationFunctionType activation, T *activation_min, T *activation_max) |
double | getQuantizedConvolutionMultipler (float input_scale, float filter_scale, float output_scale) |
void | quantizeMultiplier (double double_multiplier, int32_t *quantized_multiplier, int *shift) |
void | quantizeMultiplierSmallerThanOneExp (double double_multiplier, int32_t *quantized_multiplier, int *left_shift) |
std::vector< double > | getQuantizedConvolutionMultiplers (float input_scale, const flatbuffers::Vector< float > *filter_scale, float output_scale) |
OMStatus | calculateActivationRangeQuantized (circle::ActivationFunctionType activation, int32_t output_zero_point, float output_scale, circle::TensorType data_type, int32_t *activation_min, int32_t *activation_max) |
int | computeOutSize (circle::Padding padding, int image_size, int filter_size, int stride, int dilation_rate=1) |
int | computePadding (int32_t stride, int32_t dilation_rate, int32_t in_size, int32_t filter_size, int32_t out_size) |
void | computePaddingHeightWidth (int32_t stride_height, int32_t stride_width, int32_t dilation_rate_height, int32_t dilation_rate_width, int32_t in_height, int32_t in_width, int32_t filter_height, int32_t filter_width, circle::Padding padding, int32_t *padding_h, int32_t *padding_w) |
void | calculateQuantParams (core::ArithmeticQuantParams ¶ms, const circle::Tensor *input1, const circle::Tensor *input2, const circle::Tensor *output, circle::ActivationFunctionType act) |
OMStatus | SISOHeader (const OMExecuteArgs &execute_args, const circle::Tensor **input, const circle::Tensor **output, uint8_t **input_data, uint8_t **output_data) |
OMStatus | TISOHeader (const OMExecuteArgs &execute_args, const circle::Tensor **input1, const circle::Tensor **input2, const circle::Tensor **output, OMRuntimeKernel *runtime_kernel) |
int | calculateInputRadius (int input_integer_bits, int input_left_shift, int total_signed_bits) |
OMStatus | execute_kernel_CircleAbs (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleAdd (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleAddN (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleArgMax (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleArgMin (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleAveragePool2D (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleBatchToSpaceND (const onert_micro::execute::OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleCast (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleCeil (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleConcatenation (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleConv2D (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleCos (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleDepthwiseConv2D (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleDequantize (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleDiv (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleElu (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleEqual (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleExp (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleExpandDims (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleFill (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleFloor (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleFloorDiv (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleFloorMod (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleFullyConnected (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleGather (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleGatherND (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleGreater (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleGreaterEqual (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleGRU (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleL2Normalize (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleL2Pool2D (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLeakyRelu (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLess (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLessEqual (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLog (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLogistic (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleLogSoftmax (const OMExecuteArgs &execute_args) |
OMStatus | execute_math_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::OMRuntimeShape &, const float *, const core::OMRuntimeShape &, float *)> &f_float) |
OMStatus | execute_kernel_CircleMaximum (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleMaxPool2D (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleMean (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleMinimum (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleMul (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleNeg (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleNotEqual (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CirclePack (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CirclePad (const OMExecuteArgs &execute_args) |
OMStatus | execute_pooling_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::Pool2DParams &, const core::OMRuntimeShape &, const float *, const core::OMRuntimeShape &, float *)> &f_float, const std::function< OMStatus(const core::Pool2DParams &, const core::OMRuntimeShape &, const int8_t *, const core::OMRuntimeShape &, int8_t *)> &f_int8) |
OMStatus | execute_kernel_CircleQuantize (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleReduceProd (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleRelu (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleRelu6 (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleReshape (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleRound (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleRsqrt (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSelectV2 (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleShape (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSin (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSlice (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSoftmax (const OMExecuteArgs &execute_args) |
OMStatus | execute_spaces_batches_nd_common (const OMExecuteArgs &execute_args, const std::function< OMStatus(const core::OMRuntimeShape &unextended_input1_shape, const float *input1_data, const core::OMRuntimeShape &unextended_input2_shape, const int32_t *block_shape_data, const core::OMRuntimeShape &unextended_input3_shape, const int32_t *crops_data, const core::OMRuntimeShape &unextended_output_shape, float *output_data)> &func) |
OMStatus | execute_kernel_CircleSpaceToBatchND (const onert_micro::execute::OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSpaceToDepth (const onert_micro::execute::OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSplit (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSplitV (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSqrt (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSquare (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSquaredDifference (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleStridedSlice (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSub (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSum (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleSVDF (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleTanh (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleTranspose (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleTransposeConv (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleUnpack (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleWhile (const OMExecuteArgs &execute_args) |
OMStatus | execute_kernel_CircleZerosLike (const OMExecuteArgs &execute_args) |
Variables | |
constexpr KernelBuiltinExecuteRegistry | kernel_builtin_execute |
constexpr KernelCustomExecuteRegistry | kernel_custom_execute |
using onert_micro::execute::KernelExecuteFunc = typedef OMStatus(const OMExecuteArgs &) |
Definition at line 31 of file OMKernelExecutionBuilder.h.
OMStatus onert_micro::execute::calculateActivationRange | ( | circle::ActivationFunctionType | activation, |
T * | activation_min, | ||
T * | activation_max | ||
) |
Definition at line 36 of file OMUtils.h.
References onert_micro::Ok, and onert_micro::UnsupportedActivation.
Referenced by execute_kernel_CircleAdd(), execute_kernel_CircleConv2D(), execute_kernel_CircleDepthwiseConv2D(), execute_kernel_CircleDiv(), execute_kernel_CircleFullyConnected(), execute_kernel_CircleMul(), execute_kernel_CircleSquaredDifference(), execute_kernel_CircleSub(), execute_kernel_CircleTransposeConv(), and execute_pooling_common().
OMStatus onert_micro::execute::calculateActivationRangeQuantized | ( | circle::ActivationFunctionType | activation, |
int32_t | output_zero_point, | ||
float | output_scale, | ||
circle::TensorType | data_type, | ||
int32_t * | activation_min, | ||
int32_t * | activation_max | ||
) |
Definition at line 112 of file OMUtils.cpp.
References onert_micro::UnsupportedType.
Referenced by calculateQuantParams(), createConvParams(), and execute_pooling_common().
|
inline |
Definition at line 170 of file OMUtils.h.
Referenced by execute_kernel_CircleSoftmax().
void onert_micro::execute::calculateQuantParams | ( | core::ArithmeticQuantParams & | params, |
const circle::Tensor * | input1, | ||
const circle::Tensor * | input2, | ||
const circle::Tensor * | output, | ||
circle::ActivationFunctionType | act | ||
) |
Definition at line 194 of file OMUtils.cpp.
References calculateActivationRangeQuantized(), onert_micro::core::ArithmeticQuantParams::input1_multiplier, onert_micro::core::ArithmeticQuantParams::input1_offset, onert_micro::core::ArithmeticQuantParams::input1_shift, onert_micro::core::ArithmeticQuantParams::input2_multiplier, onert_micro::core::ArithmeticQuantParams::input2_offset, onert_micro::core::ArithmeticQuantParams::input2_shift, onert_micro::core::ArithmeticQuantParams::left_shift, onert_micro::core::ArithmeticQuantParams::output_multiplier, onert_micro::core::ArithmeticQuantParams::output_offset, onert_micro::core::ArithmeticQuantParams::output_shift, onert_micro::core::ArithmeticQuantParams::quantized_activation_max, onert_micro::core::ArithmeticQuantParams::quantized_activation_min, quantizeMultiplierSmallerThanOneExp(), and readQuantParams().
Referenced by execute_kernel_CircleAdd(), and execute_kernel_CircleSub().
|
inline |
Definition at line 114 of file OMUtils.h.
Referenced by computePaddingHeightWidth().
|
inline |
Definition at line 133 of file OMUtils.h.
Referenced by computePaddingHeightWidth().
|
inline |
Definition at line 141 of file OMUtils.h.
References computeOutSize(), and computePadding().
Referenced by execute_kernel_CircleConv2D(), execute_kernel_CircleDepthwiseConv2D(), execute_kernel_CircleTransposeConv(), and execute_pooling_common().
OMStatus onert_micro::execute::createConvParams | ( | core::ConvQuant & | params, |
const circle::Tensor * | input, | ||
const circle::Tensor * | filter, | ||
const circle::Tensor * | output, | ||
circle::ActivationFunctionType | act_type | ||
) |
Definition at line 28 of file ConvolutionCommon.cpp.
References calculateActivationRangeQuantized(), getQuantizedConvolutionMultiplers(), onert_micro::core::ConvQuant::input_offset, onert_micro::Ok, onert_micro::core::ConvQuant::output_offset, onert_micro::core::ConvQuant::per_channel_output_multiplier, onert_micro::core::ConvQuant::per_channel_output_shift, onert_micro::core::ConvQuant::quantized_activation_max, onert_micro::core::ConvQuant::quantized_activation_min, quantizeMultiplier(), and onert_micro::core::ConvQuant::weights_offset.
Referenced by execute_kernel_CircleConv2D(), and execute_kernel_CircleDepthwiseConv2D().
void onert_micro::execute::evalComparisonGeneric | ( | OMRuntimeKernel * | runtime_kernel, |
bool | FT, T | ||
) |
Definition at line 82 of file ComparisonCommon.h.
References onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::core::ComparisonParams::is_broadcast, output_shape, and readDataKernel().
void onert_micro::execute::evalQuantizedComparisonGeneric | ( | OMRuntimeKernel * | runtime_kernel, |
bool | FAccType, AccType | ||
) |
Definition at line 114 of file ComparisonCommon.h.
References onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::core::ComparisonParams::input1_multiplier, onert_micro::core::ComparisonParams::input1_offset, onert_micro::core::ComparisonParams::input1_shift, onert_micro::core::ComparisonParams::input2_multiplier, onert_micro::core::ComparisonParams::input2_offset, onert_micro::core::ComparisonParams::input2_shift, onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::core::ComparisonParams::is_broadcast, onert_micro::core::ComparisonParams::left_shift, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, quantizeMultiplierSmallerThanOneExp(), and readDataKernel().
OMStatus onert_micro::execute::execute_arg_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::OMRuntimeShape &input1_shape, const float *input1_data, const int *input2_data, const core::OMRuntimeShape &output_shape, int *output_data)> & | f_float | ||
) |
Definition at line 37 of file ArgCommon.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
Referenced by execute_kernel_CircleArgMax(), and execute_kernel_CircleArgMin().
OMStatus onert_micro::execute::execute_kernel_CircleAbs | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Abs.cpp.
References onert_micro::execute::pal::Abs(), execute_math_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleAdd | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Add.cpp.
References onert_micro::execute::pal::Add(), onert_micro::execute::pal::BroadcastAdd4DSlow(), calculateActivationRange(), calculateQuantParams(), onert_micro::execute::OMRuntimeKernel::first_operator, luci_interpreter::RuntimeShape::flatSize(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::core::OMRuntimeStorage::getDynamicRuntimeShape(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_index, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleAddN | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 37 of file AddN.cpp.
References luci_interpreter::RuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_num, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleArgMax | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file ArgMax.cpp.
References onert_micro::execute::pal::ArgMax(), execute_arg_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleArgMin | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file ArgMin.cpp.
References onert_micro::execute::pal::ArgMin(), execute_arg_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleAveragePool2D | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file AveragePool2D.cpp.
References onert_micro::execute::pal::AveragePool(), execute_pooling_common(), output_shape, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleBatchToSpaceND | ( | const onert_micro::execute::OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file BatchToSpaceND.cpp.
References execute_spaces_batches_nd_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleCast | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 46 of file Cast.cpp.
References onert_micro::execute::pal::Cast(), SISOHeader(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleCeil | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Ceil.cpp.
References onert_micro::execute::pal::Ceil(), execute_math_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleConcatenation | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 81 of file Concatenation.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleConv2D | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 50 of file Conv2D.cpp.
References calculateActivationRange(), computePaddingHeightWidth(), onert_micro::execute::pal::ConvFloat(), onert_micro::execute::pal::ConvPerChannel(), createConvParams(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::core::ConvQuant::pad_h, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleCos | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Cos.cpp.
References onert_micro::execute::pal::Cos(), execute_math_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleDepthwiseConv2D | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 50 of file DepthwiseConv2D.cpp.
References calculateActivationRange(), computePaddingHeightWidth(), createConvParams(), onert_micro::execute::pal::DepthwiseConv2D< float >(), onert_micro::execute::pal::DepthwiseConvPerChannel(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::core::ConvQuant::pad_h, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleDequantize | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 43 of file Dequantize.cpp.
References onert_micro::execute::pal::Dequantize(), onert_micro::Ok, SISOHeader(), onert_micro::UnsupportedType, and onert_micro::core::QuantizationParams::zero_point.
OMStatus onert_micro::execute::execute_kernel_CircleDiv | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Div.cpp.
References onert_micro::execute::pal::BroadcastDiv4DSlow(), calculateActivationRange(), onert_micro::execute::pal::Div(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleElu | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 42 of file Elu.cpp.
References onert_micro::execute::pal::Elu(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleEqual | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Equal.cpp.
References onert_micro::execute::pal::EqualFn(), onert_micro::Ok, and TISOHeader().
OMStatus onert_micro::execute::execute_kernel_CircleExp | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Exp.cpp.
References execute_math_common(), onert_micro::execute::pal::Exp(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleExpandDims | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file ExpandDims.cpp.
References execute_reshape_common().
OMStatus onert_micro::execute::execute_kernel_CircleFill | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Fill.cpp.
References onert_micro::execute::pal::Fill(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleFloor | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Floor.cpp.
References execute_math_common(), onert_micro::execute::pal::Floor(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleFloorDiv | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 34 of file FloorDiv.cpp.
References onert_micro::execute::pal::BroadcastFloorDiv4DSlow(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::pal::FloorDiv(), onert_micro::Ok, output_shape, and readKernelDataTISO().
OMStatus onert_micro::execute::execute_kernel_CircleFloorMod | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 33 of file FloorMod.cpp.
References onert_micro::execute::pal::BroadcastFloorMod4DSlow(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::pal::FloorMod(), output_shape, and readKernelDataTISO().
OMStatus onert_micro::execute::execute_kernel_CircleFullyConnected | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 98 of file FullyConnected.cpp.
References calculateActivationRange(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::FullyConnectedParams::float_activation_max, onert_micro::core::FullyConnectedParams::float_activation_min, onert_micro::execute::pal::FullyConnected(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::core::FullyConnectedParams::is_channel_wise_quant, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::UnsupportedType, and onert_micro::core::FullyConnectedParams::weights_scales.
OMStatus onert_micro::execute::execute_kernel_CircleGather | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 70 of file Gather.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleGatherND | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 39 of file GatherND.cpp.
References output_shape, readKernelDataTISO(), and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleGreater | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Greater.cpp.
References onert_micro::execute::pal::GreaterFn(), onert_micro::Ok, and TISOHeader().
OMStatus onert_micro::execute::execute_kernel_CircleGreaterEqual | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file GreaterEqual.cpp.
References onert_micro::execute::pal::GreaterEqualFn(), onert_micro::Ok, and TISOHeader().
OMStatus onert_micro::execute::execute_kernel_CircleGRU | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 54 of file GRU.cpp.
References onert_micro::core::memory::OMMemoryManager::allocateMemory(), onert_micro::core::memory::OMMemoryManager::deallocateMemory(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::core::OMRuntimeContext::getCircleOperators(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::pal::GRU(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_index, onert_micro::execute::OMExecuteArgs::is_train_mode, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::execute::OMExecuteArgs::num_train_layers, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::core::OMRuntimeStorage::saveDataToTensorIndex(), flatbuffers::Vector< T >::size(), onert_micro::UnknownError, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleL2Normalize | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file L2Normalize.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::core::OMRuntimeShape::dimsData(), onert_micro::execute::pal::flatSizeSkipDim(), onert_micro::execute::pal::L2Normalization(), onert_micro::core::L2NormalizationParams::num_rows, onert_micro::core::L2NormalizationParams::row_size, SISOHeader(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleL2Pool2D | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file L2Pool2D.cpp.
References execute_pooling_common(), onert_micro::execute::pal::L2Pool(), output_shape, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleLeakyRelu | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file LeakyRelu.cpp.
References execute_relu_common().
OMStatus onert_micro::execute::execute_kernel_CircleLess | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Less.cpp.
References onert_micro::execute::pal::LessFn(), onert_micro::Ok, and TISOHeader().
OMStatus onert_micro::execute::execute_kernel_CircleLessEqual | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 42 of file LessEqual.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::execute::pal::LessEqualFn(), onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleLog | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Log.cpp.
References execute_math_common(), onert_micro::execute::pal::Log(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleLogistic | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Logistic.cpp.
References onert_micro::execute::pal::Logistic(), SISOHeader(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleLogSoftmax | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file LogSoftmax.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::pal::LogSoftmax(), onert_micro::core::LogSoftmaxParams::num_rows, onert_micro::core::LogSoftmaxParams::row_size, SISOHeader(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleMaximum | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 33 of file Maximum.cpp.
References onert_micro::execute::pal::BroadcastMaximum4DSlow(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::pal::Maximum(), output_shape, and readKernelDataTISO().
OMStatus onert_micro::execute::execute_kernel_CircleMaxPool2D | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file MaxPool2D.cpp.
References execute_pooling_common(), onert_micro::execute::pal::MaxPool(), output_shape, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleMean | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 55 of file Mean.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dimsData(), onert_micro::execute::OMRuntimeKernel::first_operator, luci_interpreter::RuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_index, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleMinimum | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 33 of file Minimum.cpp.
References onert_micro::execute::pal::BroadcastMinimum4DSlow(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::pal::Minimum(), output_shape, and readKernelDataTISO().
OMStatus onert_micro::execute::execute_kernel_CircleMul | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 80 of file Mul.cpp.
References onert_micro::execute::pal::BroadcastMul4DSlow(), onert_micro::execute::pal::BroadcastMul6DSlow(), calculateActivationRange(), onert_micro::execute::OMRuntimeKernel::first_operator, luci_interpreter::RuntimeShape::flatSize(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::execute::pal::Mul(), output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleNeg | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Neg.cpp.
References execute_math_common(), onert_micro::execute::pal::Neg(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleNotEqual | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file NotEqual.cpp.
References onert_micro::execute::pal::NotEqualFn(), onert_micro::Ok, and TISOHeader().
OMStatus onert_micro::execute::execute_kernel_CirclePack | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 86 of file Pack.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CirclePad | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Pad.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::Pad(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleQuantize | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Quantize.cpp.
References onert_micro::Ok, onert_micro::execute::pal::Quantize(), SISOHeader(), onert_micro::UnsupportedType, and onert_micro::core::QuantizationParams::zero_point.
OMStatus onert_micro::execute::execute_kernel_CircleReduceProd | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 55 of file ReduceProd.cpp.
References onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_index, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleRelu | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file Relu.cpp.
References execute_relu_common().
OMStatus onert_micro::execute::execute_kernel_CircleRelu6 | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 28 of file Relu6.cpp.
References execute_relu_common().
OMStatus onert_micro::execute::execute_kernel_CircleReshape | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 36 of file Reshape.cpp.
References execute_reshape_common().
OMStatus onert_micro::execute::execute_kernel_CircleRound | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Round.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Round().
OMStatus onert_micro::execute::execute_kernel_CircleRsqrt | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Rsqrt.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Rsqrt().
OMStatus onert_micro::execute::execute_kernel_CircleSelectV2 | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 60 of file SelectV2.cpp.
References onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleShape | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 41 of file Shape.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleSin | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Sin.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Sin().
OMStatus onert_micro::execute::execute_kernel_CircleSlice | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 62 of file Slice.cpp.
References onert_micro::core::SliceParams::begin_count, onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::Slice(), and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleSoftmax | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 57 of file Softmax.cpp.
References onert_micro::core::SoftmaxParams::beta, calculateInputRadius(), onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::Softmax(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleSpaceToBatchND | ( | const onert_micro::execute::OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file SpaceToBatchND.cpp.
References execute_spaces_batches_nd_common(), and output_shape.
OMStatus onert_micro::execute::execute_kernel_CircleSpaceToDepth | ( | const onert_micro::execute::OMExecuteArgs & | execute_args | ) |
Definition at line 38 of file SpaceToDepth.cpp.
References onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleSplit | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 46 of file Split.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleSplitV | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 46 of file SplitV.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::outputs_num, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleSqrt | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Sqrt.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Sqrt().
OMStatus onert_micro::execute::execute_kernel_CircleSquare | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Square.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Square().
OMStatus onert_micro::execute::execute_kernel_CircleSquaredDifference | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 50 of file SquaredDifference.cpp.
References onert_micro::execute::pal::BroadcastSquaredDifference4DSlow(), calculateActivationRange(), onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::SquaredDifference(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleStridedSlice | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 74 of file StridedSlice.cpp.
References begin, onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::StridedSlice(), and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleSub | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 50 of file Sub.cpp.
References onert_micro::execute::pal::BroadcastSub4DSlow(), calculateActivationRange(), calculateQuantParams(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::pal::processBroadcastShapes(), onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::Sub(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_kernel_CircleSum | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 44 of file Sum.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dimsData(), onert_micro::execute::OMRuntimeKernel::first_operator, luci_interpreter::RuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_index, onert_micro::execute::OMExecuteArgs::kernel_index, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleSVDF | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 84 of file SVDF.cpp.
References onert_micro::core::memory::OMMemoryManager::allocateMemory(), onert_micro::core::memory::OMMemoryManager::deallocateMemory(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::core::SVDFQuantParams::rank, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::SVDF(), and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleTanh | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 29 of file Tanh.cpp.
References execute_math_common(), output_shape, and onert_micro::execute::pal::Tanh().
OMStatus onert_micro::execute::execute_kernel_CircleTranspose | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Transpose.cpp.
References onert_micro::core::OMRuntimeShape::dimensionsCount(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::core::TransposeParams::perm, onert_micro::core::TransposeParams::perm_count, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleTransposeConv | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 53 of file TransposeConv.cpp.
References calculateActivationRange(), computePaddingHeightWidth(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, onert_micro::execute::pal::TransposeConv< float >(), and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleUnpack | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 45 of file Unpack.cpp.
References onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedActivation.
OMStatus onert_micro::execute::execute_kernel_CircleWhile | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 33 of file While.cpp.
References onert_micro::core::OMRuntimeGraph::allocateGraphInputs(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::core::OMRuntimeGraph::getInputDataAt(), onert_micro::core::OMRuntimeGraph::getNumberOfInputs(), onert_micro::core::OMRuntimeGraph::getOutputDataAt(), onert_micro::core::OMRuntimeGraph::getRuntimeAllocator(), onert_micro::core::OMRuntimeGraph::getRuntimeContext(), onert_micro::core::OMRuntimeModule::getRuntimeGraphAt(), onert_micro::core::OMRuntimeGraph::getRuntimeStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::inputs_num, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::outputs_num, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::core::OMRuntimeGraph::reset(), onert_micro::execute::OMKernelExecute::runForward(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_module, and onert_micro::execute::OMExecuteArgs::runtime_storage.
OMStatus onert_micro::execute::execute_kernel_CircleZerosLike | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 48 of file ZerosLike.cpp.
References onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_math_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::OMRuntimeShape &, const float *, const core::OMRuntimeShape &, float *)> & | f_float | ||
) |
Definition at line 39 of file MathCommon.cpp.
References SISOHeader(), and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_math_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::OMRuntimeShape &input_shape, const float *input_data, const core::OMRuntimeShape &output_shape, float *output_data)> & | f_float | ||
) |
Referenced by execute_kernel_CircleAbs(), execute_kernel_CircleCeil(), execute_kernel_CircleCos(), execute_kernel_CircleExp(), execute_kernel_CircleFloor(), execute_kernel_CircleLog(), execute_kernel_CircleNeg(), execute_kernel_CircleRound(), execute_kernel_CircleRsqrt(), execute_kernel_CircleSin(), execute_kernel_CircleSqrt(), execute_kernel_CircleSquare(), and execute_kernel_CircleTanh().
OMStatus onert_micro::execute::execute_pooling_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::Pool2DParams &, const core::OMRuntimeShape &, const float *, const core::OMRuntimeShape &, float *)> & | f_float, | ||
const std::function< OMStatus(const core::Pool2DParams &, const core::OMRuntimeShape &, const int8_t *, const core::OMRuntimeShape &, int8_t *)> & | f_int8 | ||
) |
Definition at line 36 of file PoolingCommon.cpp.
References calculateActivationRange(), calculateActivationRangeQuantized(), computePaddingHeightWidth(), onert_micro::core::OMRuntimeShape::dims(), onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::core::Pool2DParams::pad_h, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
OMStatus onert_micro::execute::execute_pooling_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::Pool2DParams ¶ms, const core::OMRuntimeShape &input_shape, const float *input_data, const core::OMRuntimeShape &output_shape, float *output_data)> & | f_float, | ||
const std::function< OMStatus(const core::Pool2DParams ¶ms, const core::OMRuntimeShape &input_shape, const int8_t *input_data, const core::OMRuntimeShape &output_shape, int8_t *output_data)> & | f_int8 | ||
) |
OMStatus onert_micro::execute::execute_relu_common | ( | const OMExecuteArgs & | execute_args, |
bool | is_relu_6 | ||
) |
Definition at line 37 of file ReluCommon.cpp.
References onert_micro::execute::OMRuntimeKernel::first_operator, onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::pal::ReLUCommon(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
Referenced by execute_kernel_CircleLeakyRelu(), execute_kernel_CircleRelu(), and execute_kernel_CircleRelu6().
OMStatus onert_micro::execute::execute_reshape_common | ( | const OMExecuteArgs & | execute_args | ) |
Definition at line 36 of file ReshapeCommon.cpp.
References onert_micro::core::OMRuntimeShape::flatSize(), onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::core::onertMicroDatatype(), onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
Referenced by execute_kernel_CircleExpandDims(), and execute_kernel_CircleReshape().
OMStatus onert_micro::execute::execute_spaces_batches_nd_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::OMRuntimeShape &unextended_input1_shape, const float *input1_data, const core::OMRuntimeShape &unextended_input2_shape, const int32_t *block_shape_data, const core::OMRuntimeShape &unextended_input3_shape, const int32_t *crops_data, const core::OMRuntimeShape &unextended_output_shape, float *output_data)> & | f | ||
) |
Referenced by execute_kernel_CircleBatchToSpaceND(), and execute_kernel_CircleSpaceToBatchND().
OMStatus onert_micro::execute::execute_spaces_batches_nd_common | ( | const OMExecuteArgs & | execute_args, |
const std::function< OMStatus(const core::OMRuntimeShape &unextended_input1_shape, const float *input1_data, const core::OMRuntimeShape &unextended_input2_shape, const int32_t *block_shape_data, const core::OMRuntimeShape &unextended_input3_shape, const int32_t *crops_data, const core::OMRuntimeShape &unextended_output_shape, float *output_data)> & | func | ||
) |
Definition at line 38 of file SpacesBatchesNDCommon.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, output_shape, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, onert_micro::execute::OMExecuteArgs::runtime_storage, and onert_micro::UnsupportedType.
|
inline |
Definition at line 65 of file OMUtils.h.
Referenced by getQuantizedConvolutionMultiplers().
|
inline |
Definition at line 95 of file OMUtils.h.
References getQuantizedConvolutionMultipler(), and flatbuffers::Vector< T >::size().
Referenced by createConvParams().
void onert_micro::execute::quantizeMultiplier | ( | double | double_multiplier, |
int32_t * | quantized_multiplier, | ||
int * | shift | ||
) |
Definition at line 23 of file OMUtils.cpp.
Referenced by createConvParams(), and quantizeMultiplierSmallerThanOneExp().
void onert_micro::execute::quantizeMultiplierSmallerThanOneExp | ( | double | double_multiplier, |
int32_t * | quantized_multiplier, | ||
int * | left_shift | ||
) |
Definition at line 60 of file OMUtils.cpp.
References quantizeMultiplier().
Referenced by calculateQuantParams(), and evalQuantizedComparisonGeneric().
void onert_micro::execute::readDataKernel | ( | OMRuntimeKernel * | runtime_kernel, |
const T *& | cast_input_data1, | ||
const T *& | cast_input_data2, | ||
bool *& | cast_output_data, | ||
core::OMRuntimeShape & | input1_shape_ref, | ||
core::OMRuntimeShape & | input2_shape_ref, | ||
core::OMRuntimeShape & | output_shape_ref | ||
) |
Definition at line 44 of file ComparisonCommon.h.
References onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMRuntimeKernel::outputs, and onert_micro::execute::OMRuntimeKernel::outputs_data.
Referenced by evalComparisonGeneric(), and evalQuantizedComparisonGeneric().
OMStatus onert_micro::execute::readKernelDataTISO | ( | const OMExecuteArgs & | execute_args, |
uint8_t *& | input_data1, | ||
uint8_t *& | input_data2, | ||
uint8_t *& | output_data, | ||
core::OMRuntimeShape & | input1_shape_ref, | ||
core::OMRuntimeShape & | input2_shape_ref, | ||
core::OMRuntimeShape & | output_shape_ref, | ||
circle::TensorType & | tensor_type | ||
) |
Definition at line 37 of file ReadKernelDataCommon.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), TensorIndexTISO::input1TensorIdx, TensorIndexTISO::input2TensorIdx, onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, TensorIndexTISO::outputTensorIdx, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
Referenced by execute_kernel_CircleFloorDiv(), execute_kernel_CircleFloorMod(), execute_kernel_CircleGatherND(), execute_kernel_CircleMaximum(), and execute_kernel_CircleMinimum().
void onert_micro::execute::readQuantParams | ( | const circle::Tensor * | tensor, |
long & | zero_point, | ||
float & | scale | ||
) |
Definition at line 143 of file OMUtils.cpp.
Referenced by calculateQuantParams().
OMStatus onert_micro::execute::SISOHeader | ( | const OMExecuteArgs & | execute_args, |
const circle::Tensor ** | input, | ||
const circle::Tensor ** | output, | ||
uint8_t ** | input_data, | ||
uint8_t ** | output_data | ||
) |
Definition at line 159 of file OMUtils.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMRuntimeKernel::inputs_data, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::outputs_data, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
Referenced by execute_kernel_CircleCast(), execute_kernel_CircleDequantize(), execute_kernel_CircleL2Normalize(), execute_kernel_CircleLogistic(), execute_kernel_CircleLogSoftmax(), execute_kernel_CircleQuantize(), and execute_math_common().
OMStatus onert_micro::execute::TISOHeader | ( | const OMExecuteArgs & | execute_args, |
const circle::Tensor ** | input1, | ||
const circle::Tensor ** | input2, | ||
const circle::Tensor ** | output, | ||
OMRuntimeKernel * | runtime_kernel | ||
) |
Definition at line 240 of file OMUtils.cpp.
References onert_micro::execute::OMRuntimeKernel::getDataFromStorage(), onert_micro::execute::OMRuntimeKernel::inputs, onert_micro::execute::OMExecuteArgs::kernel_index, onert_micro::Ok, onert_micro::execute::OMRuntimeKernel::outputs, onert_micro::execute::OMRuntimeKernel::readKernel(), onert_micro::execute::OMExecuteArgs::runtime_context, and onert_micro::execute::OMExecuteArgs::runtime_storage.
Referenced by execute_kernel_CircleEqual(), execute_kernel_CircleGreater(), execute_kernel_CircleGreaterEqual(), execute_kernel_CircleLess(), and execute_kernel_CircleNotEqual().
|
constexpr |
Definition at line 126 of file OMKernelExecutionBuilder.h.
Referenced by onert_micro::execute::OMKernelExecute::runForward().
|
constexpr |
Definition at line 127 of file OMKernelExecutionBuilder.h.
Referenced by onert_micro::execute::OMKernelExecute::runForward().