code: def test_complex_separate_real_and_imaginary():
      def fun(a):
          r, i = np.real(a), np.imag(a)
          a = np.abs(r) ** 1.4 + np.abs(i) ** 1.3
          return np.sum(np.sin(a))
  
      d_fun = lambda x: grad(fun)(x)
      A = npr.randn(5, 3) + 0.1j * npr.randn(5, 3)
      check_grads(fun)(A)
      check_grads(d_fun)(A)
  
imports: from __future__ import absolute_import
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import grad
  import warnings
  import pytest
label_desc: Use image node_id 10 for calling a global function with example usage: test_complex_separate_real_and_imaginary() and returns: np