[all-commits] [llvm/llvm-project] 29b105: [mlir][linalg] Update pack and unpack documentatio...
Christopher McGirr via All-commits
all-commits at lists.llvm.org
Fri Jun 27 13:55:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 29b1054835106ed6c1dee59bebc8e6f6af2198d0
https://github.com/llvm/llvm-project/commit/29b1054835106ed6c1dee59bebc8e6f6af2198d0
Author: Christopher McGirr <mcgirr at roofline.ai>
Date: 2025-06-27 (Fri, 27 Jun 2025)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
M mlir/test/Dialect/Linalg/invalid.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
Log Message:
-----------
[mlir][linalg] Update pack and unpack documentation (#143903)
* Clarified the `inner_dim_pos` attribute in the case of high
dimensionality tensors.
* Added a 5D examples to show-case the use-cases that triggered this
updated.
* Added a reminder for linalg.unpack that number of elements are not
required to be the same between input/output due to padding being
dropped.
I encountered some odd variations of `linalg.pack` and `linalg.unpack`
while working on some TFLite models and the definition in the
documentation did not match what I saw pass in IR verification.
The following changes reconcile those differences.
---------
Signed-off-by: Christopher McGirr <mcgirr at roofline.ai>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list