提交 8da7cd76 authored 作者: ricardoV94's avatar ricardoV94 提交者: Ricardo Vieira

Do not constant_fold XOp

上级 32ec7810
......@@ -14,6 +14,9 @@ class XOp(Op):
f"xtensor operation {self} must be lowered to equivalent tensor operations"
)
def do_constant_folding(self, fgraph, node):
return False
class XTypeCastOp(TypeCastingOp):
"""Base class for Ops that type cast between TensorType and XTensorType.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论