public class RecordReaderFunction
extends java.lang.Object
implements org.apache.spark.api.java.function.Function<java.lang.String,org.nd4j.linalg.dataset.DataSet>
Constructor and Description |
---|
RecordReaderFunction(org.datavec.api.records.reader.RecordReader recordReader,
int labelIndex,
int numPossibleLabels) |
RecordReaderFunction(org.datavec.api.records.reader.RecordReader recordReader,
int labelIndex,
int numPossibleLabels,
org.datavec.api.io.WritableConverter converter) |
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.dataset.DataSet |
call(java.lang.String v1) |
public RecordReaderFunction(org.datavec.api.records.reader.RecordReader recordReader, int labelIndex, int numPossibleLabels, org.datavec.api.io.WritableConverter converter)
public RecordReaderFunction(org.datavec.api.records.reader.RecordReader recordReader, int labelIndex, int numPossibleLabels)