MCPcopy Create free account
hub / github.com/Sin3DM/Sin3DM / forward

Method forward

src/diffusion/unet_triplane.py:166–172  ·  view source on GitHub ↗
(self, x, emb)

Source from the content-addressed store, hash-verified

164 """
165
166 def forward(self, x, emb):
167 for layer in self:
168 if isinstance(layer, TimestepBlock):
169 x = layer(x, emb)
170 else:
171 x = layer(x)
172 return x
173
174
175class TriplaneResBlock(TimestepBlock):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected