port some tests in test_functional_tensor to pytest (#3977)
port some tests in test_functional_tensor to pytest (#3977)


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