These can be made to work by setting the buffer strides to 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D147187
[mlir][python] Support buffer protocol for splat dense attributes ClosedPublic Authored by rkayaith on Mar 29 2023, 4:07 PM.
Details Summary These can be made to work by setting the buffer strides to 0.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 29 2023, 6:57 PM Closed by commit rGf0e847d0a104: [mlir][python] Support buffer protocol for splat dense attributes (authored by rkayaith). · Explain WhyMar 30 2023, 7:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 509668 mlir/lib/Bindings/Python/IRAttributes.cpp
mlir/test/python/ir/array_attributes.py
|