提交 dd1440fe authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Better update printing test

上级 61be5b5c
......@@ -366,7 +366,7 @@ def test_scan_debugprint2():
> |coefficients[t] [@Y] -> [@S]
> |Elemwise{pow,no_inplace} [@Z] ''
> |x_copy [@BA] -> [@W]
> |<TensorType(int16, scalar)> [@BB] -> [@U]"""
> |<TensorType(int64, scalar)> [@BB] -> [@U]"""
for truth, out in zip(expected_output.split("\n"), lines):
assert truth.strip() == out.strip()
......@@ -479,7 +479,7 @@ def test_scan_debugprint3():
> | | |Constant{1} [@BX]
> | |Constant{-1} [@BY]
> |DimShuffle{x} [@BZ] ''
> |<TensorType(int8, scalar)> [@CA] -> [@U]
> |<TensorType(int64, scalar)> [@CA] -> [@U]
for{cpu,scan_fn} [@BE] ''
>Elemwise{mul,no_inplace} [@CB] ''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论