MCPcopy Create free account
hub / github.com/SooLab/CGFormer / forward

Method forward

model/backbone.py:24–30  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected