code: def test_expand_dims(self):
      x = tl.layers.Input([8, 3])
      expandlayer = tl.layers.ExpandDims(axis=-1)
      y = expandlayer(x)
      print(expandlayer)
      self.assertEqual(y.get_shape().as_list(), [8, 3, 1])
  
file_path: TensorLayer/tests/layers/test_layers_extend.py
imports: import os
  import unittest
  import tensorflow
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 3 for calling the Layer_Extend_Test obj's underlying member method code with example usage: obj.test_expand_dims() without return types