modelzoo.vision.pytorch.dit.input.transforms.LabelDropout#

class modelzoo.vision.pytorch.dit.input.transforms.LabelDropout[source]#

Bases: torch.nn.Module

Methods

forward

token_drop

__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

__init__(dropout_prob, num_classes)[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#