Class PadFusion
- Defined in File pad_fusion.h 
Inheritance Relationships
Base Type
- public mindspore::ops::Pad(Class Pad)
Class Documentation
- 
class PadFusion : public mindspore::ops::Pad
- PadFusion defined Pad operator prototype of lite. - Public Functions - 
inline PadFusion()
- Constructor. 
 - 
void Init(const PaddingMode &padding_mode, const float constant_value)
- Method to init the op's attributes. - 参数
- padding_mode – [in] Define the padding mode. 
- constant_value – [in] Define the padding value. 
 
 
 - 
void set_padding_mode(const PaddingMode &padding_mode)
- Method to set padding_mode attribute. - 参数
- padding_mode – [in] Define the padding mode. 
 
 - 
void set_constant_value(const float constant_value)
- Method to set constant_value attribute. - 参数
- constant_value – [in] Define the padding value. 
 
 - 
PaddingMode get_padding_mode() const
- Method to get padding_mode attribute. - 返回
- padding mode. 
 
 - 
float get_constant_value() const
- Method to get constant_value attribute. - 返回
- a constant value. 
 
 
- 
inline PadFusion()