code: def _svd_lwork(shape, dtype=np.float64):
      """Set up SVD calculations on identical-shape float64/complex128 arrays."""
      try:
          ds = linalg._decomp_svd
      except AttributeError:  # < 1.8.0
          ds = linalg.decomp_svd
      gesdd_lwork, gesvd_lwork = _get_lapack_funcs(
          dtype, ("gesdd_lwork", "gesvd_lwork")
      )
      sdd_lwork = ds._compute_lwork(
          gesdd_lwork, *shape, compute_uv=True, full_matrices=False
      )
      svd_lwork = ds._compute_lwork(
          gesvd_lwork, *shape, compute_uv=True, full_matrices=False
      )
      return sdd_lwork, svd_lwork
  
file_path: mne-python/mne/utils/linalg.py
imports: import functools
  import numpy
  from scipy import linalg
  from scipy._lib._util import _asarray_validated
label_desc: Use image node_id 3 for calling a global function with example usage: _svd_lwork(shape, dtype) and returns: sdd_lwork,  svd_lwork