public class NDArrayRecordToNDArray extends java.lang.Object implements RecordToNDArray
Constructor and Description |
---|
NDArrayRecordToNDArray() |
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.api.ndarray.INDArray |
convert(java.util.Collection<java.util.Collection<org.datavec.api.writable.Writable>> records)
Converts a list of records in to 1 ndarray
|
public org.nd4j.linalg.api.ndarray.INDArray convert(java.util.Collection<java.util.Collection<org.datavec.api.writable.Writable>> records)
RecordToNDArray
convert
in interface RecordToNDArray
records
- the records to convert