(self, diffusion)
| 60 | |
| 61 | class UniformSampler(ScheduleSampler): |
| 62 | def __init__(self, diffusion): |
| 63 | self.diffusion = diffusion |
| 64 | self._weights = np.ones([diffusion.num_timesteps]) |
| 65 | |
| 66 | def weights(self): |
| 67 | return self._weights |
nothing calls this directly
no outgoing calls
no test coverage detected