.. automodule:: torch.onnx._internal.diagnostics
.. currentmodule:: torch.onnx._internal.diagnostics
NOTE: This feature is underdevelopment and is subject to change.
The goal is to improve the diagnostics to help users debug and improve their model export to ONNX.
- The diagnostics are emitted in machine parsable Static Analysis Results Interchange Format (SARIF).
- A new clearer, structured way to add new and keep track of diagnostic rules.
- Serve as foundation for more future improvements consuming the diagnostics.
.. toctree:: :glob: generated/onnx_diagnostics_rules/*
.. autoclass:: torch.onnx._internal.diagnostics.ExportDiagnostic :members: