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

Function log

models/diffusion/continuous_time.py:16–17  ·  view source on GitHub ↗
(t, eps=1e-20)

Source from the content-addressed store, hash-verified

14
15
16def log(t, eps=1e-20):
17 return torch.log(t.clamp(min=eps))
18
19
20def log_snr_schedule_linear(t: torch.Tensor) -> torch.Tensor:

Callers 3

log_snr_schedule_linearFunction · 0.85
log_snr_schedule_cosineFunction · 0.85
opt_n_threadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected