code: def get_layer_info(layer):
      layer_str = str(layer)
      type_name = layer_str[: layer_str.find("(")].strip()
      return type_name
  
imports: import torch
label_desc: Use image node_id 3 for calling a global function with example usage: get_layer_info(layer) and returns: type_name