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

Method forward

diffsynth/models/svd_unet.py:110–112  ·  view source on GitHub ↗
(self, timesteps)

Source from the content-addressed store, hash-verified

108 self.embeddings = torch.nn.Parameter(embeddings)
109
110 def forward(self, timesteps):
111 t_emb = self.embeddings[timesteps]
112 return t_emb
113
114
115class PositionalID(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected