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

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Chu committed Dec 17, 2020
1 parent ea33835 commit 313bc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python-pytest/onnx/test_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def test_onnx_export_softmax(tmp_path, dtype):
op_export_test('softmax_1', M1, [x], tmp_path)
M2 = def_model('softmax', use_length=True, axis=0)
l2 = mx.nd.array([[2,0,3,1],[1,3,2,0], [0,0,0,1]], dtype=int)
op_export_test('softmax_2', M1, [x, l2], tmp_path)
op_export_test('softmax_2', M2, [x, l2], tmp_path)
M3 = def_model('softmax', use_length=True, axis=-1, temperature=0.5)
l3 = mx.nd.array([[2,0,1],[0,0,0]], dtype=int)
op_export_test('softmax_3', M1, [x, l3], tmp_path)
op_export_test('softmax_3', M3, [x, l3], tmp_path)

0 comments on commit 313bc3c

Please sign in to comment.