Class LRN
- Defined in File lrn.h 
Inheritance Relationships
Base Type
- public mindspore::ops::BaseOperator
Class Documentation
- 
class LRN : public mindspore::ops::BaseOperator
- Local Response Normalization. Refer to Python API mindspore.ops.LRN for more details. - Public Functions - 
inline LRN()
- Constructor. 
 - 
void Init(const int64_t depth_radius = 5, const float bias = 1.0, const float alpha = 1.0, const float beta = 0.5, const std::string &norm_region = "ACROSS_CHANNELS")
- Init. Refer to the parameters of Python API mindspore.ops.LRN for the inputs. 
 - 
void set_depth_radius(const int64_t depth_radius)
- Set depth_radius. 
 - 
void set_bias(const float bias)
- Set bias. 
 - 
void set_alpha(const float alpha)
- Set alpha. 
 - 
void set_beta(const float beta)
- Set beta. 
 - 
void set_norm_region(const std::string &norm_region)
- Set norm_region. 
 - 
int64_t get_depth_radius() const
- Get depth_radius. - 返回
- depth_radius. 
 
 - 
float get_bias() const
- Get bias. - 返回
- bias. 
 
 - 
float get_alpha() const
- Get alpha. - 返回
- alpha. 
 
 - 
float get_beta() const
- Get beta. - 返回
- beta. 
 
 - 
std::string get_norm_region() const
- Get norm_region. - 返回
- norm_region. 
 
 
- 
inline LRN()