Skip to content

Commit

Permalink
Fix i386 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brookhart committed Jun 1, 2020
1 parent a52bb3f commit 7bf2a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/test_op_level3.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def verify_scatter(dshape, ishape, axis=0):

data_np = np.random.uniform(size=dshape).astype("float32")
updates_np = np.random.uniform(size=ishape).astype("float32")
indices_np = np.random.randint(-dshape[axis], dshape[axis] - 1, ishape)
indices_np = np.random.randint(-dshape[axis], dshape[axis] - 1, ishape).astype("int64")

ref_res = ref_scatter(data_np, indices_np, updates_np, axis)
# TODO(mbrookhart): expand testing when adding more backend schedules
Expand Down

0 comments on commit 7bf2a77

Please sign in to comment.