MCPcopy Create free account
hub / github.com/modelscope/DiffSynth-Studio / update

Method update

diffsynth/pipelines/wan_video_new.py:1301–1303  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

1299 self.previous_hidden_states = None
1300
1301 def update(self, hidden_states):
1302 hidden_states = hidden_states + self.previous_residual
1303 return hidden_states
1304
1305
1306

Callers 5

processMethod · 0.45
processMethod · 0.45
runMethod · 0.45
model_fn_wan_videoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected