Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Update test_gluon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjscience committed Sep 26, 2019
1 parent 04765a3 commit 5be5840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_gluon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5be5840

Please sign in to comment.