[Mlir-commits] [mlir] 2d9ed1a - [mlir] Fix broken __repr__ implementation in Linalg OpDSL
Denys Shabalin
llvmlistbot at llvm.org
Mon Jan 24 06:58:39 PST 2022
Author: Denys Shabalin
Date: 2022-01-24T15:58:35+01:00
New Revision: 2d9ed1aba236b4e50ce4bbaf955347590d536a55
URL: https://github.com/llvm/llvm-project/commit/2d9ed1aba236b4e50ce4bbaf955347590d536a55
DIFF: https://github.com/llvm/llvm-project/commit/2d9ed1aba236b4e50ce4bbaf955347590d536a55.diff
LOG: [mlir] Fix broken __repr__ implementation in Linalg OpDSL
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D118027
Added:
Modified:
mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
Removed:
################################################################################
diff --git a/mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py b/mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
index ddbebb29fd6f0..f6f3e01443b84 100644
--- a/mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
+++ b/mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
@@ -468,7 +468,7 @@ def visit_tensor_exprs(self, callback):
self.arg.visit_tensor_exprs(callback)
def __repr__(self):
- return f"{repr(self.type_fn)}({type_var}, {self.arg})"
+ return f"{repr(self.type_fn)}({self.type_var}, {self.arg})"
class const(TensorExpression):
More information about the Mlir-commits
mailing list