Class AddFusion
Defined in File add_fusion.h
Inheritance Relationships
Base Type
public mindspore::ops::Add
(Class Add)
Class Documentation
-
class AddFusion : public mindspore::ops::Add
AddFusion defined Add operator prototype of lite.
Public Functions
-
inline AddFusion()
Constructor.
-
void Init(const ActivationType activation_type)
Method to init the op’s attributes.
- Parameters
activation_type – [in] Define the activation type.
-
void set_activation_type(const ActivationType activation_type)
Method to set activation type.
- Parameters
activation_type – [in] Define the activation type.
-
ActivationType get_activation_type() const
Method to get activation type.
- Returns
activation type.
-
inline AddFusion()