code: def _get_tens_size(tens: Tensor) -> Tuple[int, int]:
      r"""
      Returns image size as (width, height)
      """
      h, w = tens.shape[:2]
  
      return (w, h)
  
imports: import cv2
  import random
  import math
  import numpy
  from ..coreten import Tensor, to_tensor
  from ..annotations import Tuple, Union
  from ..color import to_hls, to_rgb, to_bgr, to_hsv, to_gray, to_lab
label_desc: Use image node_id 5 for calling a global function with example usage: _get_tens_size(tens) and returns: w,  h