Shortcuts

Typedef torch::nn::Dropout2dOptions

Typedef Documentation

using torch::nn::Dropout2dOptions = DropoutOptions

Options for the Dropout2d module.

Example:

Dropout2d model(Dropout2dOptions().p(0.42).inplace(true));

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