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