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

Method store

diffsynth/pipelines/flashvsr_full.py:494–496  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

492 return not should_calc
493
494 def store(self, hidden_states):
495 self.previous_residual = hidden_states - self.previous_hidden_states
496 self.previous_hidden_states = None
497
498 def update(self, hidden_states):
499 hidden_states = hidden_states + self.previous_residual

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected