code: def _make_dataset(key, data, size):
      if isinstance(data, chainer.get_array_types()):
          if key is None:
              key = "_{}".format(id(data))
          return _Array(key, data)
      elif isinstance(data, list):
          if key is None:
              key = "_{}".format(id(data))
          return _List(key, data)
      elif callable(data):
          if key is None:
              raise ValueError("key(s) must be specified for callable")
          if size is None:
              raise ValueError("size must be specified for callable")
          return _Index(size).transform(key, data)
  
imports: import chainer
  from chainer.dataset.tabular import tabular_dataset
label_desc: Use image node_id 2 for calling a global function with example usage: _make_dataset(key, data, size) and returns: _Array, _List, _Index