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

Method __init__

diffsynth/extensions/RIFE/__init__.py:61–66  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

59
60class IFNet(nn.Module):
61 def __init__(self, **kwargs):
62 super(IFNet, self).__init__()
63 self.block0 = IFBlock(7+4, c=90)
64 self.block1 = IFBlock(7+4, c=90)
65 self.block2 = IFBlock(7+4, c=90)
66 self.block_tea = IFBlock(10+4, c=90)
67
68 def forward(self, x, scale_list=[4, 2, 1], training=False):
69 if training == False:

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

IFBlockClass · 0.85

Tested by

no test coverage detected