code: def test_mul_mixed(self):
      def f(a, b):
          ac = complex(a[0], a[1])
          return abs((ac * b) ** 2).sum()
  
      rng = np.random.RandomState(9333)
      aval = np.asarray(rng.randn(2, 5))
      bval = rng.randn(5)
      try:
          utt.verify_grad(f, [aval, bval])
      except utt.verify_grad.E_grad as e:
          print(e.num_grad.gf)
          print(e.analytic_grad)
          raise
  
file_path: Theano/theano/tensor/tests/test_complex.py
imports: from __future__ import absolute_import, print_function, division
  import unittest
  from six.moves import xrange
  import theano
  import numpy
  from theano.tensor import *
  from theano.tests import unittest_tools
  from numpy.testing import dec
label_desc: Use image node_id 8 for calling the TestRealImag obj's underlying member method code with example usage: obj.test_mul_mixed() and returns: abs