Class LRN

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.

Returns

depth_radius.

float get_bias() const

Get bias.

Returns

bias.

float get_alpha() const

Get alpha.

Returns

alpha.

float get_beta() const

Get beta.

Returns

beta.

std::string get_norm_region() const

Get norm_region.

Returns

norm_region.