MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / weights

Method weights

mogen/models/utils/gaussian_diffusion.py:40–44  ·  view source on GitHub ↗

Get a numpy array of weights, one per diffusion step. The weights needn't be normalized, but must be positive.

(self)

Source from the content-addressed store, hash-verified

38
39 @abstractmethod
40 def weights(self):
41 """
42 Get a numpy array of weights, one per diffusion step.
43 The weights needn't be normalized, but must be positive.
44 """
45
46 def sample(self, batch_size, device):
47 """

Callers 1

sampleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected