Rate this Page

Class Linear#

Inheritance Relationships#

Base Type#

Class Documentation#

classLinear:publictorch::nn::ModuleHolder<LinearImpl>#

AModuleHolder subclass forLinearImpl.

See the documentation forLinearImpl class to learn what methods it provides, and examples of how to useLinear withtorch::nn::LinearOptions. See the documentation forModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

usingImpl=LinearImpl#