Update chapter 3 code snippet to match the actual output of the code
authorMLIR Team <no-reply@google.com>
Tue, 22 Oct 2019 19:17:59 +0000 (12:17 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 22 Oct 2019 19:18:27 +0000 (12:18 -0700)
PiperOrigin-RevId: 276117540

mlir/g3doc/Tutorials/Toy/Ch-3.md

index a1cfe7b..e63b1a3 100644 (file)
@@ -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>) -> ()
 }
 ```