Class AdderFusion
- Defined in File adder_fusion.h 
Inheritance Relationships
Base Type
- public Adder
Class Documentation
- 
class AdderFusion : public Adder
- AdderFusion defined Adder operator prototype of lite. - Public Functions - 
inline AdderFusion()
- Constructor. 
 - 
void Init(const int64_t in_channel, const int64_t out_channel, const std::vector<int64_t> &kernel_size, const PadMode &pad_mode, const std::vector<int64_t> &stride, const std::vector<int64_t> &pad_list, const std::vector<int64_t> &dilation, const int64_t group, const Format &format, const ActivationType activation_type)
- Method to init the op's attributes. - 参数
- in_channel – [in] Define the number of input channel. 
- out_channel – [in] Define the number of output channel. 
- kernel_size – [in] Define the size of the filter kernel. 
- pad_mode – [in] Define the padding method. 
- stride – [in] Define the moving size of the filter kernel. 
- pad_list – [in] Define the concrete padding value on H and W dimension. 
- dilation – [in] Define the coefficient of expansion of the filter kernel. 
- group – [in] Define the number of group. 
- format – [in] Define the format of input tensor. 
- activation_type – [in] Define the activation type. 
 
 
 - 
void set_activation_type(const ActivationType activation_type)
- Method to set activation type. - 参数
- activation_type – [in] Define the activation type. 
 
 - 
ActivationType get_activation_type() const
- Method to get activation type. - 返回
- activation type. 
 
 
- 
inline AdderFusion()