Share via


OnnxSessionOptions.GraphOptimizationLevel Property

Definition

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

Applies to