ONE - On-device Neural Engine
|
Namespaces | |
namespace | depthwise_conv |
Data Structures | |
struct | BinaryOpActivationFloatMax |
struct | BinaryOpActivationFloatMinMax |
struct | BinaryOpActivationFloatNone |
struct | BinaryOpFuncAddFloat |
struct | BinaryOpFuncDivFloat |
struct | BinaryOpFuncMulFloat |
struct | BinaryOpFuncSubFloat |
struct | BinaryOpFuncSwapArgs |
struct | FloatDepthwiseConvKernel |
struct | GemmlowpOutputPipeline |
Typedefs | |
using | BinaryOpImplFloatFuncs = std::pair< void(*)(int, const BinaryArithmeticOpParam &, const float *, const float *, float *), void(*)(int, const BinaryArithmeticOpParam &, const float, const float *, float *)> |
Functions | |
template<typename ElementwiseF , typename ScalarBroadcastF , typename T > | |
void | BinaryBroadcastFiveFold (const BinaryArithmeticOpParam ¶ms, bool switch_inputs, const Shape &, const T *unswitched_input1_data, const Shape &, const T *unswitched_input2_data, const Shape &, T *output_data, ElementwiseF elementwise_f, ScalarBroadcastF scalar_broadcast_f) |
template<typename ElementwiseF , typename ScalarBroadcastF , typename T > | |
void | BinaryBroadcastFiveFold (const BinaryArithmeticOpParam &unswitched_params, const Shape &, const T *unswitched_input1_data, const Shape &, const T *unswitched_input2_data, const Shape &, T *output_data, ElementwiseF elementwise_f, ScalarBroadcastF scalar_broadcast_f) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value, int32_t > | quant8_sum (const BinaryArithmeticOpParam ¶ms, const T input1_data, const T input2_data) |
void | AddElementwise (int size, const BinaryArithmeticOpParam ¶ms, const uint8_t *input1_data, const uint8_t *input2_data, uint8_t *output_data) |
void | AddElementwise (int size, const BinaryArithmeticOpParam ¶ms, const int8_t *input1_data, const int8_t *input2_data, int8_t *output_data) |
template<class OPERATOR , class ACTIVATION > | |
void | BinaryOpElementwise (int size, const BinaryArithmeticOpParam ¶ms, const float *input1_data, const float *input2_data, float *output_data) |
template<class OPERATOR , class ACTIVATION > | |
void | BinaryOpScalarBroadcast (int size, const BinaryArithmeticOpParam ¶ms, const float broadcast_value, const float *input2_data, float *output_data) |
template<class FUNC > | |
BinaryOpImplFloatFuncs | getBinaryOpWithActivationImplFloat (const BinaryArithmeticOpParam ¶ms) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value > | Add (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const T *input1_data, const Shape &input2_shape, const T *input2_data, const Shape &output_shape, T *output_data) |
void | Add (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | AddScalarBroadcast (int size, const BinaryArithmeticOpParam ¶ms, uint8_t broadcast_value, const uint8_t *input2_data, uint8_t *output_data) |
void | AddScalarBroadcast (int size, const BinaryArithmeticOpParam ¶ms, int8_t input1_data, const int8_t *input2_data, int8_t *output_data) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value > | BroadcastAddDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const T *input1_data, const Shape &input2_shape, const T *input2_data, const Shape &output_shape, T *output_data) |
void | BroadcastAddDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | Sub (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | BroadcastSubDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value, int32_t > | quant8_mul (const BinaryArithmeticOpParam ¶ms, const T input1_data, const T input2_data) |
void | MulElementwise (int size, const BinaryArithmeticOpParam ¶ms, const uint8_t *input1_data, const uint8_t *input2_data, uint8_t *output_data) |
void | MulElementwise (int size, const BinaryArithmeticOpParam ¶ms, const int8_t *input1_data, const int8_t *input2_data, int8_t *output_data) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value > | Mul (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const T *input1_data, const Shape &input2_shape, const T *input2_data, const Shape &output_shape, T *output_data) |
void | Mul (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | MulSimpleBroadcast (int size, const BinaryArithmeticOpParam ¶ms, const uint8_t broadcast_value, const uint8_t *input2_data, uint8_t *output_data) |
void | MulSimpleBroadcast (int size, const BinaryArithmeticOpParam ¶ms, const int8_t broadcast_value, const int8_t *input2_data, int8_t *output_data) |
template<typename T > | |
std::enable_if_t< is_quant8< T >::value > | BroadcastMulDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const T *input1_data, const Shape &input2_shape, const T *input2_data, const Shape &output_shape, T *output_data) |
void | BroadcastMulDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | Div (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | BroadcastDivDispatch (const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data) |
void | AddBiasAndEvalActivationFunction (float output_activation_min, float output_activation_max, const Shape &bias_shape, const float *bias_data, const Shape &array_shape, float *array_data) |
void | Conv (const ConvParams ¶ms, const Shape &input_shape, const uint8_t *input_data, const Shape &filter_shape, const uint8_t *filter_data, const Shape &bias_shape, const int32_t *bias_data, const Shape &output_shape, uint8_t *output_data, const Shape &im2col_shape, uint8_t *im2col_data) |
template<bool kAllowStrided, int kFixedInputDepth, int kFixedDepthMultiplier> | |
void | FloatDepthwiseConvAccumRow (int stride, int dilation_factor, int input_depth, int input_width, const float *input_data, int pad_width, int depth_multiplier, int filter_width, const float *filter_data, int out_x_buffer_start, int out_x_buffer_end, int output_depth, float *acc_buffer) |
void | FloatDepthwiseConvAccumRowGeneric (int stride, int dilation_factor, int input_depth, int input_width, const float *input_data, int pad_width, int depth_multiplier, int filter_width, const float *filter_data, int out_x_buffer_start, int out_x_buffer_end, int output_depth, float *acc_buffer) |
void | DepthwiseConvInitAccBuffer (int num_output_pixels, int output_depth, const float *bias_data, float *acc_buffer) |
void | DepthwiseConvImpl (const DepthwiseConvParams ¶ms, const Shape &input_shape, const float *input_data, const Shape &filter_shape, const float *filter_data, const Shape &bias_shape, const float *bias_data, const Shape &output_shape, float *output_data, int thread_start, int thread_end, int thread_dim) |
void | DepthwiseConvWithRounding (const DepthwiseConvParams ¶ms, const Shape &input_shape, const uint8_t *input_data, const Shape &filter_shape, const uint8_t *filter_data, const Shape &bias_shape, const int32_t *bias_data, const Shape &output_shape, uint8_t *output_data, int thread_start, int thread_end, int thread_dim) |
void | DepthwiseConvImpl (const DepthwiseConvParams ¶ms, const Shape &input_shape, const uint8_t *input_data, const Shape &filter_shape, const uint8_t *filter_data, const Shape &bias_shape, const int32_t *bias_data, const Shape &output_shape, uint8_t *output_data, int thread_start, int thread_end, int thread_dim) |
template<typename T > | |
void | ExtractPatchIntoBufferColumn (const Shape &input_shape, int w, int h, int b, int kheight, int kwidth, int stride_width, int stride_height, int pad_width, int pad_height, int in_width, int in_height, int in_depth, int single_buffer_length, int buffer_id, const T *in_data, T *conv_buffer_data, uint8_t zero_byte) |
template<typename T > | |
void | DilatedIm2col (const ConvParams ¶ms, const Shape &input_shape, const T *input_data, const Shape &filter_shape, const Shape &output_shape, T *im2col_data, const int32_t *zero_bytes, const int zero_bytes_len) |
template<typename T > | |
void | DilatedIm2col (const ConvParams ¶ms, uint8_t zero_byte, const Shape &input_shape, const T *input_data, const Shape &filter_shape, const Shape &output_shape, T *im2col_data) |
template<typename T > | |
void | Im2col (const ConvParams ¶ms, int kheight, int kwidth, uint8_t zero_byte, const Shape &input_shape, const T *input_data, const Shape &output_shape, T *output_data) |
Variables | |
std::mutex | _gemmlowp_mutex |
using nnfw::cker::optimized::BinaryOpImplFloatFuncs = typedef std::pair<void (*)(int, const BinaryArithmeticOpParam &, const float *, const float *, float *), void (*)(int, const BinaryArithmeticOpParam &, const float, const float *, float *)> |
Definition at line 670 of file BinaryArithmeticOps.h.
|
inline |
Definition at line 699 of file BinaryArithmeticOps.h.
References nnfw::cker::MatchingElementsSize(), and output_shape.
|
inline |
Definition at line 692 of file BinaryArithmeticOps.h.
References AddElementwise(), nnfw::cker::MatchingElementsSize(), and output_shape.
Referenced by nnfw::cker::BinaryArithmeticOp(), and nnfw::cker::BinaryArithmeticOp().
|
inline |
Definition at line 74 of file Conv.h.
References nnfw::cker::BiasAndClamp(), and nnfw::cker::Shape::FlatSize().
Referenced by nnfw::cker::multithreaded::Conv().
|
inline |
Definition at line 322 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_multiplier, nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input1_shift, nnfw::cker::BinaryArithmeticOpParam::input2_multiplier, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::BinaryArithmeticOpParam::input2_shift, nnfw::cker::BinaryArithmeticOpParam::left_shift, nnfw::cker::MultiplyByQuantizedMultiplierSmallerThanOneExp(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
|
inline |
Definition at line 246 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_multiplier, nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input1_shift, nnfw::cker::BinaryArithmeticOpParam::input2_multiplier, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::BinaryArithmeticOpParam::input2_shift, nnfw::cker::BinaryArithmeticOpParam::left_shift, nnfw::cker::MultiplyByQuantizedMultiplierSmallerThanOneExp(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
Referenced by Add(), and BroadcastAddDispatch().
|
inline |
Definition at line 727 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_multiplier, nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input1_shift, nnfw::cker::BinaryArithmeticOpParam::input2_multiplier, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::BinaryArithmeticOpParam::input2_shift, nnfw::cker::BinaryArithmeticOpParam::left_shift, nnfw::cker::MultiplyByQuantizedMultiplierSmallerThanOneExp(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
|
inline |
Definition at line 711 of file BinaryArithmeticOps.h.
References quant8_sum(), and size.
Referenced by BroadcastAddDispatch().
|
inline |
Definition at line 40 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::broadcast_shape.
Referenced by BroadcastAddDispatch(), BroadcastAddDispatch(), BroadcastDivDispatch(), BroadcastMulDispatch(), BroadcastMulDispatch(), and BroadcastSubDispatch().
|
inline |
Definition at line 128 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::BinaryArithmeticOpParam::broadcast_shape, nnfw::cker::BinaryArithmeticOpParam::input1_multiplier, nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input1_shift, nnfw::cker::BinaryArithmeticOpParam::input2_multiplier, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::BinaryArithmeticOpParam::input2_shift, and nnfw::cker::kFirstInputBroadcastsFast.
|
inline |
Definition at line 562 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::float_activation_max, nnfw::cker::BinaryArithmeticOpParam::float_activation_min, and size.
|
inline |
Definition at line 620 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::float_activation_max, nnfw::cker::BinaryArithmeticOpParam::float_activation_min, and size.
|
inline |
Definition at line 835 of file BinaryArithmeticOps.h.
References BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kGenericBroadcast, nnfw::cker::kSecondInputBroadcastsFast, and output_shape.
|
inline |
Definition at line 812 of file BinaryArithmeticOps.h.
References AddElementwise(), AddScalarBroadcast(), BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kGenericBroadcast, output_shape, and quant8_sum().
Referenced by nnfw::cker::BroadcastBinaryArithmeticOp(), and nnfw::cker::BroadcastBinaryArithmeticOp().
|
inline |
Definition at line 1234 of file BinaryArithmeticOps.h.
References BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kFirstInputBroadcastsFast, nnfw::cker::kSecondInputBroadcastsFast, and output_shape.
Referenced by nnfw::cker::BroadcastBinaryArithmeticOp().
|
inline |
Definition at line 1199 of file BinaryArithmeticOps.h.
References BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kGenericBroadcast, and output_shape.
|
inline |
Definition at line 1177 of file BinaryArithmeticOps.h.
References BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kGenericBroadcast, MulElementwise(), MulSimpleBroadcast(), output_shape, and quant8_mul().
Referenced by nnfw::cker::BroadcastBinaryArithmeticOp(), and nnfw::cker::BroadcastBinaryArithmeticOp().
|
inline |
Definition at line 867 of file BinaryArithmeticOps.h.
References BinaryBroadcastFiveFold(), nnfw::cker::BinaryArithmeticOpParam::broadcast_category, nnfw::cker::reference::BroadcastBinaryArithmeticOpSlow(), nnfw::cker::kFirstInputBroadcastsFast, nnfw::cker::kSecondInputBroadcastsFast, and output_shape.
Referenced by nnfw::cker::BroadcastBinaryArithmeticOp().
|
inline |
Definition at line 83 of file Conv.h.
References _gemmlowp_mutex, DilatedIm2col(), nnfw::cker::ConvParams::dilation_height_factor, nnfw::cker::ConvParams::dilation_width_factor, nnfw::cker::Shape::DimensionsCount(), nnfw::cker::Shape::Dims(), nnfw::cker::gemm_support::GetGemmLowpContext(), Im2col(), nnfw::cker::ConvParams::input_offset, nnfw::cker::optimized::GemmlowpOutputPipeline::MakeExp(), nnfw::cker::ConvParams::output_multiplier, nnfw::cker::ConvParams::output_offset, output_shape, nnfw::cker::ConvParams::output_shift, nnfw::cker::ConvParams::quantized_activation_max, nnfw::cker::ConvParams::quantized_activation_min, nnfw::cker::ConvParams::stride_height, nnfw::cker::ConvParams::stride_width, and nnfw::cker::ConvParams::weights_offset.
Referenced by nnfw::cker::Conv::operator()().
|
inline |
Definition at line 1033 of file DepthwiseConvFloat.h.
References nnfw::cker::DepthwiseConvParams::depth_multiplier, DepthwiseConvInitAccBuffer(), nnfw::cker::DepthwiseConvParams::dilation_height_factor, nnfw::cker::DepthwiseConvParams::dilation_width_factor, nnfw::cker::Shape::DimensionsCount(), nnfw::cker::Shape::Dims(), nnfw::cker::FlatSizeSkipDim(), nnfw::cker::DepthwiseConvParams::float_activation_max, nnfw::cker::DepthwiseConvParams::float_activation_min, FloatDepthwiseConvAccumRowGeneric(), nnfw::cker::PaddingValues::height, nnfw::cker::MatchingDim(), output_shape, nnfw::cker::DepthwiseConvParams::padding_values, nnfw::cker::DepthwiseConvParams::stride_height, nnfw::cker::DepthwiseConvParams::stride_width, TFMINI_USE_DEPTHWISECONV_KERNEL, and nnfw::cker::PaddingValues::width.
Referenced by nnfw::cker::DepthwiseConv(), and nnfw::cker::DepthwiseConvWorkerTask< T, TS >::Run().
|
inline |
Definition at line 2231 of file DepthwiseConvUint8.h.
References DepthwiseConvWithRounding(), and output_shape.
|
inline |
Definition at line 1016 of file DepthwiseConvFloat.h.
Referenced by DepthwiseConvImpl().
|
inline |
Definition at line 2153 of file DepthwiseConvUint8.h.
References nnfw::cker::DepthwiseConvParams::depth_multiplier, nnfw::cker::optimized::depthwise_conv::DepthwiseConvGeneral(), nnfw::cker::DepthwiseConvParams::dilation_height_factor, nnfw::cker::DepthwiseConvParams::dilation_width_factor, nnfw::cker::Shape::DimensionsCount(), nnfw::cker::Shape::Dims(), nnfw::cker::Shape::FlatSize(), nnfw::cker::MatchingDim(), output_shape, nnfw::cker::DepthwiseConvParams::quantized_activation_max, and nnfw::cker::DepthwiseConvParams::quantized_activation_min.
Referenced by DepthwiseConvImpl().
void nnfw::cker::optimized::DilatedIm2col | ( | const ConvParams & | params, |
const Shape & | input_shape, | ||
const T * | input_data, | ||
const Shape & | filter_shape, | ||
const Shape & | output_shape, | ||
T * | im2col_data, | ||
const int32_t * | zero_bytes, | ||
const int | zero_bytes_len | ||
) |
Definition at line 121 of file OptimizedUtils.h.
References nnfw::cker::ConvParams::dilation_height_factor, nnfw::cker::ConvParams::dilation_width_factor, nnfw::cker::Shape::DimensionsCount(), nnfw::cker::Shape::Dims(), nnfw::cker::PaddingValues::height, nnfw::cker::MatchingDim(), nnfw::cker::Offset(), output_shape, nnfw::cker::ConvParams::padding_values, nnfw::cker::ConvParams::stride_height, nnfw::cker::ConvParams::stride_width, and nnfw::cker::PaddingValues::width.
Referenced by Conv().
void nnfw::cker::optimized::DilatedIm2col | ( | const ConvParams & | params, |
uint8_t | zero_byte, | ||
const Shape & | input_shape, | ||
const T * | input_data, | ||
const Shape & | filter_shape, | ||
const Shape & | output_shape, | ||
T * | im2col_data | ||
) |
Definition at line 212 of file OptimizedUtils.h.
References output_shape.
|
inline |
Definition at line 1218 of file BinaryArithmeticOps.h.
References nnfw::cker::reference::BinaryArithmeticOp(), nnfw::cker::MatchingElementsSize(), and output_shape.
Referenced by nnfw::cker::BinaryArithmeticOp().
|
inline |
Definition at line 34 of file OptimizedUtils.h.
References nnfw::cker::Shape::DimensionsCount(), and nnfw::cker::Offset().
Referenced by Im2col().
void nnfw::cker::optimized::FloatDepthwiseConvAccumRow | ( | int | stride, |
int | dilation_factor, | ||
int | input_depth, | ||
int | input_width, | ||
const float * | input_data, | ||
int | pad_width, | ||
int | depth_multiplier, | ||
int | filter_width, | ||
const float * | filter_data, | ||
int | out_x_buffer_start, | ||
int | out_x_buffer_end, | ||
int | output_depth, | ||
float * | acc_buffer | ||
) |
Definition at line 908 of file DepthwiseConvFloat.h.
|
inline |
Definition at line 977 of file DepthwiseConvFloat.h.
References m.
Referenced by DepthwiseConvImpl().
|
inline |
Definition at line 676 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::float_activation_max, and nnfw::cker::BinaryArithmeticOpParam::float_activation_min.
void nnfw::cker::optimized::Im2col | ( | const ConvParams & | params, |
int | kheight, | ||
int | kwidth, | ||
uint8_t | zero_byte, | ||
const Shape & | input_shape, | ||
const T * | input_data, | ||
const Shape & | output_shape, | ||
T * | output_data | ||
) |
Definition at line 222 of file OptimizedUtils.h.
References nnfw::cker::Shape::DimensionsCount(), nnfw::cker::Shape::Dims(), ExtractPatchIntoBufferColumn(), nnfw::cker::PaddingValues::height, nnfw::cker::MatchingDim(), output_shape, nnfw::cker::ConvParams::padding_values, nnfw::cker::ConvParams::stride_height, nnfw::cker::ConvParams::stride_width, and nnfw::cker::PaddingValues::width.
Referenced by Conv().
|
inline |
Definition at line 1072 of file BinaryArithmeticOps.h.
References nnfw::cker::MatchingElementsSize(), and output_shape.
|
inline |
Definition at line 1065 of file BinaryArithmeticOps.h.
References nnfw::cker::MatchingElementsSize(), MulElementwise(), and output_shape.
Referenced by nnfw::cker::BinaryArithmeticOp(), and nnfw::cker::BinaryArithmeticOp().
|
inline |
Definition at line 974 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::MultiplyByQuantizedMultiplier(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
|
inline |
Definition at line 910 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::MultiplyByQuantizedMultiplier(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
Referenced by BroadcastMulDispatch(), and Mul().
|
inline |
Definition at line 1095 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::MultiplyByQuantizedMultiplier(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min, and size.
|
inline |
Definition at line 1081 of file BinaryArithmeticOps.h.
References quant8_mul(), and size.
Referenced by BroadcastMulDispatch().
|
inline |
Definition at line 896 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::MultiplyByQuantizedMultiplier(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, and nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min.
Referenced by BroadcastMulDispatch(), and MulSimpleBroadcast().
|
inline |
Definition at line 227 of file BinaryArithmeticOps.h.
References nnfw::cker::BinaryArithmeticOpParam::input1_multiplier, nnfw::cker::BinaryArithmeticOpParam::input1_offset, nnfw::cker::BinaryArithmeticOpParam::input1_shift, nnfw::cker::BinaryArithmeticOpParam::input2_multiplier, nnfw::cker::BinaryArithmeticOpParam::input2_offset, nnfw::cker::BinaryArithmeticOpParam::input2_shift, nnfw::cker::BinaryArithmeticOpParam::left_shift, nnfw::cker::MultiplyByQuantizedMultiplierSmallerThanOneExp(), nnfw::cker::BinaryArithmeticOpParam::output_multiplier, nnfw::cker::BinaryArithmeticOpParam::output_offset, nnfw::cker::BinaryArithmeticOpParam::output_shift, nnfw::cker::BinaryArithmeticOpParam::quantized_activation_max, and nnfw::cker::BinaryArithmeticOpParam::quantized_activation_min.
Referenced by AddScalarBroadcast(), and BroadcastAddDispatch().
|
inline |
Definition at line 858 of file BinaryArithmeticOps.h.
References nnfw::cker::MatchingElementsSize(), and output_shape.
Referenced by nnfw::cker::BinaryArithmeticOp().