public class RandomDataSetIterator extends MultiDataSetWrapperIterator
RandomDataSetIterator.Values
enumeration.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, totalOutcomes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public 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 © 2020. All rights reserved.