modelzoo.vision.pytorch.dit.layers.RegressionHead.RegressionHead#

class modelzoo.vision.pytorch.dit.layers.RegressionHead.RegressionHead[source]#

Bases: torch.nn.Module

Methods

forward

reset_parameters

unpatchify

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

Call self as a function.

__init__(image_size=[224, 224], out_channels=4, patch_size=[16, 16], hidden_size=384, use_conv_transpose_unpatchify=False, kernel_initializer: str = 'xavier_uniform', bias_initializer: str = 'zeros')[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#