|
SHL 2.2.x
|
#include <csinn_data_structure.h>
Public Attributes | |
| struct csinn_params_base | base |
| float | n |
| int32_t | n_multiplier |
| int32_t | n_shift |
CSI-NN relu params
| struct csinn_params_base csinn_relu_params::base |
The basic information of the operator
| float csinn_relu_params::n |
Coefficients used by variants of ReLU such as n/alpha/threshold
| int32_t csinn_relu_params::n_multiplier |
The multiplier used in decimal point calculation, together with n_shift to form n
| int32_t csinn_relu_params::n_shift |
Used for fixed-point calculation number of shifts,together with n_multiplier to form n