code: def concat(xs, axis=1):
      """Concatenates given variables along an axis.
  
      Args:
          xs (tuple of :class:`~chainer.Variable` or :ref:`ndarray`):
              Input variables to be concatenated. The variables must have the \
              same shape, except in the dimension corresponding to axis.
          axis (int): The axis along which the arrays will be joined. Default \
              is 1.
  
      Returns:
          ~chainer.Variable: The concatenated variable.
  
      .. admonition:: Example
  
          >>> x = np.arange(0, 12).reshape(3, 4)
          >>> x
          array([[ 0,  1,  2,  3],
                 [ 4,  5,  6,  7],
                 [ 8,  9, 10, 11]])
          >>> y = np.arange(0, 3).reshape(3, 1)
          >>> y
          array([[0],
                 [1],
                 [2]])
          >>> z = F.concat((x, y), axis=1)
          >>> z.array
          array([[ 0,  1,  2,  3,  0],
                 [ 4,  5,  6,  7,  1],
                 [ 8,  9, 10, 11,  2]])
  
      """
      (y,) = Concat(axis).apply(xs)
      return y
  
file_path: chainer/chainer/functions/array/concat.py
imports: import numpy
  import six
  import chainer
  from chainer import backend
  from chainer.backends import intel64
  from chainer import function_node
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 1 for calling a global function with example usage: concat(xs, axis) and returns: y