MCPcopy Index your code
hub / github.com/openai/improved-diffusion / weights

Method weights

improved_diffusion/resample.py:35–40  ·  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

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

Callers 1

sampleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected