code: def test_skip(self):
      print("-" * 20, "test skip save/load", "-" * 20)
  
      print("testing dynamic skip load...")
      self.dynamic_basic.save_weights("./model_basic.h5")
      ori_weights = self.dynamic_basic_skip.all_weights
      ori_val = ori_weights[1].numpy()
      modify_val = np.zeros_like(ori_val)
      self.dynamic_basic_skip.all_weights[1].assign(modify_val)
      self.dynamic_basic_skip.load_weights(
          "./model_basic.h5", skip=True
      )
      self.assertLess(
          np.max(
              np.abs(
                  ori_val
                  - self.dynamic_basic_skip.all_weights[1].numpy()
              )
          ),
          1e-7,
      )
  
      try:
          self.dynamic_basic_skip.load_weights(
              "./model_basic.h5", in_order=False, skip=False
          )
      except Exception as e:
          print(e)
  
      print("testing static skip load...")
      self.static_basic.save_weights("./model_basic.h5")
      ori_weights = self.static_basic_skip.all_weights
      ori_val = ori_weights[1].numpy()
      modify_val = np.zeros_like(ori_val)
      self.static_basic_skip.all_weights[1].assign(modify_val)
      self.static_basic_skip.load_weights("./model_basic.h5", skip=True)
      self.assertLess(
          np.max(
              np.abs(
                  ori_val
                  - self.static_basic_skip.all_weights[1].numpy()
              )
          ),
          1e-7,
      )
  
      try:
          self.static_basic_skip.load_weights(
              "./model_basic.h5", in_order=False, skip=False
          )
      except Exception as e:
          print(e)
  
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 5 for calling the Model_Save_Test obj's underlying member method code with example usage: obj.test_skip() without return types