MCPcopy Create free account
hub / github.com/AtlasAnalyticsLab/AdaFisher / forward

Method forward

Image_Classification/src/models/focalnet.py:25–31  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

23 self.drop = nn.Dropout(drop)
24
25 def forward(self, x):
26 x = self.fc1(x)
27 x = self.act(x)
28 x = self.drop(x)
29 x = self.fc2(x)
30 x = self.drop(x)
31 return x
32
33
34class FocalModulation(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected