add missing docstrings

This commit is contained in:
Denis-Cosmin Nutiu 2024-03-24 18:59:40 +02:00
parent 9b87c40b60
commit fce5bc754f

View file

@ -43,6 +43,9 @@ class ImageTagsPrediction private constructor() {
}
}
/**
* Processes an image into an ONNX Tensor.
*/
private fun processImage(bufferedImage: BufferedImage): Array<Array<Array<FloatArray>>> {
try {
val tensorData = Array(1) {