From: MLIR Team Date: Tue, 22 Oct 2019 19:17:59 +0000 (-0700) Subject: Update chapter 3 code snippet to match the actual output of the code X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d499976098bb37e2741c02259959c2901de88709;p=platform%2Fupstream%2Fllvm.git Update chapter 3 code snippet to match the actual output of the code PiperOrigin-RevId: 276117540 --- diff --git a/mlir/g3doc/Tutorials/Toy/Ch-3.md b/mlir/g3doc/Tutorials/Toy/Ch-3.md index a1cfe7b..e63b1a3 100644 --- a/mlir/g3doc/Tutorials/Toy/Ch-3.md +++ b/mlir/g3doc/Tutorials/Toy/Ch-3.md @@ -134,8 +134,7 @@ and observe our pattern in action: func @transpose_transpose(%arg0: tensor<*xf64>) -> tensor<*xf64> attributes {toy.generic} { %0 = "toy.transpose"(%arg0) : (tensor<*xf64>) -> tensor<*xf64> - %1 = "toy.transpose"(%0) : (tensor<*xf64>) -> tensor<*xf64> - "toy.return"(%1) : (tensor<*xf64>) -> () + "toy.return"(%arg0) : (tensor<*xf64>) -> () } ```