Skip to content

Commit

Permalink
fix a few test bitwise op tests for np 2.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 672999286
  • Loading branch information
trax-robot authored and copybara-github committed Sep 10, 2024
1 parent 39c9bbb commit 17c19c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trax/tf_numpy/jax_tests/lax_numpy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,13 @@ def minus(a, b):
]

JAX_BITWISE_OP_RECORDS = [
op_record("bitwise_and", 2, int_dtypes + unsigned_dtypes, all_shapes,
op_record("bitwise_and", 2, int_dtypes, all_shapes,
jtu.rand_default, []),
op_record("bitwise_not", 1, int_dtypes + unsigned_dtypes, all_shapes,
op_record("bitwise_not", 1, int_dtypes, all_shapes,
jtu.rand_default, []),
op_record("bitwise_or", 2, int_dtypes + unsigned_dtypes, all_shapes,
op_record("bitwise_or", 2, int_dtypes, all_shapes,
jtu.rand_default, []),
op_record("bitwise_xor", 2, int_dtypes + unsigned_dtypes, all_shapes,
op_record("bitwise_xor", 2, int_dtypes, all_shapes,
jtu.rand_default, []),
]

Expand Down

0 comments on commit 17c19c7

Please sign in to comment.