ray.data.Dataset.input_files#

Dataset.input_files() List[str][source]#

Return the list of input files for the dataset.

Note

If this dataset consists of more than a read, then this operation will trigger execution of the lazy transformations performed on this dataset.

Time complexity: O(num input files)

Returns

The list of input files used to create the dataset, or an empty list if the input files is not known.