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

Method forward

slowfast/models/video_model_builder.py:146–153  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

144 self.relu = nn.ReLU(inplace_relu)
145
146 def forward(self, x):
147 x_s = x[0]
148 x_f = x[1]
149 fuse = self.conv_f2s(x_f)
150 fuse = self.bn(fuse)
151 fuse = self.relu(fuse)
152 x_s_fuse = torch.cat([x_s, fuse], 1)
153 return [x_s_fuse, x_f]
154
155
156@MODEL_REGISTRY.register()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected