Skip to content

Commit

Permalink
Syntax highlighting for mlir code in README (llvm#276)
Browse files Browse the repository at this point in the history
* Syntax highlighting for mlir code in README

* Restart Jenkins

Co-authored-by: Gheorghe-Teodor Bercea <gt.bercea@gmail.com>
Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
Co-authored-by: Tian Jin <tjingrant@gmail.com>
  • Loading branch information
4 people authored Sep 2, 2020
1 parent c1262c1 commit 930e20f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ These are frontend options.
## Example

For example, to lower an ONNX model (e.g., add.onnx) to ONNX dialect, use the following command:
```
```shell
./onnx-mlir --EmitONNXIR add.onnx
```
The output should look like:
```
```mlir
module {
func @main_graph(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> {
%0 = "onnx.Add"(%arg0, %arg1) : (tensor<10x10x10xf32>, tensor<10x10x10xf32>) -> tensor<10x10x10xf32>
Expand Down

0 comments on commit 930e20f

Please sign in to comment.