MCPcopy Create free account
hub / github.com/amazon-science/mm-cot / forward

Method forward

timm/models/hrnet.py:723–729  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

721 return y
722
723 def forward(self, x):
724 x = self.forward_features(x)
725 x = self.global_pool(x)
726 if self.drop_rate > 0.:
727 x = F.dropout(x, p=self.drop_rate, training=self.training)
728 x = self.classifier(x)
729 return x
730
731
732class HighResolutionNetFeatures(HighResolutionNet):

Callers

nothing calls this directly

Calls 1

forward_featuresMethod · 0.95

Tested by

no test coverage detected