MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / __init__

Method __init__

architecture/embeddings.py:1366–1371  ·  view source on GitHub ↗
(self, num_channels: int, flip_sin_to_cos: bool, downscale_freq_shift: float, scale: int = 1)

Source from the content-addressed store, hash-verified

1364
1365class Timesteps(nn.Module):
1366 def __init__(self, num_channels: int, flip_sin_to_cos: bool, downscale_freq_shift: float, scale: int = 1):
1367 super().__init__()
1368 self.num_channels = num_channels
1369 self.flip_sin_to_cos = flip_sin_to_cos
1370 self.downscale_freq_shift = downscale_freq_shift
1371 self.scale = scale
1372
1373 def forward(self, timesteps):
1374 t_emb = get_timestep_embedding(

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected