Shortcuts

Template Class BatchNormImplBase

Inheritance Relationships

Base Type

Class Documentation

template<size_t D, typename Derived>
class torch::nn::BatchNormImplBase : public torch::nn::NormImplBase<D, Derived, BatchNormOptions>

Base class for all (dimension-specialized) batchnorm modules.

Public Functions

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

Pretty prints the BatchNorm{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