ONE - On-device Neural Engine
|
Data Structures | |
struct | FloatDepthwiseConvKernel |
Functions | |
template<bool kAllowStrided, int kFixedInputDepth, int kFixedDepthMultiplier> | |
void | FloatDepthwiseConvAccumRow (int stride, 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 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) |
template<FusedActivationFunctionType Ac> | |
void | DepthwiseConv (const float *input_data, const Dims< 4 > &input_dims, const float *filter_data, const Dims< 4 > &filter_dims, const float *bias_data, const Dims< 4 > &bias_dims, int stride_width, int stride_height, int pad_width, int pad_height, int depth_multiplier, float *output_data, const Dims< 4 > &output_dims) |
void optimized_ops::DepthwiseConv | ( | const float * | input_data, |
const Dims< 4 > & | input_dims, | ||
const float * | filter_data, | ||
const Dims< 4 > & | filter_dims, | ||
const float * | bias_data, | ||
const Dims< 4 > & | bias_dims, | ||
int | stride_width, | ||
int | stride_height, | ||
int | pad_width, | ||
int | pad_height, | ||
int | depth_multiplier, | ||
float * | output_data, | ||
const Dims< 4 > & | output_dims | ||
) |
Definition at line 165 of file DepthwiseConv2D.float.cpp.
References ArraySize(), DCHECK, DCHECK_GE, DCHECK_LE, DepthwiseConvInitAccBuffer(), FloatDepthwiseConvAccumRowGeneric(), kNone, kRelu, kRelu1, kRelu6, MatchingArraySize(), and Dims< N >::strides.
|
inline |
Definition at line 154 of file DepthwiseConv2D.float.cpp.
Referenced by DepthwiseConv().
void optimized_ops::FloatDepthwiseConvAccumRow | ( | int | stride, |
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 44 of file DepthwiseConv2D.float.cpp.
|
inline |
Definition at line 114 of file DepthwiseConv2D.float.cpp.
References m.
Referenced by DepthwiseConv().