(self, prob, n_holes, length)
| 44 | length (int): The length (in pixels) of each square patch. |
| 45 | """ |
| 46 | def __init__(self, prob, n_holes, length): |
| 47 | print(n_holes, length) |
| 48 | self.n_holes = n_holes |
| 49 | self.length = length |
| 50 | self.p = prob |
| 51 | |
| 52 | def __call__(self, img): |
| 53 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected