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

Method forward

diffsynth/models/sd_unet.py:224–227  ·  view source on GitHub ↗
(self, hidden_states, time_emb, text_emb, res_stack, **kwargs)

Source from the content-addressed store, hash-verified

222 super().__init__()
223
224 def forward(self, hidden_states, time_emb, text_emb, res_stack, **kwargs):
225 res_hidden_states = res_stack.pop()
226 hidden_states = torch.cat([hidden_states, res_hidden_states], dim=1)
227 return hidden_states, time_emb, text_emb, res_stack
228
229
230class SDUNet(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected