code: def _restore(M, shape):
      if M.shape == (0, 0):
          return zeros(shape)
      else:
          if M.shape != shape:
              raise ValueError(
                  "The input arrays have incompatible shapes."
              )
          return M
  
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 6 for calling a global function with example usage: _restore(M, shape) and returns: zeros, M