code: def test_DownSampling2d(self):
      self.assertEqual(self.n9_shape[1:3], [25, 25])
      self.assertEqual(self.n10_shape[1:3], [10, 10])
  
      try:
          layer = tl.layers.DownSampling2d(scale=(2, 2, 2))
      except Exception as e:
          print(e)
  
file_path: TensorLayer/tests/layers/test_layers_resampling.py
imports: import os
  import sys
  import unittest
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import *
  from tests.utils import CustomTestCase
label_desc: Use image node_id 4 for calling the Layer_Pooling_Test obj's underlying member method code with example usage: obj.test_DownSampling2d() without return types