code: def setUp(self):
      self.in_size = 2
      self.out_size = 3
      self.pool_size = 4
  
      if self.initializer == "Initializer":
          self.initialW = constant.Constant(1.0)
          self.initial_bias = constant.Constant(2.0)
      elif self.initializer == "scalar":
          self.initialW = 1.0
          self.initial_bias = 2.0
      elif self.initializer == "ndarray":
          self.initialW = numpy.random.uniform(
              -1, 1, (self.out_size, self.pool_size, self.in_size)
          ).astype(self.dtype)
          self.initial_bias = numpy.random.uniform(
              -1, 1, (self.out_size, self.pool_size)
          ).astype(self.dtype)
      elif self.initializer == "callable":
  
          def callable_initialW(array):
              assert array.dtype == self.dtype
              assert array.shape == (
                  self.out_size,
                  self.pool_size,
                  self.in_size,
              )
              array.fill(1.0)
  
          self.initialW = callable_initialW
  
          def callable_initial_bias(array):
              assert array.dtype == self.dtype
              assert array.shape == (self.out_size, self.pool_size)
              array.fill(2.0)
  
          self.initial_bias = callable_initial_bias
      else:
          raise ValueError("invalid parameter")
  
      with chainer.using_config("dtype", self.dtype):
          self.link = links.Maxout(
              self.in_size,
              self.out_size,
              self.pool_size,
              initialW=self.initialW,
              initial_bias=self.initial_bias,
          )
  
imports: import unittest
  import numpy
  import six
  import chainer
  from chainer.backends import cuda
  from chainer import gradient_check
  from chainer.initializers import constant
  from chainer import links
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling the TestInitialization obj's underlying member method code with example usage: obj.setUp() without return types