code: def test_inchannels_exception(self):
      print("-" * 20, "test_inchannels_exception", "-" * 20)
  
      class my_model(Model):
          def __init__(self):
              super(my_model, self).__init__()
              self.dense = Dense(64)
              self.vgg = tl.models.vgg16()
  
          def forward(self, x):
              return x
  
      try:
          M = my_model()
      except Exception as e:
          self.assertIsInstance(e, AttributeError)
          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 11 for calling the Model_Core_Test obj's underlying member method code with example usage: obj.test_inchannels_exception() and returns: x