Rate this Page

Template Class InstanceNormImpl#

Inheritance Relationships#

Base Type#

Class Documentation#

template<size_t D, typename Derived>
class InstanceNormImpl : public torch::nn::NormImplBase<D, Derived, InstanceNormOptions>#

Base class for all (dimension-specialized) instance norm modules.

Public Functions

inline Tensor forward(const Tensor &input)#
inline virtual void pretty_print(std::ostream &stream) const override#

Pretty prints the InstanceNorm{1,2,3}d module into the given stream.