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

Method forward_features

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

Source from the content-addressed store, hash-verified

476 self.num_features, self.num_classes, pool_type=global_pool)
477
478 def forward_features(self, x):
479 x = self.conv_stem(x)
480 x = self.bn1(x)
481 x = self.act1(x)
482 x = self.blocks(x)
483 x = self.conv_head(x)
484 x = self.bn2(x)
485 x = self.act2(x)
486 return x
487
488 def forward(self, x):
489 x = self.forward_features(x)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected