Skip to content

Commit

Permalink
Fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
sublee committed Sep 20, 2019
1 parent 5021937 commit 96d7d17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/resnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ def build_resnet(layers: List[int],
"""
inplanes = 64

def make_layer(planes: int, blocks: int, stride: int = 1, inplace: bool = False) -> nn.Sequential:
def make_layer(planes: int,
blocks: int,
stride: int = 1,
inplace: bool = False,
) -> nn.Sequential:
nonlocal inplanes

downsample = None
Expand Down

0 comments on commit 96d7d17

Please sign in to comment.