Class Flatten#
Defined in File linear.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::ModuleHolder< FlattenImpl >(Template Class ModuleHolder)
Class Documentation#
-
class Flatten : public torch::nn::ModuleHolder<FlattenImpl>#
A
ModuleHoldersubclass forFlattenImpl.See the documentation for
FlattenImplclass to learn what methods it provides, and examples of how to useFlattenwithtorch::nn::FlattenOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using Impl = FlattenImpl#
-
using Impl = FlattenImpl#