code: def nested_static_model(name=None, inner_model_name=None):
      ni = Input((None, 24, 24, 3))
      nn = ModelLayer(basic_static_model(inner_model_name))(ni)
      M = Model(inputs=ni, outputs=nn, name=name)
      return M
  
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 2 for calling a global function with example usage: nested_static_model(name, inner_model_name) and returns: M