code: def test_exceptions(self):
      print("-" * 20, "test_exceptions", "-" * 20)
      try:
          ni = Input([4, 784])
          model = Model(inputs=ni, outputs=ni)
          model.save_weights("./empty_model.h5")
      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 9 for calling the Model_Save_Test obj's underlying member method code with example usage: obj.test_exceptions() without return types