Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.69 KB

DocumentList.md

File metadata and controls

34 lines (29 loc) · 1.69 KB

Index of documents

This document serves as an index for onnx-mlir documents.

Supported ONNX Ops

  • CPU support is covered here.
  • NNPA support is covered here.

Working environment

Development

  • Onnx operation are represented with ONNX dialect in onnx-mlir.
  • This document tell you how to generate an ONNX operation into ONNX dialect.
  • After an ONNX model is imported into onnx-mlir, several graph-level transformations will be applied. These transformations include operation decomposition, constant propagation, shape inference, and canonicalization.
  • Then the ONNX dialect is lowered to Krnl dialect. To help debugging and performance tuning, onnx-mlir supports instrumentation at the ONNX operand level.
  • All the passes may be controlled with options.
  • How to handle errors can be found here.
  • How to support a new accelerator can be found here.

Execution

The compiled ONNX model can be executed with either a C/C++ driver python driver. or a java driver. The routine testing for onnx-mlir build is describe in this document.