TensorFlowInferenceModel
Basic class for model inference.
Provides functionality to make predictions and model loading.
Constructors
TensorFlowInferenceModel
Link copied to clipboard
fun TensorFlowInferenceModel()
Content copied to clipboard
Types
Functions
graphToString
Link copied to clipboard
Forms the graph description in string format.
predict
Link copied to clipboard
Generates output prediction for the input sample.
predictSoftly
Link copied to clipboard
open override fun predictSoftly(inputData: FloatArray, predictionTensorName: String): FloatArray
Content copied to clipboard