OnnxSessionOptions.GraphOptimizationLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the graph optimization level for the session. Default is set to ORT_ENABLE_ALL.
public Microsoft.ML.OnnxRuntime.GraphOptimizationLevel GraphOptimizationLevel { get; set; }
member this.GraphOptimizationLevel : Microsoft.ML.OnnxRuntime.GraphOptimizationLevel with get, set
Public Property GraphOptimizationLevel As GraphOptimizationLevel
Property Value
Microsoft.ML.OnnxRuntime.GraphOptimizationLevel