Shortcuts

Template Class InstanceNormImpl

Inheritance Relationships

Base Type

Class Documentation

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

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

Public Functions

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

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

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources