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.

Parameters

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

void set_epsilon(const float epsilon)

Method to set epsilon attribute.

Parameters

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

float get_epsilon() const

Method to get epsilon attribute.

Returns

a value.

void set_momentum(const float momentum)

Method to set momentum attribute.

Parameters

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

float get_momentum() const

Method to get momentum attribute.

Returns

a value.