MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / forward

Method forward

slowfast/models/uniformer.py:59–65  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

57 self.drop = nn.Dropout(drop)
58
59 def forward(self, x):
60 x = self.fc1(x)
61 x = self.act(x)
62 x = self.drop(x)
63 x = self.fc2(x)
64 x = self.drop(x)
65 return x
66
67
68class Attention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected