[Mlir-commits] [mlir] [mlir]: clarify tensor.pad docs for low/high config (PR #69641)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Oct 19 14:21:29 PDT 2023


================
@@ -1219,10 +1234,11 @@ def Tensor_PadOp : Tensor_Op<"pad", [
       } : tensor<2x3xf32> to tensor<?x?xf32>
     ```
 
-    Example 4:
+    Example 5: Force a padded value to be always exist with `nofold`, even
+    though the padding config asserts no new elements will be added to the
----------------
ftynse wrote:

Nit: `assert` sounds like it will trigger an assertion failure :)

https://github.com/llvm/llvm-project/pull/69641


More information about the Mlir-commits mailing list