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

Commit

Permalink
fix test_raise
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Chu committed Feb 12, 2021
1 parent c8b70c0 commit eaefaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python-pytest/onnx/test_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,6 @@ def test_onnx_export_take(tmp_path, dtype, axis, mode):
@pytest.mark.parametrize('axis', [-3, -2, -1, 0, 1, 2])
def test_onnx_export_take_raise(tmp_path, dtype, axis):
x = mx.nd.random.normal(0, 10, (3, 4, 5)).astype(dtype)
y = mx.random.randint(0, 4, (6, 7)).astype(dtype)
y = mx.random.randint(0, 3, (6, 7)).astype(dtype)
M = def_model('take', axis=axis, mode='raise')
op_export_test('take', M, [x, y], tmp_path)

0 comments on commit eaefaf3

Please sign in to comment.