Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ __init__
Method
__init__
ldm/modules/distributions/distributions.py:14–15 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
12
13
class
DiracDistribution(AbstractDistribution):
14
def
__init__(self, value):
15
self.value = value
16
17
def
sample(self):
18
return
self.value
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected