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.
- Parameters
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.
- Parameters
padding_mode – [in] Define the padding mode.
-
void set_constant_value(const float constant_value)
Method to set constant_value attribute.
- Parameters
constant_value – [in] Define the padding value.
-
PaddingMode get_padding_mode() const
Method to get padding_mode attribute.
- Returns
padding mode.
-
float get_constant_value() const
Method to get constant_value attribute.
- Returns
a constant value.
-
inline PadFusion()