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

Commit

Permalink
Set const value for output dim
Browse files Browse the repository at this point in the history
  • Loading branch information
connorgoggins committed Feb 24, 2020
1 parent 0d0400e commit 97f0523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/nightly/test_large_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
SMALL_X = 100
SMALL_Y = 50
LARGE_SIZE = LARGE_X * SMALL_Y
LARGE_TENSOR_SHAPE = 4294967296


def test_nn():
Expand Down Expand Up @@ -475,7 +476,7 @@ def check_embedding():

out = nd.Embedding(data=data, weight=weight, input_dim=input_dim, output_dim=output_dim)

assert out.shape[0] == 4294967296
assert out.shape[0] == LARGE_TENSOR_SHAPE
assert out.shape[1] == 1
assert out.shape[2] == 1

Expand Down

0 comments on commit 97f0523

Please sign in to comment.