(img)
| 335 | |
| 336 | |
| 337 | def single42tensor4(img): |
| 338 | return torch.from_numpy(np.ascontiguousarray(img)).permute(2, 0, 1, 3).float() |
| 339 | |
| 340 | |
| 341 | # from skimage.io import imread, imsave |
nothing calls this directly
no outgoing calls
no test coverage detected