forked from OSchip/llvm-project
[mlir][linalg] Fix __repr__ implementation in const from opdsl
Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D108369
This commit is contained in:
parent
3d41ef68e7
commit
1631d9a7ea
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue