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

Commit

Permalink
Revert bilinear test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Feb 1, 2019
1 parent c2cec22 commit 7a80582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_operator.py
Expand Up @@ -1524,7 +1524,7 @@ def check_bilinear_upsampling_with_shape(shapes, scale, root_scale):
exe.backward(exe.outputs)
for k in range(len(shapes)):
name = 'arg_%d'%k
# assert_allclose(arr[name].asnumpy()*root_scale**2*scale**(2*k), arr_grad[name].asnumpy(), rtol=1e-4)
assert_allclose(arr[name].asnumpy()*root_scale**2*scale**(2*k), arr_grad[name].asnumpy(), rtol=1e-4)


@with_seed()
Expand Down

0 comments on commit 7a80582

Please sign in to comment.