(self, prob=0.5)
| 42 | |
| 43 | class RandomHorizontalFlip: |
| 44 | def __init__(self, prob=0.5): |
| 45 | self.prob = prob |
| 46 | |
| 47 | def __call__(self, image, target): |
| 48 | if random.random() < self.prob: |
nothing calls this directly
no outgoing calls
no test coverage detected