OrtEnv class

A class about onnx runtime environment.

Properties

hashCode int
The hash code for this object.
no setterinherited
ortApiPtr Pointer<OrtApi>
no setter
ptr Pointer<OrtEnv>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

availableProviders() List<OrtProvider>
Gets all available providers.
init({OrtLoggingLevel level = OrtLoggingLevel.warning, String logId = 'DartOnnxRuntime', OrtThreadingOptions? options}) → void
Initialize the onnx runtime environment.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Release the onnx runtime environment.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance OrtEnv
no setter
version String
Gets the version of onnx runtime.
no setter

Static Methods

setApiVersion(OrtApiVersion apiVersion) → void
Set ort's api version.