Class GELU¶
Defined in File activation.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< GELUImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class GELU : public torch::nn::ModuleHolder<GELUImpl>¶
A
ModuleHolder
subclass forGELUImpl
.See the documentation for
GELUImpl
class to learn what methods it provides, or the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.