public interface PreparedDataset
PreparedDataset is a Dataset that requires an
additional preparation step before use.
The preparation steps can be run by calling prepare().
| Modifier and Type | Method and Description |
|---|---|
default void |
prepare()
Prepares the dataset for use.
|
void |
prepare(ai.djl.util.Progress progress)
Prepares the dataset for use with tracked progress.
|
default void prepare()
throws java.io.IOException
java.io.IOException - for various exceptions depending on the datasetvoid prepare(ai.djl.util.Progress progress)
throws java.io.IOException
progress - the progress trackerjava.io.IOException - for various exceptions depending on the dataset