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

Method clear_cache

diffsynth/models/cog_vae.py:175–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

173
174
175 def clear_cache(self):
176 self.cached_tensor = None
177
178
179 def forward(self, input: torch.Tensor, use_cache = True) -> torch.Tensor:

Callers 5

__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
decode_small_videoMethod · 0.45
encode_small_videoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected