OrtCompileApiFlags enum

\brief Flags representing options to enable when compiling a model.

Inheritance
Available extensions

Values

OrtCompileApiFlags_NONE → const OrtCompileApiFlags

Default. Do not enable any additional compilation options.

const OrtCompileApiFlags(0)
OrtCompileApiFlags_ERROR_IF_NO_NODES_COMPILED → const OrtCompileApiFlags

Force compilation to return an error (ORT_FAIL) if no nodes were compiled. Otherwise, a model with basic optimizations (ORT_ENABLE_BASIC) is still generated by default.

const OrtCompileApiFlags(1)
OrtCompileApiFlags_ERROR_IF_OUTPUT_FILE_EXISTS → const OrtCompileApiFlags

Force compilation to return an error (ORT_FAIL) if a file with the same filename as the output model exists. Otherwise, compilation will automatically overwrite the output file if it exists.

const OrtCompileApiFlags(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromValue(int value) OrtCompileApiFlags

Constants

values → const List<OrtCompileApiFlags>
A constant List of the values in this enum, in order of their declaration.