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

Commit

Permalink
turn on numpy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadiaphy committed Apr 20, 2019
1 parent 5a99737 commit 31e0048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/python/unittest/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6991,7 +6991,8 @@ def test_float16_min_max():


@with_seed()
def test_zero_sized_min_max():
@mx.use_np_compat
def test_zero_size_min_max():
def min():
a = mx.nd.zeros(shape=(5, 0))
a.min()
Expand Down

0 comments on commit 31e0048

Please sign in to comment.