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

Commit

Permalink
Type assertion to force evaluation of output NDArray
Browse files Browse the repository at this point in the history
  • Loading branch information
connorgoggins committed Feb 26, 2020
1 parent b8d3c02 commit 556dbff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/nightly/test_large_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@ def check_rnn():
assert out.shape[1] == 4
assert out.shape[2] == 1

assert type(out[0, 0, 0].asscalar()).__name__ == 'float32'

check_gluon_embedding()
check_fully_connected()
check_dense()
Expand Down

0 comments on commit 556dbff

Please sign in to comment.