code: def _group_alnum(s):
      tmp = list()
      flag = 1 if s[0].isdigit() else 0
      for c in s:
          if c.isdigit():
              if flag == 0:
                  yield "".join(tmp)
                  tmp = list()
                  flag = 1
              tmp.append(c)
          elif c.isalpha():
              if flag == 1:
                  yield int("".join(tmp))
                  tmp = list()
                  flag = 0
              tmp.append(c)
      last = "".join(tmp)
      yield (int(last) if flag else last)
  
file_path: clearml/clearml/utilities/pigar/utils.py
imports: from __future__ import print_function, division, absolute_import
  import os
  import re
  import sys
  import difflib
label_desc: Use image node_id 4 for calling a global function with example usage: _group_alnum(s) without return types