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

Method __init__

examples/WanVSR/utils/utils.py:35–39  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

33 """
34
35 def __init__(self, *args, **kwargs):
36 super().__init__(*args, **kwargs)
37 self._padding = (self.padding[2], self.padding[2], self.padding[1],
38 self.padding[1], 2 * self.padding[0], 0)
39 self.padding = (0, 0, 0)
40
41 def forward(self, x, cache_x=None):
42 padding = list(self._padding)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected