docs: public INDArray asImageMiniBatches(File f, int numMiniBatches, int numRowsPerSlice) {
          try {
              INDArray d = asMatrix(f);
              return Nd4j.create(numMiniBatches, numRowsPerSlice, d.columns());
          } catch (Exception e) {
              throw new RuntimeException(e);
          }
      }