code: def _label_to_path(labels, blank_symbol, xp):
      path = xp.full(
          (len(labels), labels.shape[1] * 2 + 1),
          blank_symbol,
          dtype=numpy.int32,
      )
      path[:, 1::2] = labels
      return path
  
imports: import numpy
  import six
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function
  from chainer import utils
  from chainer.utils import collections_abc
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling a global function with example usage: _label_to_path(labels, blank_symbol, xp) and returns: path