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

Commit

Permalink
rebase code
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxun-zhang committed Sep 26, 2019
1 parent d14d372 commit 10b434a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nightly/test_large_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ def test_activation():
# Sigmoid
# y = x/(1+exp(-x))
b = mx.nd.Activation(a, act_type="sigmoid")
sigmoid_x = 1 / (1 + np.exp(-test_x))
sigmoid_x = 1 / (1 + math.exp(-test_x))
assert_almost_equal(b.asnumpy()[-1][-1], sigmoid_x)

# Soft Sign
Expand Down

0 comments on commit 10b434a

Please sign in to comment.