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

Method __init__

diffsynth/models/cog_vae.py:170–172  ·  view source on GitHub ↗
(self, in_channels, out_channels, kernel_size, stride=1, padding=0)

Source from the content-addressed store, hash-verified

168
169class CachedConv3d(torch.nn.Conv3d):
170 def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0):
171 super().__init__(in_channels, out_channels, kernel_size=kernel_size, stride=stride, padding=padding)
172 self.cached_tensor = None
173
174
175 def clear_cache(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected