[Mlir-commits] [mlir] [mlir][python] enable memref.subview (PR #79393)
Maksim Levental
llvmlistbot at llvm.org
Mon Jan 29 11:32:19 PST 2024
================
@@ -618,6 +618,15 @@ class PyMemRefType : public PyConcreteType<PyMemRefType, PyShapedType> {
return mlirMemRefTypeGetLayout(self);
},
"The layout of the MemRef type.")
+ .def_property_readonly(
----------------
makslevental wrote:
Since these aren't actually properties (not cached or anything), I prefer to leave it as a tuple.
https://github.com/llvm/llvm-project/pull/79393
More information about the Mlir-commits
mailing list