code: def test_svd_square_3d_complex():
      def fun(x):
          u, s, v = np.linalg.svd(x, full_matrices=False)
          return tuple((np.abs(u), s, np.abs(v)))
  
      k = 3
      m = 4
      n = 4
      mat = npr.randn(k, m, n) + 1j * npr.randn(k, m, n)
      check_grads(fun)(mat)
  
imports: from __future__ import absolute_import
  from builtins import range
  import itertools
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import tuple
  from autograd import grad
  from functools import partial
  import pytest
label_desc: Use image node_id 41 for calling a global function with example usage: test_svd_square_3d_complex() and returns: tuple