class_docstr: A sliced view for :class:`SliceableDataset`.
class_docstr_tok: ["A","sliced","view","for",":","class",":","`","SliceableDataset","`","."]
code: def get_example_by_keys(self, index, key_indices):
      if isinstance(key_indices, tuple):
          key_indices = tuple(
              _as_tuple(self._key_indices)[key_index]
              for key_index in key_indices
          )
      else:
          key_indices = _as_tuple(self._key_indices)[key_indices]
  
      if isinstance(self._indices, slice):
          start, _, step = self._indices.indices(len(self._dataset))
          return self._dataset.get_example_by_keys(
              start + index * step, key_indices
          )
      else:
          return self._dataset.get_example_by_keys(
              self._indices[index], key_indices
          )
  
imports: import numbers
  import numpy
  import six
  import chainer
label_desc: Use image node_id 4 for calling the SlicedDataset obj's underlying member method code with example usage: obj.get_example_by_keys(index, key_indices) and returns: self, self