Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit f752bd4

Browse files
authored
[MLIR][sparse] Add soa property to sparse_tensor Python bindings (#109135)
1 parent c5ae478 commit f752bd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Bindings/Python/DialectSparseTensor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ static void populateDialectSparseTensorSubmodule(const py::module &m) {
3333
py::enum_<MlirSparseTensorLevelPropertyNondefault>(m, "LevelProperty",
3434
py::module_local())
3535
.value("non_ordered", MLIR_SPARSE_PROPERTY_NON_ORDERED)
36-
.value("non_unique", MLIR_SPARSE_PROPERTY_NON_UNIQUE);
36+
.value("non_unique", MLIR_SPARSE_PROPERTY_NON_UNIQUE)
37+
.value("soa", MLIR_SPARSE_PROPERTY_SOA);
3738

3839
mlir_attribute_subclass(m, "EncodingAttr",
3940
mlirAttributeIsASparseTensorEncodingAttr)

0 commit comments

Comments
 (0)