ONE - On-device Neural Engine
|
#include <Conv.h>
Public Member Functions | |
Conv () | |
void | prepareF32 (const Shape &filter_shape, const float *filter_data, PaddingType padding_type, bool &is_replaced_weights, uint32_t dilationWidthFactor, uint32_t dilationHeightFactor) |
void | prepareQ8uPerTensor (const Shape &input_shape, const Shape &kernel_shape, const Shape &output_shape, uint32_t stride_width, uint32_t stride_height, uint32_t dilation_width_factor, uint32_t dilation_height_factor) |
void | operator() (const ConvParams ¶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) |
void | operator() (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) |
void | operator() (const ConvParams ¶ms, const Shape &input_shape, const uint8_t *input_data, const Shape &filter_shape, const uint8_t *filter_data, const int32_t *filter_zero_point, const Shape &bias_shape, const int32_t *bias_data, const Shape &output_shape, uint8_t *output_data) |
void | operator() (const ConvParams ¶ms, const Shape &input_shape, const int8_t *input_data, const Shape &filter_shape, const int8_t *filter_data, const Shape &bias_shape, const int32_t *bias_data, const Shape &output_shape, int8_t *output_data) |
std::vector< int32_t > & | per_channel_output_multiplier () |
std::vector< int > & | per_channel_output_shift () |
|
inline |
|
inline |
Definition at line 86 of file Conv.h.
References nnfw::cker::multithreaded::Conv(), nnfw::cker::reference::Conv(), nnfw::cker::ConvParams::dilation_height_factor, nnfw::cker::ConvParams::dilation_width_factor, output_shape, and nnfw::cker::ConvParams::padding_type.
|
inline |
Definition at line 141 of file Conv.h.
References output_shape.
|
inline |
Definition at line 130 of file Conv.h.
References output_shape.
|
inline |
Definition at line 112 of file Conv.h.
References nnfw::cker::optimized::Conv(), nnfw::cker::ConvParams::dilation_height_factor, nnfw::cker::ConvParams::dilation_width_factor, nnfw::cker::Shape::FlatSize(), output_shape, nnfw::cker::ConvParams::stride_height, and nnfw::cker::ConvParams::stride_width.
|
inline |
Definition at line 150 of file Conv.h.
Referenced by onert::backend::cpu::ops::ConvolutionLayer::prepare().
|
inline |
Definition at line 151 of file Conv.h.
Referenced by onert::backend::cpu::ops::ConvolutionLayer::prepare().
|
inline |
Definition at line 60 of file Conv.h.
Referenced by onert::backend::cpu::ops::ConvolutionLayer::prepare().
|
inline |
Definition at line 74 of file Conv.h.
References output_shape.
Referenced by onert::backend::cpu::ops::ConvolutionLayer::prepare().