public static INDArray toArray(Collection<Writable> record){
  return toArray(record,record.size());
}

public static INDArray toArray ( Collection < Writable > record ) { return toArray ( record , record . size ( ) ) ; }
convert a record to an ndarray
