Shortcuts

Class Dropout3dImpl

Inheritance Relationships

Base Type

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));

Public Functions

Tensor forward(Tensor input)
virtual void pretty_print(std::ostream &stream) const override

Pretty prints the Dropout3d module into the given stream.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources