[Mlir-commits] [mlir] 628dda0 - [mlir, shape] Update min/max op description

Jacques Pienaar llvmlistbot at llvm.org
Wed Apr 7 08:21:56 PDT 2021


Author: Jacques Pienaar
Date: 2021-04-07T08:21:15-07:00
New Revision: 628dda08b82fcedcd9e89c9ef7850388e988bf68

URL: https://github.com/llvm/llvm-project/commit/628dda08b82fcedcd9e89c9ef7850388e988bf68
DIFF: https://github.com/llvm/llvm-project/commit/628dda08b82fcedcd9e89c9ef7850388e988bf68.diff

LOG: [mlir,shape] Update min/max op description

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
index 41e6f8a2a5627..d2bce0ba83cce 100644
--- a/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
+++ b/mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
@@ -404,10 +404,10 @@ def Shape_JoinOp : Shape_Op<"join", [Commutative]> {
 def Shape_MaxOp : Shape_Op<"max", [Commutative, NoSideEffect]> {
   let summary = "Elementwise maximum";
   let description = [{
-    Computes the elementwise maximum of two shapes with equal ranks. If either
-    operand is an error, then an error will be propagated to the result. If the
-    input types mismatch or the ranks do not match, then the result is an
-    error.
+    Computes the elementwise maximum of two sizes or shapes with equal ranks.
+    If either operand is an error, then an error will be propagated to the
+    result. If the input types mismatch or the ranks do not match, then the
+    result is an error.
   }];
 
   let arguments = (ins Shape_ShapeOrSizeType:$lhs, Shape_ShapeOrSizeType:$rhs);
@@ -423,10 +423,10 @@ def Shape_MaxOp : Shape_Op<"max", [Commutative, NoSideEffect]> {
 def Shape_MinOp : Shape_Op<"min", [Commutative, NoSideEffect]> {
   let summary = "Elementwise minimum";
   let description = [{
-    Computes the elementwise maximum of two shapes with equal ranks. If either
-    operand is an error, then an error will be propagated to the result. If the
-    input types mismatch or the ranks do not match, then the result is an
-    error.
+    Computes the elementwise minimum of two sizes or shapes with equal ranks.
+    If either operand is an error, then an error will be propagated to the
+    result. If the input types mismatch or the ranks do not match, then the
+    result is an error.
   }];
 
   let arguments = (ins Shape_ShapeOrSizeType:$lhs, Shape_ShapeOrSizeType:$rhs);


        


More information about the Mlir-commits mailing list