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

Method forward

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

Source from the content-addressed store, hash-verified

104 self.drop = nn.Dropout(drop)
105
106 def forward(self, x):
107 x = self.fc1(x)
108 x = self.act(x)
109 x = self.drop(x)
110 x = self.fc2(x)
111 x = self.drop(x)
112 return x
113
114
115class CBlock(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected