INDArray out = null;
try {
out = new NativeImageLoader(conf.getCroppingHeight(), conf.getCroppingWidth()).asMatrix(cropped);
} catch (IOException e) {
e.printStackTrace();
<BUG>}
out = out.reshape(1, conf.getCroppingHeight(), conf.getCroppingWidth());</BUG>
INDArray compressed = compressor.compress(out);
return compressed;
}

INDArray out = null;
try {
out = new NativeImageLoader(conf.getCroppingHeight(), conf.getCroppingWidth()).asMatrix(cropped);
} catch (IOException e) {
e.printStackTrace();
}
System.out.println(out.shapeInfoToString());
out = out.reshape(1, conf.getCroppingHeight(), conf.getCroppingWidth());
INDArray compressed = compressor.compress(out);
return compressed;
}
