code: def register_pytorch_layer_handler(layer_name, handler_func):
      if layer_name in layer_handlers:
          raise Exception(f"Layer {layer_name} already registered")
      else:
          layer_handlers[layer_name] = handler_func
  
file_path: hls4ml/hls4ml/converters/pytorch_to_hls.py
imports: import torch
  from hls4ml.model import ModelGraph
label_desc: Use image node_id 2 for calling a global function with example usage: register_pytorch_layer_handler(layer_name, handler_func) without return types