code: def test_layerlist(self):
      print("-" * 20, "test_layerlist", "-" * 20)
  
      # simple modellayer
      ni = tl.layers.Input([10, 4])
      nn = tl.layers.Dense(n_units=3, name="dense1")(ni)
      modellayer = tl.models.Model(
          inputs=ni, outputs=nn, name="modellayer"
      ).as_layer()
  
      # nested layerlist with modellayer
      inputs = tl.layers.Input([10, 5])
      layer1 = tl.layers.LayerList(
          [tl.layers.Dense(n_units=4, name="dense1"), modellayer]
      )(inputs)
      model = tl.models.Model(
          inputs=inputs, outputs=layer1, name="layerlistmodel"
      )
  
      model.save_weights("layerlist.h5")
      tar_weight = model.get_layer(index=-1)[0].all_weights[0]
      print(tar_weight.name)
      ori_val = tar_weight.numpy()
      modify_val = np.zeros_like(ori_val)
      tar_weight.assign(modify_val)
  
      model.load_weights("layerlist.h5")
      self.assertLess(
          np.max(np.abs(ori_val - tar_weight.numpy())), 1e-7
      )
  
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 8 for calling the Model_Save_Test obj's underlying member method code with example usage: obj.test_layerlist() without return types