MCPcopy Index your code
hub / github.com/modelscope/DiffSynth-Studio / update

Method update

diffsynth/pipelines/wan_video.py:531–533  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

529 self.previous_hidden_states = None
530
531 def update(self, hidden_states):
532 hidden_states = hidden_states + self.previous_residual
533 return hidden_states
534
535
536

Callers 15

__call__Method · 0.45
model_fn_wan_videoFunction · 0.45
processMethod · 0.45
get_vocabMethod · 0.45
__call__Method · 0.45
__call__Method · 0.45
on_save_checkpointMethod · 0.45
launch_training_taskFunction · 0.45
xlm_roberta_largeFunction · 0.45
loadMethod · 0.45
load_modelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected