code: def setUpClass(cls):
      cls.batch_size = 8
  
      # ============== Layer ==============
  
      cls.base_layer = Layer(what=None)
  
      # ============== DenseLayer ==============
  
      cls.inputs_shape = [None, 784]
      cls.innet = Input(cls.inputs_shape)
      cls.dense1 = Dense(
          n_units=800,
          act=tf.nn.relu,
          in_channels=784,
          name="test_dense",
      )(cls.innet)
      cls.dropout1 = Dropout(keep=0.8)(cls.dense1)
      cls.dense2 = Dense(n_units=10, act=tf.nn.relu, b_init=None)(
          cls.dropout1
      )
      cls.dense3 = Dense(n_units=10, act=tf.nn.relu, b_init=None)
      cls.concat = Concat(concat_dim=-1)([cls.dense2, cls.dropout1])
  
      cls.model = Model(inputs=cls.innet, outputs=cls.dense2)
  
file_path: TensorLayer/tests/layers/test_layers_core_basedense_dropout.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import *
  from tensorlayer.models import *
  from tests.utils import CustomTestCase
label_desc: Use image node_id 1 for calling the Layer_Core_Test obj's underlying member method code with example usage: obj.setUpClass(cls) without return types