docs: public static List<List<Writable>> toRecords(INDArray matrix) {
          List<List<Writable>> ret = new ArrayList<>();
          for (int i = 0; i < matrix.rows(); i++) {
              ret.add(RecordConverter.toRecord(matrix.getRow(i)));
          }
  
          return ret;
      }