code: def setUp(self):
      with warnings.catch_warnings():
          warnings.simplefilter("ignore", DeprecationWarning)
          # Theano 1.0.2 causes DeprecationWarning
          import theano  # NOQA
  
      self.input_data = [
          numpy.random.uniform(-1, 1, d["shape"]).astype(
              getattr(numpy, d["type"])
          )
          for d in self.inputs
      ]
      self.grad_data = [
          numpy.random.uniform(-1, 1, d["shape"]).astype(
              getattr(numpy, d["type"])
          )
          for d in self.outputs
      ]
  
imports: import unittest
  import warnings
  import numpy
  import pytest
  import chainer
  from chainer.backends import cuda
  from chainer import gradient_check
  from chainer import links
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
label_desc: Use image node_id 1 for calling the TheanoFunctionTestBase obj's underlying member method code with example usage: obj.setUp() without return types