MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / AbstractDistribution

Class AbstractDistribution

ldm/modules/distributions/distributions.py:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4
5class AbstractDistribution:
6 def sample(self):
7 raise NotImplementedError()
8
9 def mode(self):
10 raise NotImplementedError()
11
12
13class DiracDistribution(AbstractDistribution):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected