code: def test_layerlist(self):
      print("-" * 20, "layerlist", "-" * 20)
  
      class MyModel(Model):
          def __init__(self):
              super(MyModel, self).__init__()
              self.layers = LayerList(
                  [
                      Dense(50, in_channels=100),
                      Dropout(0.9),
                      Dense(10, in_channels=50),
                  ]
              )
  
          def forward(self, x):
              return self.layers(x)
  
      net = MyModel()
      self.assertEqual(net._nodes_fixed, False)
  
      data = np.random.normal(size=[4, 100]).astype(np.float32)
      out = net(data, is_train=False)
  
      self.assertEqual(net._nodes_fixed, True)
      self.assertEqual(net.layers._nodes_fixed, True)
      self.assertEqual(net.layers[0]._nodes_fixed, True)
      self.assertEqual(net.layers[1]._nodes_fixed, True)
      self.assertEqual(net.layers[2]._nodes_fixed, True)
  
file_path: TensorLayer/tests/layers/test_layernode.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  from tensorflow.python.ops.rnn_cell import LSTMCell
  import tensorlayer
  from tensorlayer.layers import *
  from tensorlayer.models import Model
  from tests.utils import CustomTestCase
label_desc: Use image node_id 6 for calling the LayerNode_Test obj's underlying member method code with example usage: obj.test_layerlist() and returns: self