MCPcopy Create free account
hub / github.com/CompVis/diff2flow / forward

Method forward

diff2flow/models/unet/openaimodel.py:71–74  ·  view source on GitHub ↗

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

(self, x, emb)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected