predictTopKImageNetLabels
fun predictTopKImageNetLabels(it: InferenceModel, data: FloatArray, imageNetClassLabels: MutableMap<Int, String>, topK: Int = 5): List<Pair<String, Float>>
Content copied to clipboard
Returns topK labels for the given data encoded with mapping imageNetClassLabels.