View source: R/file_list_dataset.R
file_list_dataset | R Documentation |
A dataset of all files matching a pattern
file_list_dataset(file_pattern, shuffle = NULL, seed = NULL)
file_pattern |
A string, representing the filename pattern that will be matched. |
shuffle |
(Optional) If |
seed |
(Optional) An integer, representing the random seed that will be used to create the distribution. |
For example, if we had the following files on our filesystem: - /path/to/dir/a.txt - /path/to/dir/b.csv - /path/to/dir/c.csv
If we pass "/path/to/dir/*.csv" as the file_pattern
, the dataset would produce: -
/path/to/dir/b.csv - /path/to/dir/c.csv
A dataset of string correponding to file names
The shuffle
and seed
arguments only apply for TensorFlow >= v1.8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.