Skip to content

Commit

Permalink
remove .numpy which failed in gpu/distributed env
Browse files Browse the repository at this point in the history
  • Loading branch information
jq committed Apr 29, 2024
1 parent eabccef commit 52d8085
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def test_fill_empty_rows(self):

self.assertTrue(
tf.reduce_all(filled_ragged_tensor.to_tensor() ==
expected_filled.to_tensor()).numpy(),
expected_filled.to_tensor()),
"Filled tensors do not match")
self.assertTrue(
tf.reduce_all(is_row_empty == expected_empty).numpy(),
tf.reduce_all(is_row_empty == expected_empty),
"Empty row flags do not match")

0 comments on commit 52d8085

Please sign in to comment.