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
ModuleHolder
subclass forFlattenImpl
.See the documentation for
FlattenImpl
class to learn what methods it provides, and examples of how to useFlatten
withtorch::nn::FlattenOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = FlattenImpl¶
-
using Impl = FlattenImpl¶