code: def _enumerate_axes(subscripts):
      if "@" in subscripts:
          left_sub, right_sub = subscripts.split("@")
          for i, s in enumerate(left_sub):
              yield i, s
          yield slice(len(left_sub), -len(right_sub) or None), "@"
          for i, s in enumerate(right_sub):
              yield i - len(right_sub), s
      else:
          for i, s in enumerate(subscripts):
              yield i, s
  
imports: import warnings
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  from chainer.utils import argument
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling a global function with example usage: _enumerate_axes(subscripts) without return types