MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / forward

Method forward

timm/models/efficientnet.py:488–493  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

486 return x
487
488 def forward(self, x):
489 x = self.forward_features(x)
490 x = self.global_pool(x)
491 if self.drop_rate > 0.:
492 x = F.dropout(x, p=self.drop_rate, training=self.training)
493 return self.classifier(x)
494
495
496class EfficientNetFeatures(nn.Module):

Callers

nothing calls this directly

Calls 1

forward_featuresMethod · 0.95

Tested by

no test coverage detected