## GraphOptimizationLevelOnnx enumeration

Graph optimization level to use with SessionOptions. For technical details, refer to ONNX Runtime documentation.

```csharp
public enum GraphOptimizationLevelOnnx
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| ORT_DISABLE_ALL | `0` | Disable all optimizations. |
| ORT_ENABLE_BASIC | `1` | Enable basic optimizations, such as node fusion and constant folding. |
| ORT_ENABLE_EXTENDED | `2` | Enable extended optimizations, including memory layout improvements. |
| ORT_ENABLE_ALL | `99` | Enable all available optimizations for maximum performance. |

### See Also

* namespace [Aspose.OCR](../../aspose.ocr)
* assembly [Aspose.OCR](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
