predictTopKImageNetLabels

fun predictTopKImageNetLabels(it: InferenceModel, data: FloatArray, imageNetClassLabels: MutableMap<Int, String>, topK: Int = 5): List<Pair<String, Float>>

Returns topK labels for the given data encoded with mapping imageNetClassLabels.