ORTGraphOptimizationLevel
Objective-C
enum ORTGraphOptimizationLevel : int32_t {}
Swift
enum ORTGraphOptimizationLevel : Int32, @unchecked Sendable
The ORT graph optimization levels. See here for more details: https://onnxruntime.ai/docs/performance/model-optimizations/graph-optimizations.html
-
Declaration
Objective-C
ORTGraphOptimizationLevelNone
Swift
case none = 0
-
Declaration
Objective-C
ORTGraphOptimizationLevelBasic
Swift
case basic = 1
-
Declaration
Objective-C
ORTGraphOptimizationLevelExtended
Swift
case extended = 2
-
Declaration
Objective-C
ORTGraphOptimizationLevelAll
Swift
case all = 3