Class Linear¶
Defined in File linear.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< LinearImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class Linear : public torch::nn::ModuleHolder<LinearImpl>¶
A
ModuleHolder
subclass forLinearImpl
.See the documentation for
LinearImpl
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
-
using Impl = LinearImpl¶
-
using Impl = LinearImpl¶