code: def get_module_for_class(classname, moduletype):
      """
      Return model for class just using its name and module type.
      """
      available_module_types = {
          "architecture": "neupy.architectures",
          "network": "neupy.algorithms",
          "layer": "neupy.layers",
          "plot": "neupy.plots",
      }
  
      if moduletype not in available_module_types:
          raise ValueError(
              "Invalid module type `{}`".format(moduletype)
          )
  
      modulepath = available_module_types[moduletype]
      algorithms_module = importlib.import_module(modulepath)
      network_class = getattr(algorithms_module, classname)
  
      if network_class is None:
          raise ImportError(
              "Can't import network class {}".format(classname)
          )
  
      return network_class.__module__
  
file_path: neupy/site/conf.py
imports: import os
  import re
  import sys
  import importlib
  import bs4
  import tinkerer
  import tinkerer.paths
label_desc: Use image node_id 2 for calling a global function with example usage: get_module_for_class(classname, moduletype) and returns: network_class