Skip to content

Commit

Permalink
Whoops, fix that bug in test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhasz committed Dec 23, 2020
1 parent 467803f commit 0ffa3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/tensorflow/utils/test_casting.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_to_numpy():
assert o.shape[1] == 2

x = tf.random.normal([5, 2])
o = casting.to_tensor(x)
o = casting.to_numpy(x)
assert isinstance(o, np.ndarray)
assert o.ndim == 2
assert o.shape[0] == 5
Expand Down

0 comments on commit 0ffa3fc

Please sign in to comment.