code: def setUpClass(cls):
      print("\n#################################")
  
      cls.batch_size = 5
      cls.inputs_shape = [cls.batch_size, 10, 10, 16]
      cls.input_layer = Input(cls.inputs_shape, name="input_layer")
  
      cls.offset1 = tl.layers.Conv2d(
          n_filter=18,
          filter_size=(3, 3),
          strides=(1, 1),
          padding="SAME",
          name="offset1",
      )(cls.input_layer)
      cls.deformconv1 = tl.layers.DeformableConv2d(
          offset_layer=cls.offset1,
          n_filter=32,
          filter_size=(3, 3),
          act=tf.nn.relu,
          name="deformable1",
      )(cls.input_layer)
      cls.offset2 = tl.layers.Conv2d(
          n_filter=18,
          filter_size=(3, 3),
          strides=(1, 1),
          padding="SAME",
          name="offset2",
      )(cls.deformconv1)
      cls.deformconv2 = tl.layers.DeformableConv2d(
          offset_layer=cls.offset2,
          n_filter=64,
          filter_size=(3, 3),
          act=tf.nn.relu,
          name="deformable2",
      )(cls.deformconv1)
  
      cls.model = Model(cls.input_layer, cls.deformconv2)
      print("Testing Deformable Conv2d model: \n", cls.model)
  
file_path: TensorLayer/tests/layers/test_layers_deformable_convolution.py
imports: import os
  import unittest
  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_Convolution_2D_Test obj's underlying member method code with example usage: obj.setUpClass(cls) without return types