From 2f8237eb98240d0263d989d455d40f61978a4341 Mon Sep 17 00:00:00 2001 From: Tianqi Chen <tqchen@users.noreply.github.com> Date: Sat, 20 Oct 2018 07:45:42 -0700 Subject: [PATCH] Fix master CI due to stale push (#1943) --- tests/python/relay/test_pass_alpha_equal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/python/relay/test_pass_alpha_equal.py b/tests/python/relay/test_pass_alpha_equal.py index 7b8a0bbdf..7b27cb7ee 100644 --- a/tests/python/relay/test_pass_alpha_equal.py +++ b/tests/python/relay/test_pass_alpha_equal.py @@ -194,9 +194,9 @@ def test_var_alpha_equal(): v4 = relay.Var("v4", tt2) v5 = relay.Var("v5", tt3) - l4 = relay.Let(v3, convert(1), v3) - l5 = relay.Let(v4, convert(1), v4) - l6 = relay.Let(v5, convert(1), v5) + l4 = relay.Let(v3, relay.const(1), v3) + l5 = relay.Let(v4, relay.const(1), v4) + l6 = relay.Let(v5, relay.const(1), v5) # same annotations assert alpha_equal(l4, l5) -- GitLab