(self, dtype=torch.float32)
| 25 | class ToTensor: |
| 26 | |
| 27 | def __init__(self, dtype=torch.float32): |
| 28 | self.dtype = dtype |
| 29 | |
| 30 | def __call__(self, pil_img): |
| 31 | np_img = np.array(pil_img, dtype=np.uint8) |
nothing calls this directly
no outgoing calls
no test coverage detected