You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: torchvision/models/maxvit.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -577,7 +577,7 @@ class MaxVit(nn.Module):
577
577
stochastic_depth_prob (float): Probability of stochastic depth. Expands to a list of probabilities for each layer that scales linearly to the specified value.
578
578
squeeze_ratio (float): Squeeze ratio in the SE Layer. Default: 0.25.
579
579
expansion_ratio (float): Expansion ratio in the MBConv bottleneck. Default: 4.
580
-
norm_layer (Callable[..., nn.Module]): Normalization function. Default: None (setting to None will produce a `BatchNorm2d(eps=1e-3, momentum=0.99)`).
580
+
norm_layer (Callable[..., nn.Module]): Normalization function. Default: None (setting to None will produce a `BatchNorm2d(eps=1e-3, momentum=0.01)`).
581
581
activation_layer (Callable[..., nn.Module]): Activation function Default: nn.GELU.
582
582
head_dim (int): Dimension of the attention heads.
583
583
mlp_ratio (int): Expansion ratio of the MLP layer. Default: 4.
0 commit comments