code: def create_model(pretrained=False, **kwargs):
      """Constructs a CNN model.
  
      Args:
          pretrained (bool): If True, returns a pre-trained model.
  
      Returns:
          The created CNN model.
      """
      model = CNN(**kwargs)
  
      return model
  
file_path: singa/examples/largedataset_cnn/model/cnn.py
imports: from singa import layer
  from singa import model
label_desc: Use image node_id 1 for calling a global function with example usage: create_model(pretrained) and returns: model