From 5be5840e2c4c3c9b91404b0d9956bbf9ed6e849c Mon Sep 17 00:00:00 2001 From: Xingjian Shi Date: Wed, 25 Sep 2019 17:59:59 -0700 Subject: [PATCH] Update test_gluon.py --- tests/python/unittest/test_gluon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/unittest/test_gluon.py b/tests/python/unittest/test_gluon.py index 8542722090c9..59eb65444152 100644 --- a/tests/python/unittest/test_gluon.py +++ b/tests/python/unittest/test_gluon.py @@ -473,7 +473,7 @@ def hybrid_forward(self, F, a, b): foo1 = FooNested(prefix='foo_nested_hybridized') foo1.hybridize() foo2 = FooNested(prefix='foo_nested_nohybrid') - for _ in range(2): + for _ in range(2): # Loop for 2 times to trigger forwarding of the cached version out1 = foo1(*arg_inputs) out2 = foo2(*arg_inputs) if isinstance(out1, tuple):