(self, epoch, max_epoch)
| 16 | self.prob = prob |
| 17 | |
| 18 | def set_prob(self, epoch, max_epoch): |
| 19 | self.prob = self.st_prob * epoch / max_epoch |
| 20 | |
| 21 | def __call__(self, img, label): |
| 22 | if np.random.rand() > self.prob: |
nothing calls this directly
no outgoing calls
no test coverage detected