Class LpNormalization
- Defined in File lp_normalization.h 
Inheritance Relationships
Base Type
- public mindspore::ops::BaseOperator
Class Documentation
- 
class LpNormalization : public mindspore::ops::BaseOperator
- LpNormalization defined LpNormalization operator prototype of lite. - Public Functions - 
inline LpNormalization()
- Constructor. 
 - 
void Init(const int64_t axis, const int64_t p)
- Method to init the op's attributes. - 参数
- axis – [in] Define the dim to do normalization. 
- p – [in] Define the norm series. 
 
 
 - 
void set_axis(const int64_t axis)
- Method to set axis attribute. - 参数
- axis – [in] Define the dim to do normalization. 
 
 - 
void set_p(const int64_t p)
- Method to set p attribute. - 参数
- p – [in] Define the norm series. 
 
 - 
int64_t get_axis() const
- Method to get axis attribute. - 返回
- the dim to do normalization. 
 
 - 
int64_t get_p() const
- Method to get p attribute. - 返回
- the norm series. 
 
 
- 
inline LpNormalization()