code: def _get_shape_onnx(image: Tensor) -> Tensor:
      from torch.onnx import operators
  
      return operators.shape_as_tensor(image)[-2:]
  
imports: import math
  from typing import List, Tuple, Dict, Optional
  import torch
  from torch import nn, Tensor
  import torch.nn.functional
  import torchvision
  from .image_list import ImageList
label_desc: Use image node_id 3 for calling a global function with example usage: _get_shape_onnx(image) and returns: operators