functional_tensor.py 369 Bytes
Newer Older
luopl's avatar
luopl committed
1
2
3
4
5
6
7
8
9
10
11
import warnings

from transforms._functional_tensor import *  # noqa

warnings.warn(
    "The torchvision.transforms.functional_tensor module is deprecated "
    "in 0.15 and will be **removed in 0.17**. Please don't rely on it. "
    "You probably just need to use APIs in "
    "torchvision.transforms.functional or in "
    "torchvision.transforms.v2.functional."
)