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

Method forward

timm/models/xception.py:213–219  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

211 return x
212
213 def forward(self, x):
214 x = self.forward_features(x)
215 x = self.global_pool(x)
216 if self.drop_rate:
217 F.dropout(x, self.drop_rate, training=self.training)
218 x = self.fc(x)
219 return x
220
221
222def _xception(variant, pretrained=False, **kwargs):

Callers

nothing calls this directly

Calls 1

forward_featuresMethod · 0.95

Tested by

no test coverage detected