GraphOptLevel enum

Graph optimization levels matching ORT's GraphOptimizationLevel enum.

Inheritance
Available extensions

Values

disabled → const GraphOptLevel

No graph optimizations.

const GraphOptLevel(0, 'Disabled')
basic → const GraphOptLevel

Basic optimizations (constant folding, redundant node elimination).

const GraphOptLevel(1, 'Basic')
extended → const GraphOptLevel

Extended optimizations (node fusions, etc.).

const GraphOptLevel(2, 'Extended')
all → const GraphOptLevel

All optimizations including layout transforms.

const GraphOptLevel(99, 'All (max)')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
label String
final
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

Constants

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