Class Dropout¶
Defined in File dropout.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< DropoutImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class Dropout : public torch::nn::ModuleHolder<DropoutImpl>¶
A
ModuleHolder
subclass forDropoutImpl
.See the documentation for
DropoutImpl
class to learn what methods it provides, and examples of how to useDropout
withtorch::nn::DropoutOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = DropoutImpl¶
-
using Impl = DropoutImpl¶