(self, imgs, targets)
| 557 | |
| 558 | class MotToTensor(ToTensor): |
| 559 | def __call__(self, imgs, targets): |
| 560 | ret_imgs = [] |
| 561 | for img in imgs: |
| 562 | ret_imgs.append(F.to_tensor(img)) |
| 563 | return ret_imgs, targets |
| 564 | |
| 565 | |
| 566 | class RandomErasing(object): |
nothing calls this directly
no outgoing calls
no test coverage detected