MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / __init__

Method __init__

wan/modules/vae.py:22–26  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

20 """
21
22 def __init__(self, *args, **kwargs):
23 super().__init__(*args, **kwargs)
24 self._padding = (self.padding[2], self.padding[2], self.padding[1],
25 self.padding[1], 2 * self.padding[0], 0)
26 self.padding = (0, 0, 0)
27
28 def forward(self, x, cache_x=None):
29 padding = list(self._padding)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected