code: def _shape_or_none(M):
      if M is not None:
          return M.shape
      else:
          return (None,) * 2
  
imports: import cupy
label_desc: Use image node_id 3 for calling a global function with example usage: _shape_or_none(M) and returns: M, unknown