Skip to content

Commit

Permalink
[examples] Update the demo result in BuddyPython readme (buddy-compil…
Browse files Browse the repository at this point in the history
  • Loading branch information
xTayEx authored Dec 11, 2023
1 parent b6e41a3 commit 9316b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/BuddyPython/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ If everything works well, the output should be as below.
```mlir
module {
func.func @forward(%arg0: tensor<10xf32>, %arg1: tensor<10xf32>) -> tensor<10xf32> {
%0 = "tosa.mul"(%arg0, %arg1) {shift = 0 : i32} : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
%1 = "tosa.add"(%0, %arg0) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
%0 = tosa.mul %arg0, %arg1 {shift = 0 : i8} : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
%1 = tosa.add %0, %arg0 : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
return %1 : tensor<10xf32>
}
}
Expand Down

0 comments on commit 9316b04

Please sign in to comment.