Skip to content

Commit

Permalink
add typing
Browse files Browse the repository at this point in the history
  • Loading branch information
gau-nernst committed Jul 24, 2023
1 parent ff4eba2 commit ad63099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_toolbox/backbones/mobile_vit.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MobileViTStageConfig(NamedTuple):


class MobileViT(BaseBackbone):
def __init__(self, stem_channels: int, stage_configs: list[MobileViTStageConfig], out_channels: int):
def __init__(self, stem_channels: int, stage_configs: list[MobileViTStageConfig], out_channels: int) -> None:
super().__init__()
self.stem = nn.Sequential(
ConvNormAct(3, 16, 3, 2, act="swish"),
Expand Down

0 comments on commit ad63099

Please sign in to comment.