OnnxInferenceModel
Inference model built on ONNX format.
Since
0.3
Constructors
OnnxInferenceModel
Link copied to clipboard
fun OnnxInferenceModel()
Content copied to clipboard
Types
Functions
predict
Link copied to clipboard
predictRaw
Link copied to clipboard
Returns list of multidimensional arrays with data from model outputs.
predictRawWithShapes
Link copied to clipboard
fun predictRawWithShapes(inputData: FloatArray): List<Pair<FloatBuffer, LongArray>>
Content copied to clipboard
Returns list of pairs from model outputs.
predictSoftly
Link copied to clipboard
Predicts vector of probabilities instead of specific class in predict method.
open override fun predictSoftly(inputData: FloatArray, predictionTensorName: String): FloatArray
Content copied to clipboard
Properties
inputDimensions
Link copied to clipboard
inputShape
Link copied to clipboard
outputShape
Link copied to clipboard
Inheritors
SSDObjectDetectionModel
Link copied to clipboard