Rate this Page

Class Dropout2d#

Inheritance Relationships#

Base Type#

Class Documentation#

class Dropout2d : public torch::nn::ModuleHolder<Dropout2dImpl>#

A ModuleHolder subclass for Dropout2dImpl.

See the documentation for Dropout2dImpl class to learn what methods it provides, and examples of how to use Dropout2d with torch::nn::Dropout2dOptions. See the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = Dropout2dImpl#