public class FloatsDataSetIterator extends AbstractDataSetIterator<float[]>
Iterable<Pair<float[], float[]>>
First value in pair is the features vector, second value in pair is the labels.
Supports generating 2d features/labels only| Constructor and Description |
|---|
FloatsDataSetIterator(Iterable<org.nd4j.linalg.primitives.Pair<float[],float[]>> iterable,
int batchSize) |
asyncSupported, batch, fillQueue, getLabels, getPreProcessor, hasNext, inputColumns, next, next, remove, reset, resetSupported, setPreProcessor, totalOutcomesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FloatsDataSetIterator(@NonNull
Iterable<org.nd4j.linalg.primitives.Pair<float[],float[]>> iterable,
int batchSize)
iterable - Iterable to source data frombatchSize - Batch size for generated DataSet objectsCopyright © 2019. All rights reserved.