code: def _squeeze_output(out):
      """
      Remove single-dimensional entries from array and convert to scalar,
      if necessary.
  
      """
      out = out.squeeze()
      if out.ndim == 0:
          out = out[()]
      return out
  
imports: import numpy
  import scipy.linalg
  from scipy._lib import doccer
  from scipy.special import gammaln
  from scipy._lib._util import check_random_state
  from scipy.stats import mvn
label_desc: Use image node_id 1 for calling a global function with example usage: _squeeze_output(out) and returns: out