Skip to content

Commit ddb65b2

Browse files
committed
[mlir] [python] Fixed the return type of MemRefType.get_strides_and_offset
1 parent 5f841a6 commit ddb65b2

File tree

1 file changed

+1
-1
lines changed
  • mlir/python/mlir/_mlir_libs/_mlir

1 file changed

+1
-1
lines changed

mlir/python/mlir/_mlir_libs/_mlir/ir.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2119,7 +2119,7 @@ class MemRefType(ShapedType):
21192119
"""
21202120
@property
21212121
def typeid(self) -> TypeID: ...
2122-
def get_strides_and_offset(self) -> tuple[list[int], list[int]]:
2122+
def get_strides_and_offset(self) -> tuple[list[int], int]:
21232123
"""
21242124
The strides and offset of the MemRef type.
21252125
"""

0 commit comments

Comments
 (0)