predictTopNLabels
fun predictTopNLabels(it: InferenceModel, floatArray: FloatArray, labels: MutableMap<Int, String>, topN: Int = 5): MutableMap<Int, Pair<String, Float>>
Content copied to clipboard
Returns top-N labels for the given floatArray encoded with mapping labels.