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

Method forward

diff2flow/models/unet/openaimodel.py:421–422  ·  view source on GitHub ↗
(self, t)

Source from the content-addressed store, hash-verified

419 self.dim = dim
420
421 def forward(self, t):
422 return timestep_embedding(t, self.dim)
423
424
425class UNetModel(nn.Module):

Callers

nothing calls this directly

Calls 1

timestep_embeddingFunction · 0.90

Tested by

no test coverage detected