(self, *inputs)
| 33 | self._pad = [pad_wd // 2, pad_wd - pad_wd // 2, 0, pad_ht] |
| 34 | |
| 35 | def pad(self, *inputs): |
| 36 | return [F.pad(x, self._pad, mode='replicate') for x in inputs] |
| 37 | |
| 38 | def unpad(self, x): |
| 39 | ht, wd = x.shape[-2:] |
no outgoing calls
no test coverage detected