Class MultiDataSetWrapperIterator
- java.lang.Object
-
- org.deeplearning4j.datasets.iterator.MultiDataSetWrapperIterator
-
- All Implemented Interfaces:
Serializable,Iterator<DataSet>,DataSetIterator
- Direct Known Subclasses:
RandomDataSetIterator
public class MultiDataSetWrapperIterator extends Object implements DataSetIterator
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MultiDataSetIteratoriteratorprotected DataSetPreProcessorpreProcessor
-
Constructor Summary
Constructors Constructor Description MultiDataSetWrapperIterator(MultiDataSetIterator iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanasyncSupported()intbatch()List<String>getLabels()DataSetPreProcessorgetPreProcessor()booleanhasNext()intinputColumns()DataSetnext()DataSetnext(int num)voidremove()voidreset()booleanresetSupported()voidsetPreProcessor(DataSetPreProcessor preProcessor)inttotalOutcomes()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
iterator
protected MultiDataSetIterator iterator
-
preProcessor
protected DataSetPreProcessor preProcessor
-
-
Constructor Detail
-
MultiDataSetWrapperIterator
public MultiDataSetWrapperIterator(MultiDataSetIterator iterator)
- Parameters:
iterator- Undelying iterator to wrap
-
-
Method Detail
-
next
public DataSet next(int num)
- Specified by:
nextin interfaceDataSetIterator
-
inputColumns
public int inputColumns()
- Specified by:
inputColumnsin interfaceDataSetIterator
-
totalOutcomes
public int totalOutcomes()
- Specified by:
totalOutcomesin interfaceDataSetIterator
-
resetSupported
public boolean resetSupported()
- Specified by:
resetSupportedin interfaceDataSetIterator
-
asyncSupported
public boolean asyncSupported()
- Specified by:
asyncSupportedin interfaceDataSetIterator
-
reset
public void reset()
- Specified by:
resetin interfaceDataSetIterator
-
batch
public int batch()
- Specified by:
batchin interfaceDataSetIterator
-
setPreProcessor
public void setPreProcessor(DataSetPreProcessor preProcessor)
- Specified by:
setPreProcessorin interfaceDataSetIterator
-
getPreProcessor
public DataSetPreProcessor getPreProcessor()
- Specified by:
getPreProcessorin interfaceDataSetIterator
-
getLabels
public List<String> getLabels()
- Specified by:
getLabelsin interfaceDataSetIterator
-
-