We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ada0c commit d196fa5Copy full SHA for d196fa5
timm/models/nfnet.py
@@ -445,7 +445,7 @@ def forward_features(self, x):
445
x = self.final_act(x)
446
return x
447
448
- def forward_head(self, x, pre_logits=False):
+ def forward_head(self, x, pre_logits: bool = False):
449
return self.head(x, pre_logits=pre_logits) if pre_logits else self.head(x)
450
451
def forward(self, x):
0 commit comments