ONE - On-device Neural Engine
|
Data Structures | |
struct | QuantizedDepthwiseConvKernel |
Functions | |
template<bool kAllowStrided, int kFixedInputDepth, int kFixedDepthMultiplier> | |
void | QuantizedDepthwiseConvAccumRow (int stride, int dilation_factor, int input_depth, int input_width, const int8_t *input_data, int16_t input_offset, int pad_width, int depth_multiplier, int filter_width, const int8_t *filter_data, int out_x_buffer_start, int out_x_buffer_end, int output_depth, int32_t *acc_buffer) |
void | QuantizedDepthwiseConvAccumRowGeneric (int stride, int dilation_factor, int input_depth, int input_width, const int8_t *input_data, int16_t input_offset, int pad_width, int depth_multiplier, int filter_width, const int8_t *filter_data, int out_x_buffer_start, int out_x_buffer_end, int output_depth, int32_t *acc_buffer) |
void | DepthwiseConvInitAccBuffer (int num_output_pixels, int output_depth, const int32_t *bias_data, int32_t *acc_buffer) |
void | DepthwiseConvGeneral (const DepthwiseConvParams ¶ms, const int32_t *output_multiplier, const int32_t *output_shift, const Shape &input_shape, const int8_t *input_data, const Shape &filter_shape, const int8_t *filter_data, const Shape &, const int32_t *bias_data, const Shape &output_shape, int8_t *output_data, int thread_start, int thread_end, int thread_dim) |
|
inline |
Definition at line 1739 of file DepthwiseConvInt8.h.
References nnfw::cker::DepthwiseConvParams::depth_multiplier, DepthwiseConvInitAccBuffer(), nnfw::cker::DepthwiseConvParams::dilation_height_factor, nnfw::cker::DepthwiseConvParams::dilation_width_factor, nnfw::cker::Shape::Dims(), nnfw::cker::FlatSizeSkipDim(), nnfw::cker::PaddingValues::height, nnfw::cker::DepthwiseConvParams::input_offset, nnfw::cker::MatchingDim(), nnfw::cker::DepthwiseConvParams::output_offset, output_shape, nnfw::cker::DepthwiseConvParams::padding_values, nnfw::cker::Quantize(), nnfw::cker::DepthwiseConvParams::quantized_activation_max, nnfw::cker::DepthwiseConvParams::quantized_activation_min, QuantizedDepthwiseConvAccumRowGeneric(), nnfw::cker::DepthwiseConvParams::stride_height, nnfw::cker::DepthwiseConvParams::stride_width, TFMINI_USE_DEPTHWISECONV_KERNEL, and nnfw::cker::PaddingValues::width.
Referenced by nnfw::cker::optimized_integer_ops::DepthwiseConvWithRounding().
|
inline |
Definition at line 1649 of file DepthwiseConvInt8.h.
Referenced by DepthwiseConvGeneral().
void nnfw::cker::optimized_integer_ops::depthwise_conv::QuantizedDepthwiseConvAccumRow | ( | int | stride, |
int | dilation_factor, | ||
int | input_depth, | ||
int | input_width, | ||
const int8_t * | input_data, | ||
int16_t | input_offset, | ||
int | pad_width, | ||
int | depth_multiplier, | ||
int | filter_width, | ||
const int8_t * | filter_data, | ||
int | out_x_buffer_start, | ||
int | out_x_buffer_end, | ||
int | output_depth, | ||
int32_t * | acc_buffer | ||
) |
Definition at line 1539 of file DepthwiseConvInt8.h.
|
inline |
Definition at line 1609 of file DepthwiseConvInt8.h.
References m.
Referenced by DepthwiseConvGeneral().