code: def check_overflow(param, threshold=1e8):
      if (torch.abs(param) > threshold).any():
          raise ValueError(
              f"Value(s) greater than {threshold} found in model param, please check."
          )
  
imports: import torch
label_desc: Use image node_id 5 for calling a global function with example usage: check_overflow(param, threshold) without return types