code: def split_batched_sequences(xs, sections):
      """Split concatenated sequences.
  
      Args:
          xs (chainer.Variable, ndarray or tuple): Concatenated sequences.
          sections (array-like): Sections as indices indicating start positions
              of sequences.
  
      Returns:
          list: List of sequences.
      """
      if isinstance(xs, tuple):
          return list(
              zip(*[split_batched_sequences(x, sections) for x in xs])
          )
      else:
          return list(F.split_axis(xs, sections, axis=0))
  
imports: from cached_property import cached_property
  import chainer
  import chainer.functions
  import chainer.links
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: split_batched_sequences(xs, sections) and returns: list, list