Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ __init__
Method
__init__
sat/sgm/modules/diffusionmodules/openaimodel.py:486–488 ·
view source on GitHub ↗
(self, dim)
Source
from the content-addressed store, hash-verified
484
485
class
Timestep(nn.Module):
486
def
__init__(self, dim):
487
super().__init__()
488
self.dim = dim
489
490
def
forward(self, t):
491
return
timestep_embedding(t, self.dim)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected