onnx/ort library
Classes
- OrtSessionObjects
- This is a wrapper for FFI bindings that define a running model.
Extensions
Properties
- fonnxOrtSessionFinalizerBuildInfo → String
-
no setter
Functions
-
createOrtSession(
String modelPath, {Map< String, String> sessionConfigEntries = const {}}) → OrtSessionObjects -
You MUST call
calloc.freeon the returned pointer when you are done with it. -
fonnxOrtSessionFinalizerAbiVersion(
) → int -
messageForOrtErrorCode(
int code) → String? -
releaseOrtSessionObjects(
OrtSessionObjects? objects) → void