Class SubFusion

Inheritance Relationships

Base Type

Class Documentation

class SubFusion : public mindspore::ops::Sub

SubFusion defined Sub operator prototype of lite.

Public Functions

inline SubFusion()

Constructor.

void Init(const ActivationType &activation_type = NO_ACTIVATION)

Method to init the op’s attributes.

参数

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.