Fix typo (transpose -> reshape).
authorGuangda Lai <laigd@google.com>
Thu, 18 Apr 2019 22:27:32 +0000 (15:27 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 24 Apr 2019 05:00:45 +0000 (22:00 -0700)
--

PiperOrigin-RevId: 244270801

mlir/examples/toy/Ch3/include/toy/Dialect.h
mlir/examples/toy/Ch4/include/toy/Dialect.h

index a0e4f61..84bd98e 100644 (file)
@@ -255,7 +255,7 @@ public:
 /// Reshape operation is transforming its input array into a new array with the
 /// same number of elements but different shapes. For example:
 ///
-///    %0 = "toy.transpose"(%arg1) : (!toy.array<10>) -> !toy.array<5, 2>
+///    %0 = "toy.reshape"(%arg1) : (!toy.array<10>) -> !toy.array<5, 2>
 ///
 class ReshapeOp : public mlir::Op<ReshapeOp, mlir::OpTrait::OneOperand,
                                   mlir::OpTrait::OneResult> {
index f0e1eb8..96e05dc 100644 (file)
@@ -261,7 +261,7 @@ public:
 /// Reshape operation is transforming its input array into a new array with the
 /// same number of elements but different shapes. For example:
 ///
-///    %0 = "toy.transpose"(%arg1) : (!toy.array<10>) -> !toy.array<5, 2>
+///    %0 = "toy.reshape"(%arg1) : (!toy.array<10>) -> !toy.array<5, 2>
 ///
 class ReshapeOp : public mlir::Op<ReshapeOp, mlir::OpTrait::OneOperand,
                                   mlir::OpTrait::OneResult,