code: def is_pure_tensor(inpt: Any) -> bool:
      return isinstance(inpt, torch.Tensor) and not isinstance(
          inpt, tv_tensors.TVTensor
      )
  
file_path: vision/torchvision/transforms/v2/functional/_utils.py
imports: import functools
  from typing import Any, Callable, Dict, List, Optional, Sequence, Type, Union
  import torch
  from torchvision import tv_tensors
label_desc: Use image node_id 1 for calling a global function with example usage: is_pure_tensor(inpt) and returns: unknown