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

Method store

diffsynth/pipelines/flashvsr_tiny.py:477–479  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

475 return not should_calc
476
477 def store(self, hidden_states):
478 self.previous_residual = hidden_states - self.previous_hidden_states
479 self.previous_hidden_states = None
480
481 def update(self, hidden_states):
482 hidden_states = hidden_states + self.previous_residual

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected