code: def _max_by_axis(the_list):
      # type: (List[List[int]]) -> List[int]
      maxes = the_list[0]
      for sublist in the_list[1:]:
          for index, item in enumerate(sublist):
              maxes[index] = max(maxes[index], item)
      return maxes
  
file_path: towhee/towhee/models/coformer/utils.py
imports: import torch
  from torch import Tensor
  import torch.distributed
  from typing import Optional, List
label_desc: Use image node_id 4 for calling a global function with example usage: _max_by_axis(the_list) and returns: maxes