Rate this Page

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