[mlir][linalg] Fix __repr__ implementation in const from opdsl

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D108369
This commit is contained in:
Denys Shabalin 2021-08-20 12:35:09 +02:00 committed by Alex Zinenko
parent 3d41ef68e7
commit 1631d9a7ea
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class const(TensorExpression):
return ScalarConst(self.value).expr() return ScalarConst(self.value).expr()
def __repr__(self): def __repr__(self):
return f"const({self.type_var}, {self.value})" return f"const({self.value})"
class index(TensorExpression): class index(TensorExpression):