MCPcopy Create free account
hub / github.com/DPS2022/diffusion-posterior-sampling / forward

Method forward

guided_diffusion/unet.py:131–134  ·  view source on GitHub ↗

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

(self, x, emb)

Source from the content-addressed store, hash-verified

129
130 @abstractmethod
131 def forward(self, x, emb):
132 """
133 Apply the module to `x` given `emb` timestep embeddings.
134 """
135
136
137class TimestepEmbedSequential(nn.Sequential, TimestepBlock):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected