Companion
object Companion
Content copied to clipboard
Functions
load
Link copied to clipboard
fun load(modelBytes: ByteArray, vararg executionProviders: ExecutionProvider = arrayOf(CPU(true))): OnnxInferenceModel
Content copied to clipboard
Loads model from a byte array representing an ONNX model.
fun load(pathToModel: String, vararg executionProviders: ExecutionProvider = arrayOf(CPU(true))): OnnxInferenceModel
Content copied to clipboard
Loads model from serialized ONNX file.