public class FileSplitDataSetIterator extends Object implements DataSetIterator
| Constructor and Description |
|---|
FileSplitDataSetIterator(@NonNull List<File> files,
@NonNull FileCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncSupported() |
int |
batch() |
List<String> |
getLabels() |
DataSetPreProcessor |
getPreProcessor() |
boolean |
hasNext() |
int |
inputColumns() |
DataSet |
next() |
DataSet |
next(int num) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(DataSetPreProcessor preProcessor) |
int |
totalOutcomes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FileSplitDataSetIterator(@NonNull
@NonNull List<File> files,
@NonNull
@NonNull FileCallback callback)
files - List of files to iterate overcallback - Callback for loading the filespublic DataSet next(int num)
next in interface DataSetIteratorpublic int inputColumns()
inputColumns in interface DataSetIteratorpublic int totalOutcomes()
totalOutcomes in interface DataSetIteratorpublic boolean resetSupported()
resetSupported in interface DataSetIteratorpublic boolean asyncSupported()
asyncSupported in interface DataSetIteratorpublic void reset()
reset in interface DataSetIteratorpublic int batch()
batch in interface DataSetIteratorpublic void setPreProcessor(DataSetPreProcessor preProcessor)
setPreProcessor in interface DataSetIteratorpublic DataSetPreProcessor getPreProcessor()
getPreProcessor in interface DataSetIteratorpublic List<String> getLabels()
getLabels in interface DataSetIteratorCopyright © 2021. All rights reserved.