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

Method __init__

diffsynth/models/stepvideo_vae.py:730–740  ·  view source on GitHub ↗
(self,
        in_channels,
        scale_factor=2
    )

Source from the content-addressed store, hash-verified

728
729class Upsample3D(nn.Module):
730 def __init__(self,
731 in_channels,
732 scale_factor=2
733 ):
734 super().__init__()
735
736 self.scale_factor = scale_factor
737 self.conv3d = Res3DBlockUpsample(input_filters=in_channels,
738 num_filters=in_channels,
739 down_sampling_stride=(1, 1, 1),
740 down_sampling=False)
741
742 def forward(self, x, is_init=True, is_split=True):
743 b, c, t, h, w = x.shape

Callers

nothing calls this directly

Calls 2

Res3DBlockUpsampleClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected