code: def get_layer_by_name(name):
      if name == "conv":
          return ConvLayer
      elif name == "fc":
          return FCLayer
      elif name == "pool":
          return PoolLayer
      else:
          raise ValueError("Unknown layer type: %s" % name)
  
imports: from models.basic_model import BasicModel
  import tensorflow
  import numpy
  import copy
label_desc: Use image node_id 2 for calling a global function with example usage: get_layer_by_name(name) and returns: ConvLayer, FCLayer, PoolLayer