Class TestDataSetIterator
- java.lang.Object
-
- org.deeplearning4j.core.datasets.test.TestDataSetIterator
-
- All Implemented Interfaces:
Serializable
,Iterator<DataSet>
,DataSetIterator
public class TestDataSetIterator extends Object implements DataSetIterator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestDataSetIterator(DataSetIterator wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
asyncSupported()
int
batch()
List<String>
getLabels()
int
getNumDataSets()
boolean
hasNext()
int
inputColumns()
DataSet
next()
DataSet
next(int num)
void
remove()
void
reset()
boolean
resetSupported()
void
setPreProcessor(DataSetPreProcessor preProcessor)
int
totalOutcomes()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nd4j.linalg.dataset.api.iterator.DataSetIterator
getPreProcessor
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
TestDataSetIterator
public TestDataSetIterator(DataSetIterator wrapped)
-
-
Method Detail
-
inputColumns
public int inputColumns()
- Specified by:
inputColumns
in interfaceDataSetIterator
-
totalOutcomes
public int totalOutcomes()
- Specified by:
totalOutcomes
in interfaceDataSetIterator
-
resetSupported
public boolean resetSupported()
- Specified by:
resetSupported
in interfaceDataSetIterator
-
asyncSupported
public boolean asyncSupported()
- Specified by:
asyncSupported
in interfaceDataSetIterator
-
reset
public void reset()
- Specified by:
reset
in interfaceDataSetIterator
-
batch
public int batch()
- Specified by:
batch
in interfaceDataSetIterator
-
setPreProcessor
public void setPreProcessor(DataSetPreProcessor preProcessor)
- Specified by:
setPreProcessor
in interfaceDataSetIterator
-
getLabels
public List<String> getLabels()
- Specified by:
getLabels
in interfaceDataSetIterator
-
getNumDataSets
public int getNumDataSets()
-
next
public DataSet next(int num)
- Specified by:
next
in interfaceDataSetIterator
-
-