Thanks @ptrblck !
But I have already tried, and the results are equivalent.
I was hoping that bilinear was equivalent to PIL bilinear.
I found this issue: In transforms.Resize, tensor interpolate is not the same as PIL resize. · Issue #2950 · pytorch/vision · GitHub 3
I am currently preparing a blog post about this here