mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Remove unecessary line from nest post refactor
This commit is contained in:
parent
c8ec1ffcb9
commit
ee4d8fc69a
@ -329,7 +329,6 @@ class Nest(nn.Module):
|
|||||||
def forward_features(self, x):
|
def forward_features(self, x):
|
||||||
""" x shape (B, C, H, W)
|
""" x shape (B, C, H, W)
|
||||||
"""
|
"""
|
||||||
B, _, H, W = x.shape
|
|
||||||
x = self.patch_embed(x)
|
x = self.patch_embed(x)
|
||||||
x = self.levels(x)
|
x = self.levels(x)
|
||||||
# Layer norm done over channel dim only (to NHWC and back)
|
# Layer norm done over channel dim only (to NHWC and back)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user