Class LayerNorm¶
Defined in File normalization.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< LayerNormImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class LayerNorm : public torch::nn::ModuleHolder<LayerNormImpl>¶
A
ModuleHolder
subclass forLayerNormImpl
.See the documentation for
LayerNormImpl
class to learn what methods it provides, and examples of how to useLayerNorm
withtorch::nn::LayerNormOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = LayerNormImpl¶
-
using Impl = LayerNormImpl¶