Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CompVis/diff2flow
/ weights
Method
weights
diff2flow/openai_diffusion/timestep_sampler.py:67–68 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
65
self._weights = np.ones([diffusion.num_timesteps])
66
67
def
weights(self):
68
return
self._weights
69
70
71
class
LossAwareSampler(ScheduleSampler):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected