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 Mar 3, 2020
1 parent 671ee0a commit eb09cf1
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 @@ -562,6 +562,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 eb09cf1

Please sign in to comment.