Skip to content

Commit

Permalink
Fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Jul 30, 2021
1 parent 083e665 commit d941d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolort/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def space_to_depth(x: Tensor) -> Tensor:
N, C, H, W = x.size()
x = x.reshape(N, C, H // 2, 2, W // 2, 2)
x = x.permute(0, 5, 3, 1, 2, 4)
y = x.reshape(N, C*4, H // 2, W // 2)
y = x.reshape(N, C * 4, H // 2, W // 2)
return y


Expand Down

0 comments on commit d941d94

Please sign in to comment.