code: def get_examples(self, indices, key_indices):
      if key_indices is None:
          key_indices = six.moves.range(len(self._keys))
  
      in_examples = self._dataset.get_examples(indices, None)
  
      out_examples = tuple([] for _ in key_indices)
      for in_example in six.moves.zip(*in_examples):
          if self._dataset.mode is tuple:
              out_example = self._transform(*in_example)
          elif self._dataset.mode is dict:
              out_example = self._transform(
                  **dict(six.moves.zip(self._dataset.keys, in_example))
              )
          elif self._dataset.mode is None:
              out_example = self._transform(*in_example)
  
          if isinstance(out_example, tuple):
              if hasattr(self, "_mode") and self._mode is not tuple:
                  raise ValueError(
                      "transform must not change its return type"
                  )
              self._mode = tuple
              for col_index, key_index in enumerate(key_indices):
                  out_examples[col_index].append(out_example[key_index])
          elif isinstance(out_example, dict):
              if hasattr(self, "_mode") and self._mode is not dict:
                  raise ValueError(
                      "transform must not change its return type"
                  )
              self._mode = dict
              for col_index, key_index in enumerate(key_indices):
                  out_examples[col_index].append(
                      out_example[self._keys[key_index]]
                  )
          else:
              if hasattr(self, "_mode") and self._mode is not None:
                  raise ValueError(
                      "transform must not change its return type"
                  )
              self._mode = None
              out_example = (out_example,)
              for col_index, key_index in enumerate(key_indices):
                  out_examples[col_index].append(out_example[key_index])
  
      return out_examples
  
file_path: chainer/chainer/dataset/tabular/_transform.py
imports: import six
  from chainer.dataset.tabular import tabular_dataset
label_desc: Use image node_id 5 for calling the _Transform obj's underlying member method code with example usage: obj.get_examples(indices, key_indices) and returns: out_examples