Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
def
log(t, eps=1e-20):
17
return
torch.log(t.clamp(min=eps))
18
19
20
def
log_snr_schedule_linear(t: torch.Tensor) -> torch.Tensor:
Callers
3
log_snr_schedule_linear
Function · 0.85
log_snr_schedule_cosine
Function · 0.85
opt_n_threads
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected