code: def open_pickle_dataset(path):
      """Opens a dataset stored in a given path.
  
      This is a helper function to open :class:`PickleDataset`. It opens a given
      file in binary mode, and creates a :class:`PickleDataset` instance.
  
      This method does not close the opened file. A user needs to call
      :func:`PickleDataset.close` or use `with`:
  
      .. code-block:: python
  
          with chainer.datasets.open_pickle_dataset('path') as dataset:
              pass  # use dataset
  
      Args:
          path (str): Path to a dataset.
  
      Returns:
          chainer.datasets.PickleDataset: Opened dataset.
  
      .. seealso: chainer.datasets.PickleDataset
  
      """
      reader = _FileReader(path)
      return PickleDataset(reader)
  
imports: import io
  import multiprocessing.util
  import threading
  import six
  import six.moves.cPickle
  from chainer.dataset import dataset_mixin
label_desc: Use image node_id 1 for calling a global function with example usage: open_pickle_dataset(path) and returns: PickleDataset