Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CompVis/diff2flow
/ diffusion.py
File
diffusion.py
diff2flow/diffusion.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
einops
3
import
numpy
as
np
4
import
torch.nn
as
nn
Callers
nothing calls this directly
Calls
2
ForwardDiffusion
Class · 0.85
q_sample
Method · 0.45
Tested by
no test coverage detected