Port to_tensor tests in test_transforms to pytest (#3966)
Port to_tensor tests in test_transforms to pytest (#3966)


pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision