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

Method __init__

diffsynth/extensions/ESRGAN/__init__.py:29–33  ·  view source on GitHub ↗
(self, num_feat, num_grow_ch=32)

Source from the content-addressed store, hash-verified

27class RRDB(torch.nn.Module):
28
29 def __init__(self, num_feat, num_grow_ch=32):
30 super(RRDB, self).__init__()
31 self.rdb1 = ResidualDenseBlock(num_feat, num_grow_ch)
32 self.rdb2 = ResidualDenseBlock(num_feat, num_grow_ch)
33 self.rdb3 = ResidualDenseBlock(num_feat, num_grow_ch)
34
35 def forward(self, x):
36 out = self.rdb1(x)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

ResidualDenseBlockClass · 0.85

Tested by

no test coverage detected