onnx/ort library

Classes

OrtSessionObjects
This is a wrapper for FFI bindings that define a running model.

Properties

fonnxOrtSessionFinalizerBuildInfo → String
no setter

Functions

createOrtSession(String modelPath, {Map<String, String> sessionConfigEntries = const {}}) → OrtSessionObjects
You MUST call calloc.free on the returned pointer when you are done with it.
fonnxOrtSessionFinalizerAbiVersion() → int
messageForOrtErrorCode(int code) → String?
releaseOrtSessionObjects(OrtSessionObjects? objects) → void