I have defined a dataset with my own data, following the instructions from https://www.tensorflow.org/tutorials/load_data/images, as below:
list_ds = tf.data.Dataset.list_files(str(data_dir/'*/*'))
I have looked through the methods of tf.data.Dataset, but couldn't figure out how to split this dataset into three parts(train, validation, test) like tfds.Split.
How can I split this dataset into three parts? I hope the size of train/validation/test set to be 80%, 10%, 10% of list_ds each.