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

Commit

Permalink
resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiBapchya committed Aug 27, 2019
1 parent 57a10ac commit 1e9349a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/nightly/test_large_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
MEDIUM_X = 1000000000


def create_large_vector(size, dtype="int64"):
a = nd.arange(0, size, dtype=dtype)
# Implicitly calling nd.waitall()
assert a[0] == 0
return a


def test_slice():
a = nd.ones(LARGE_X)
res = nd.slice(a, begin=(LARGE_X - MEDIUM_X), end=LARGE_X)
Expand Down Expand Up @@ -176,6 +169,8 @@ def test_topk():
assert np.all(ind == val)
val = nd.topk(b, k=1, axis=0, dtype=np.int64, ret_typ="value")
assert val.sum() == (LARGE_X - 1)


@with_seed()
def test_ndarray_random_exponential():
a = nd.random.exponential(shape=LARGE_X)
Expand Down

0 comments on commit 1e9349a

Please sign in to comment.