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

Method __init__

diffsynth/models/stepvideo_vae.py:415–425  ·  view source on GitHub ↗
(self,
        chan_in,
        chan_out,
        kernel_size,
        **kwargs
    )

Source from the content-addressed store, hash-verified

413
414class CausalConvChannelLast(CausalConv):
415 def __init__(self,
416 chan_in,
417 chan_out,
418 kernel_size,
419 **kwargs
420 ):
421 super().__init__(
422 chan_in, chan_out, kernel_size, **kwargs)
423
424 self.time_causal_padding = (0, 0) + self.time_causal_padding
425 self.time_uncausal_padding = (0, 0) + self.time_uncausal_padding
426
427 def forward(self, x, is_init=True, residual=None):
428 if self.is_first_run:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected