This change omits default values from the sparse tensor type,
saving considerable text real estate for the common cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D132083
[mlir][sparse] more concise sparse tensor type printing ClosedPublic Authored by aartbik on Aug 17 2022, 5:09 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 17 2022, 5:16 PM Closed by commit rGe3d64ccf9f55: [mlir][sparse] more concise sparse tensor type printing (authored by aartbik). · Explain WhyAug 17 2022, 5:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 453485 mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
mlir/test/Dialect/SparseTensor/sparse_1d.mlir
mlir/test/Dialect/SparseTensor/sparse_2d.mlir
mlir/test/Dialect/SparseTensor/sparse_3d.mlir
mlir/test/Dialect/SparseTensor/sparse_lower_col.mlir
mlir/test/Dialect/SparseTensor/sparse_nd.mlir
mlir/test/Dialect/SparseTensor/sparse_out.mlir
mlir/test/Dialect/SparseTensor/sparse_transpose.mlir
|