Rate this Page

Class GELU#

Inheritance Relationships#

Base Type#

Class Documentation#

class GELU : public torch::nn::ModuleHolder<GELUImpl>#

A ModuleHolder subclass for GELUImpl.

See the documentation for GELUImpl class to learn what methods it provides, or the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = GELUImpl#