MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / forward

Method forward

ldm/modules/diffusionmodules/openaimodel.py:70–73  ·  view source on GitHub ↗

Apply the module to `x` given `emb` timestep embeddings.

(self, x, emb)

Source from the content-addressed store, hash-verified

68
69 @abstractmethod
70 def forward(self, x, emb):
71 """
72 Apply the module to `x` given `emb` timestep embeddings.
73 """
74
75
76class TimestepEmbedSequential(nn.Sequential, TimestepBlock):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected