Typedef torch::nn::Dropout2dOptions¶
Defined in File dropout.h
Typedef Documentation¶
-
using torch::nn::Dropout2dOptions = DropoutOptions¶
Options for the
Dropout2d
module.Example:
Dropout2d model(Dropout2dOptions().p(0.42).inplace(true));
Defined in File dropout.h
Options for the Dropout2d
module.
Example:
Dropout2d model(Dropout2dOptions().p(0.42).inplace(true));