code: def svd_thresholding(matrix, threshold):
      """Singular value thresholding operator
  
      Parameters
      ----------
      matrix : ndarray
      threshold : float
  
      Returns
      -------
      ndarray
          matrix on which the operator has been applied
  
      See also
      --------
      procrustes : procrustes operator
      """
      U, s, V = tl.truncated_svd(matrix, n_eigenvecs=min(matrix.shape))
      return tl.dot(
          U, tl.reshape(soft_thresholding(s, threshold), (-1, 1)) * V
      )
  
file_path: tensorly/tensorly/tenalg/proximal.py
imports: import tensorly
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: svd_thresholding(matrix, threshold) and returns: tl