Skip to content

Commit 628dda0

Browse files
committed
[mlir,shape] Update min/max op description
1 parent 672f673 commit 628dda0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,10 @@ def Shape_JoinOp : Shape_Op<"join", [Commutative]> {
404404
def Shape_MaxOp : Shape_Op<"max", [Commutative, NoSideEffect]> {
405405
let summary = "Elementwise maximum";
406406
let description = [{
407-
Computes the elementwise maximum of two shapes with equal ranks. If either
408-
operand is an error, then an error will be propagated to the result. If the
409-
input types mismatch or the ranks do not match, then the result is an
410-
error.
407+
Computes the elementwise maximum of two sizes or shapes with equal ranks.
408+
If either operand is an error, then an error will be propagated to the
409+
result. If the input types mismatch or the ranks do not match, then the
410+
result is an error.
411411
}];
412412

413413
let arguments = (ins Shape_ShapeOrSizeType:$lhs, Shape_ShapeOrSizeType:$rhs);
@@ -423,10 +423,10 @@ def Shape_MaxOp : Shape_Op<"max", [Commutative, NoSideEffect]> {
423423
def Shape_MinOp : Shape_Op<"min", [Commutative, NoSideEffect]> {
424424
let summary = "Elementwise minimum";
425425
let description = [{
426-
Computes the elementwise maximum of two shapes with equal ranks. If either
427-
operand is an error, then an error will be propagated to the result. If the
428-
input types mismatch or the ranks do not match, then the result is an
429-
error.
426+
Computes the elementwise minimum of two sizes or shapes with equal ranks.
427+
If either operand is an error, then an error will be propagated to the
428+
result. If the input types mismatch or the ranks do not match, then the
429+
result is an error.
430430
}];
431431

432432
let arguments = (ins Shape_ShapeOrSizeType:$lhs, Shape_ShapeOrSizeType:$rhs);

0 commit comments

Comments
 (0)