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

Method clean_mem

examples/WanVSR/utils/TCDecoder.py:272–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

270 raise NotImplementedError("Decoder-only model: call decode_video(...) instead.")
271
272 def clean_mem(self):
273 self.mem = [None] * len(self.decoder)
274
275class DotDict(dict):
276 __getattr__ = dict.__getitem__

Callers 4

__call__Method · 0.45
__call__Method · 0.45
clean_memMethod · 0.45
build_tcdecoderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected