code: def _shape_or_none(M):
      if M is not None:
          return M.shape
      else:
          return (None,) * 2
  
file_path: catboost/contrib/python/scipy/py2/scipy/signal/lti_conversion.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  import numpy
  from numpy import r_, eye, atleast_2d, poly, dot, asarray, product, zeros, array, outer
  from scipy import linalg
  from .filter_design import tf2zpk, zpk2tf, normalize
label_desc: Use image node_id 4 for calling a global function with example usage: _shape_or_none(M) and returns: M, unknown