MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / sample_timesteps

Method sample_timesteps

models/diffusion/base.py:133–134  ·  view source on GitHub ↗
(self, batch_size: int, device: torch.device)

Source from the content-addressed store, hash-verified

131 raise NotImplementedError
132
133 def sample_timesteps(self, batch_size: int, device: torch.device) -> torch.Tensor:
134 raise NotImplementedError
135
136 @torch.inference_mode()
137 def p_sample(self, *args, **kwargs):

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected