MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / forward

Method forward

sat/sgm/modules/diffusionmodules/openaimodel.py:490–491  ·  view source on GitHub ↗
(self, t)

Source from the content-addressed store, hash-verified

488 self.dim = dim
489
490 def forward(self, t):
491 return timestep_embedding(t, self.dim)
492
493
494str_to_dtype = {"fp32": th.float32, "fp16": th.float16, "bf16": th.bfloat16}

Callers

nothing calls this directly

Calls 1

timestep_embeddingFunction · 0.85

Tested by

no test coverage detected