code: def _get_tensor_shape(node):
      """Get node shape."""
      if isinstance(node.checked_type, relay.ty.TensorType):
          return _to_shape(node.checked_type.shape)
      return []
  
imports: import tvm
  from tvm import relay
  from tvm.relay import op, transform
  from tvm.relay import ExprMutator
label_desc: Use image node_id 12 for calling a global function with example usage: _get_tensor_shape(node) and returns: list, _to_shape