Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[shape_poly] Refactor shape_poly_test in preparation for moving out o…
…f jax2tf. The shape polymotphism is now independent of jax2tf and the code is actually out of jax2tf. Here we refactor shape_poly_test to prepare for moving most of out of jax2tf. The main change is that we replace `jax2tf.convert(f_jax)(*args)` with a call to `check_shape_poly` which now still uses `jax2tf` but in the future will use JAX native mechanisms.
- Loading branch information
Showing
1 changed file
with
94 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters