functional_tensor.py 381 B

1234567891011
  1. import warnings
  2. from torchvision.transforms._functional_tensor import * # noqa
  3. warnings.warn(
  4. "The torchvision.transforms.functional_tensor module is deprecated "
  5. "in 0.15 and will be **removed in 0.17**. Please don't rely on it. "
  6. "You probably just need to use APIs in "
  7. "torchvision.transforms.functional or in "
  8. "torchvision.transforms.v2.functional."
  9. )