xvdp:

a while ago I built myself a translation of the torchvision.transforms library that operates over tensors.


That sounds cool, but note that torchvision implements the transformations now for tensors step by step, so you might consider using it directly or contribute instead to it.
E.g. resize seems to work on tensors already:
import torchvision.transforms.functional as TF

out = TF.resize(torch.randn(3, 24, 24), (12, 12))
print(out.shape)
> torch.Size([3, 12, 12])