Class InstanceNorm

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class InstanceNorm : public mindspore::ops::BaseOperator

InstanceNorm defined the InstanceNorm operator prototype.

Public Functions

inline InstanceNorm()

Constructor.

void Init(const float epsilon = 0.00001)

Method to init the op’s attributes.

参数

epsilon[in] Define a value added to the denominator for numerical stability.

void set_epsilon(const float epsilon)

Method to set epsilon attribute.

参数

epsilon[in] Define a value added to the denominator for numerical stability.

float get_epsilon() const

Method to get epsilon attribute.

返回

a value.

void set_momentum(const float momentum)

Method to set momentum attribute.

参数

momentum[in] Define a value added to the denominator for numerical stability.

float get_momentum() const

Method to get momentum attribute.

返回

a value.