public class BaseDatasetIterator extends Object implements DataSetIterator
| Modifier and Type | Field and Description |
|---|---|
protected int |
batch |
protected BaseDataFetcher |
fetcher |
protected int |
numExamples |
protected DataSetPreProcessor |
preProcessor |
| Constructor and Description |
|---|
BaseDatasetIterator(int batch,
int numExamples,
BaseDataFetcher fetcher) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncSupported() |
int |
batch() |
List<String> |
getLabels() |
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, waitgetPreProcessorforEachRemainingprotected int batch
protected int numExamples
protected BaseDataFetcher fetcher
protected DataSetPreProcessor preProcessor
public BaseDatasetIterator(int batch,
int numExamples,
BaseDataFetcher fetcher)
public 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 List<String> getLabels()
getLabels in interface DataSetIteratorCopyright © 2021. All rights reserved.