public class PathSparkMultiDataSetIterator
extends java.lang.Object
implements org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
MultiDataSet.save(OutputStream)
) from
a String that represents the path (for example, on HDFS)Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE |
Constructor and Description |
---|
PathSparkMultiDataSetIterator(java.util.Collection<java.lang.String> dataSetStreams) |
PathSparkMultiDataSetIterator(java.util.Iterator<java.lang.String> iter) |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncSupported() |
boolean |
hasNext() |
org.nd4j.linalg.dataset.api.MultiDataSet |
next() |
org.nd4j.linalg.dataset.api.MultiDataSet |
next(int num) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(org.nd4j.linalg.dataset.api.MultiDataSetPreProcessor preProcessor) |
public static final int BUFFER_SIZE
public PathSparkMultiDataSetIterator(java.util.Iterator<java.lang.String> iter)
public PathSparkMultiDataSetIterator(java.util.Collection<java.lang.String> dataSetStreams)
public org.nd4j.linalg.dataset.api.MultiDataSet next(int num)
next
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public boolean resetSupported()
resetSupported
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public boolean asyncSupported()
asyncSupported
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public void reset()
reset
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public void setPreProcessor(org.nd4j.linalg.dataset.api.MultiDataSetPreProcessor preProcessor)
setPreProcessor
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>
public org.nd4j.linalg.dataset.api.MultiDataSet next()
next
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>
public void remove()
remove
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>