Unverified Commit 0d9acc9d authored by VoVAllen's avatar VoVAllen Committed by GitHub
Browse files

hot fix (#1135)

parent a1b28b39
......@@ -303,8 +303,8 @@ def test_all_binary_builtins():
def _print_error(a, b):
print("ERROR: Test {}_{}_{}_{} broadcast: {} partial: {}".
format(lhs, binary_op, rhs, reducer, broadcast, partial))
print("Nodes", g.nodes())
print("Edges:" ,g.edges())
print("lhs", F.asnumpy(lhs).tolist())
print("rhs", F.asnumpy(rhs).tolist())
for i, (x, y) in enumerate(zip(F.asnumpy(a).flatten(), F.asnumpy(b).flatten())):
if not np.allclose(x, y, rtol, atol):
print('@{} {} v.s. {}'.format(i, x, y))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment