Fix typo (transpose -> reshape).

--

PiperOrigin-RevId: 244270801
This commit is contained in:
Guangda Lai 2019-04-18 15:27:32 -07:00 committed by Mehdi Amini
parent 75be1fe82b
commit 7977e62b96
2 changed files with 2 additions and 2 deletions

View 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> {

View 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,