class_docstr: ``InputBase`` is the base class for the :class:`~flash.core.data.io.input.Input` and
  :class:`~flash.core.data.io.input.IterableInput` dataset implementations in Flash. These datasets are constructed
  via the ``load_data`` and ``load_sample`` hooks, which allow a single dataset object to include custom loading logic
  according to the running stage (e.g. train, validate, test, predict).
  
  Args:
      running_stage: The running stage for which the input will be used.
      *args: Any arguments that are to be passed to the ``load_data`` hook.
      **kwargs: Any additional keyword arguments to pass to the ``load_data`` hook.
docstr: The ``load_data`` hook should return a collection of samples. To reduce the memory footprint, these samples
  should typically not have been loaded. For example, an input which loads images from disk would only return the
  list of filenames here rather than the loaded images.
  
  Args:
      *args: Any arguments that the input requires.
      **kwargs: Any additional keyword arguments that the input requires.
docstr_tok: ["The","``","load_data","``","hook","should","return","a","collection","of","samples",".","To","reduce","the","memory","footprint",",","these","samples","should","typically","not","have","been","loaded",".","For","example",",","an","input","which","loads","images","from","disk","would","only","return","the","list","of","filenames","here","rather","than","the","loaded","images",".","Args",":","*","args",":","Any","arguments","that","the","input","requires",".","*","*","kwargs",":","Any","additional","keyword","arguments","that","the","input","requires","."]
code: def load_data(*args: Any, **kwargs: Any) -> Union[Sequence, Iterable]:
      """The ``load_data`` hook should return a collection of samples. To reduce the memory footprint, these samples
      should typically not have been loaded. For example, an input which loads images from disk would only return the
      list of filenames here rather than the loaded images.
  
      Args:
          *args: Any arguments that the input requires.
          **kwargs: Any additional keyword arguments that the input requires.
  
      """
      return args[0]
  
imports: import functools
  import os
  from enum import Enum
  from typing import Any, Dict, Iterable, List, Sequence, Tuple, Union, cast
  from pytorch_lightning.utilities.enums import LightningEnum
  from torch.utils.data import Dataset
  from flash.core.data.properties import Properties
  from flash.core.data.utils import _STAGES_PREFIX
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 3 for calling the InputBase obj's underlying member method code with example usage: obj.load_data() and returns: args