MCPcopy Create free account
hub / github.com/360CVGroup/FancyVideo / forward

Method forward

fancyvideo/models/motion_module.py:244–246  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

242 self.register_buffer('pe', pe)
243
244 def forward(self, x):
245 x = x + self.pe[:, :x.size(1)]
246 return self.dropout(x)
247
248
249class VersatileAttention(CrossAttention):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected