code: def test_svd_time():
      """Test SVD time
  
      SVD shouldn't be slow for tall and skinny matrices
      if n_eigenvec == min(matrix.shape)
      """
      M = tl.tensor(np.random.random_sample((4, 10000)))
      t = time()
      _ = tl.truncated_svd(M, 4)
      t = time() - t
      assert_(
          t <= 0.1,
          f"Partial_SVD took too long, maybe full_matrices set wrongly",
      )
  
      M = tl.tensor(np.random.random_sample((10000, 4)))
      t = time()
      _ = tl.truncated_svd(M, 4)
      t = time() - t
      assert_(
          t <= 0.1,
          f"Partial_SVD took too long, maybe full_matrices set wrongly",
      )
  
imports: from concurrent.futures import ThreadPoolExecutor
  import pytest
  from time import time
  import numpy
  from scipy.linalg import svd
  from scipy import special
  import tensorly
  from ..None import backend
  from ..testing import assert_allclose, assert_array_equal, assert_equal, assert_, assert_array_almost_equal, assert_raises
  from tensorly.tenalg.svd import SVD_FUNS, svd_interface
label_desc: Use image node_id 5 for calling a global function with example usage: test_svd_time() without return types