code: def get_size(inpt: torch.Tensor) -> List[int]:
      if torch.jit.is_scripting():
          return get_size_image(inpt)
  
      _log_api_usage_once(get_size)
  
      kernel = _get_kernel(get_size, type(inpt))
      return kernel(inpt)
  
imports: from typing import List, Optional, Tuple
  import PIL.Image
  import torch
  from torchvision import tv_tensors
  from torchvision.transforms import _functional_pil
  from torchvision.tv_tensors import BoundingBoxFormat
  from torchvision.utils import _log_api_usage_once
  from ._utils import _get_kernel, _register_kernel_internal, is_pure_tensor
label_desc: Use image node_id 7 for calling a global function with example usage: get_size(inpt) and returns: kernel, get_size_image