code: def get_model(network, num_classes, criterion, trunk):
      module = network[: network.rfind(".")]
      model = network[network.rfind(".") + 1 :]
      mod = importlib.import_module(module)
      net_func = getattr(mod, model)
      net = net_func(
          num_classes=num_classes, trunk=trunk, criterion=criterion
      )
      return net
  
imports: import importlib
  import torch
  import logging
  from .gscnn import GSCNN
label_desc: Use image node_id 2 for calling a global function with example usage: get_model(network, num_classes, criterion, trunk) and returns: net