ONE - On-device Neural Engine
|
#include <Types.h>
Data Fields | |
BroadcastableOpCategory | broadcast_category {BroadcastableOpCategory::kNone} |
int32_t | input1_offset = 0 |
int32_t | input2_offset = 0 |
int32_t | output_offset = 0 |
int32_t | output_multiplier = 0 |
int32_t | output_shift = 0 |
int32_t | left_shift = 0 |
int32_t | input1_multiplier = 0 |
int32_t | input1_shift = 0 |
int32_t | input2_multiplier = 0 |
int32_t | input2_shift = 0 |
int32_t | quantized_activation_min = 0 |
int32_t | quantized_activation_max = 0 |
float | float_activation_min = 0 |
float | float_activation_max = 0 |
int64_t | int64_activation_min = 0 |
int64_t | int64_activation_max = 0 |
int | broadcast_shape [5] = {} |
BroadcastableOpCategory nnfw::cker::BinaryArithmeticOpParam::broadcast_category {BroadcastableOpCategory::kNone} |
Definition at line 181 of file Types.h.
Referenced by nnfw::cker::optimized::BinaryBroadcastFiveFold(), nnfw::cker::optimized::BroadcastAddDispatch(), nnfw::cker::optimized::BroadcastAddDispatch(), nnfw::cker::optimized::BroadcastDivDispatch(), nnfw::cker::optimized::BroadcastMulDispatch(), nnfw::cker::optimized::BroadcastMulDispatch(), nnfw::cker::optimized::BroadcastSubDispatch(), and nnfw::cker::ProcessBroadcastShapes().
int nnfw::cker::BinaryArithmeticOpParam::broadcast_shape[5] = {} |
Definition at line 212 of file Types.h.
Referenced by nnfw::cker::optimized::BinaryBroadcastFiveFold(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), and nnfw::cker::ProcessBroadcastShapes().
float nnfw::cker::BinaryArithmeticOpParam::float_activation_max = 0 |
Definition at line 199 of file Types.h.
Referenced by onert::backend::train::ops::BackPropAccumulator::BackPropAccumulator(), nnfw::cker::reference::BinaryArithmeticOp(), nnfw::cker::optimized::BinaryOpElementwise(), nnfw::cker::optimized::BinaryOpScalarBroadcast(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::optimized::getBinaryOpWithActivationImplFloat(), and onert::backend::cpu::ops::PowLayer::powFloat32().
float nnfw::cker::BinaryArithmeticOpParam::float_activation_min = 0 |
Definition at line 198 of file Types.h.
Referenced by onert::backend::train::ops::BackPropAccumulator::BackPropAccumulator(), nnfw::cker::reference::BinaryArithmeticOp(), nnfw::cker::optimized::BinaryOpElementwise(), nnfw::cker::optimized::BinaryOpScalarBroadcast(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::optimized::getBinaryOpWithActivationImplFloat(), and onert::backend::cpu::ops::PowLayer::powFloat32().
int32_t nnfw::cker::BinaryArithmeticOpParam::input1_multiplier = 0 |
Definition at line 190 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::input1_offset = 0 |
Definition at line 183 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::input1_shift = 0 |
Definition at line 191 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::input2_multiplier = 0 |
Definition at line 192 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), onert::backend::cpu::ops::BinaryArithmeticLayer::configure(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::input2_offset = 0 |
Definition at line 184 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::input2_shift = 0 |
Definition at line 193 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::BinaryBroadcastFiveFold(), and nnfw::cker::optimized::quant8_sum().
int64_t nnfw::cker::BinaryArithmeticOpParam::int64_activation_max = 0 |
Definition at line 201 of file Types.h.
Referenced by nnfw::cker::reference::BinaryArithmeticOp(), and nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow().
int64_t nnfw::cker::BinaryArithmeticOpParam::int64_activation_min = 0 |
Definition at line 200 of file Types.h.
Referenced by nnfw::cker::reference::BinaryArithmeticOp(), and nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow().
int32_t nnfw::cker::BinaryArithmeticOpParam::left_shift = 0 |
Definition at line 189 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::output_multiplier = 0 |
Definition at line 186 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::output_offset = 0 |
Definition at line 185 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::output_shift = 0 |
Definition at line 187 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max = 0 |
Definition at line 196 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::reference::BinaryArithmeticOp(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().
int32_t nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min = 0 |
Definition at line 195 of file Types.h.
Referenced by nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddElementwise(), nnfw::cker::optimized::AddScalarBroadcast(), nnfw::cker::reference::BinaryArithmeticOp(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulElementwise(), nnfw::cker::optimized::MulSimpleBroadcast(), nnfw::cker::optimized::quant8_mul(), and nnfw::cker::optimized::quant8_sum().