public static List < Writable > toRecord ( INDArray array ) { List < Writable > writables = new ArrayList <> ( ) ; writables . add ( new NDArrayWritable ( array ) ) ; return writables ; }
Convert an ndarray to a record