public class RandomDataSetIterator extends MultiDataSetWrapperIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomDataSetIterator.Values |
iterator, preProcessor| Constructor and Description |
|---|
RandomDataSetIterator(int numMiniBatches,
long[] featuresShape,
long[] labelsShape,
RandomDataSetIterator.Values featureValues,
RandomDataSetIterator.Values labelValues) |
RandomDataSetIterator(int numMiniBatches,
long[] featuresShape,
long[] labelsShape,
RandomDataSetIterator.Values featureValues,
RandomDataSetIterator.Values labelValues,
char featuresOrder,
char labelsOrder) |
asyncSupported, batch, getLabels, getPreProcessor, hasNext, inputColumns, next, next, remove, reset, resetSupported, setPreProcessor, totalOutcomesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic RandomDataSetIterator(int numMiniBatches,
long[] featuresShape,
long[] labelsShape,
RandomDataSetIterator.Values featureValues,
RandomDataSetIterator.Values labelValues)
numMiniBatches - Number of minibatches per epochfeaturesShape - Features shapelabelsShape - Labels shapefeatureValues - Type of values for the featureslabelValues - Type of values for the labelspublic RandomDataSetIterator(int numMiniBatches,
long[] featuresShape,
long[] labelsShape,
RandomDataSetIterator.Values featureValues,
RandomDataSetIterator.Values labelValues,
char featuresOrder,
char labelsOrder)
numMiniBatches - Number of minibatches per epochfeaturesShape - Features shapelabelsShape - Labels shapefeatureValues - Type of values for the featureslabelValues - Type of values for the labelsfeaturesOrder - Array order ('c' or 'f') for the features arraylabelsOrder - Array order ('c' or 'f') for the labels arrayCopyright © 2021. All rights reserved.