Class GLU¶
Defined in File activation.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< GLUImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class GLU : public torch::nn::ModuleHolder<GLUImpl>¶
A
ModuleHolder
subclass forGLUImpl
.See the documentation for
GLUImpl
class to learn what methods it provides, and examples of how to useGLU
withtorch::nn::GLUOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.