(self, ops, num_layers=2, choice_weights=None)
| 389 | |
| 390 | class RandAugment: |
| 391 | def __init__(self, ops, num_layers=2, choice_weights=None): |
| 392 | self.ops = ops |
| 393 | self.num_layers = num_layers |
| 394 | self.choice_weights = choice_weights |
| 395 | |
| 396 | def __call__(self, img): |
| 397 | # no replacement when using weighted choice |
nothing calls this directly
no outgoing calls
no test coverage detected