MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / forward

Method forward

diffsynth/models/stepvideo_vae.py:491–496  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

489 return x
490
491 def forward(self, x):
492 x = x.permute(0,2,3,4,1).contiguous()
493 h = self.attention(x)
494 x = self.proj_out(h, residual=x)
495 x = x.permute(0,4,1,2,3)
496 return x
497
498class Resnet3DBlock(nn.Module):
499 def __init__(self,

Callers

nothing calls this directly

Calls 1

attentionMethod · 0.95

Tested by

no test coverage detected