createSession

abstract fun createSession(model: ByteArray, options: SessionOptions = SessionOptions()): InferenceSession

Parameters

model

the raw bytes of the model file (.onnx for the ORT backend)

Throws