Class Dropout3dImpl¶
Defined in File dropout.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::detail::_DropoutNd< Dropout3dImpl >
(Template Class _DropoutNd)
Class Documentation¶
-
class Dropout3dImpl : public torch::nn::detail::_DropoutNd<Dropout3dImpl>¶
Applies dropout over a 3-D input.
See https://pytorch.org/docs/main/nn.html#torch.nn.Dropout3d to learn about the exact behavior of this module.
See the documentation for
torch::nn::Dropout3dOptions
class to learn what constructor arguments are supported for this module.Example:
Dropout3d model(Dropout3dOptions().p(0.42).inplace(true));