code: def split_dataset_n(dataset, n, order=None):
      """Splits a dataset into ``n`` subsets.
  
      Args:
          dataset: Dataset to split.
          n(int): The number of subsets.
          order (sequence of ints): Permutation of indexes in the base dataset.
              See the documentation of :class:`SubDataset` for details.
  
      Returns:
          list: List of ``n`` :class:`SubDataset` objects.
          Each subset contains the examples of indexes
          ``order[i * (len(dataset) // n):(i + 1) * (len(dataset) // n)]``
          .
  
      """
      n_examples = len(dataset)
      sub_size = n_examples // n
      return [
          SubDataset(dataset, sub_size * i, sub_size * (i + 1), order)
          for i in six.moves.range(n)
      ]
  
file_path: chainer/chainer/datasets/sub_dataset.py
imports: import numpy
  import six
  import warnings
  from chainer.dataset import dataset_mixin
label_desc: Use image node_id 3 for calling a global function with example usage: split_dataset_n(dataset, n, order) and returns: unknown