code: def _linf_norm(tensor):
      return tensor.abs().max()
  
imports: from enum import Enum
  import math
  import numpy
  import torch
  import warnings
  from .event_handling import combine_event_functions
label_desc: Use image node_id 2 for calling a global function with example usage: _linf_norm(tensor) and returns: tensor