predictAndGetActivations
open override fun predictAndGetActivations(inputData: FloatArray, predictionTensorName: String): Pair<Int, List<*>>
Content copied to clipboard
Predicts and returns not only prediction but list of activations values from intermediate model layers (for visualisation or debugging purposes).
Return
Label (class index) and list of activations from intermediate model layers.
Parameters
inputData
Unlabeled input data to define label.
predictionTensorName
Name of output tensor to make prediction.