MCPcopy Index your code
hub / github.com/huggingface/diffusers / DiffusionUncond

Class DiffusionUncond

scripts/convert_dance_diffusion_to_diffusers.py:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67class DiffusionUncond(nn.Module):
68 def __init__(self, global_args):
69 super().__init__()
70
71 self.diffusion = DiffusionAttnUnet1D(global_args, n_attn_layers=4)
72 self.diffusion_ema = deepcopy(self.diffusion)
73 self.rng = torch.quasirandom.SobolEngine(1, scramble=True)
74
75
76def download(model_name):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…