dgs.models.loader.get_data_loader

dgs.models.loader.get_data_loader(config: dict[str, any], path: list[str]) torch.utils.data.DataLoader[source]

Set up a torch data loader with some params from config.

Parameters:
  • config – The overall configuration of the algorithm.

  • path – The node path to the params of this DataLoader.

Returns:

A ~.DataLoader object for the given dataset.