mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-08-17 16:43:30 +08:00
JaxTestCase now sets jax_numpy_rank_promotion='raise' by default
PiperOrigin-RevId: 425896973
This commit is contained in:
committed by
Diego de Las Casas
parent
bc869b25d2
commit
35be4a0bb9
@@ -44,6 +44,7 @@ def tagged_autoencoder(all_params, x_in):
|
||||
return [[h1, t2], [h2, t2]]
|
||||
|
||||
|
||||
@jtu.with_config(jax_numpy_rank_promotion="allow")
|
||||
class TestGraphMatcher(jtu.JaxTestCase):
|
||||
"""Class for running all of the tests for integrating the systems."""
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ def autoencoder_aux(all_aux, all_params, x_in):
|
||||
return [l1, l2 * 0.1], layers_values
|
||||
|
||||
|
||||
@jtu.with_config(jax_numpy_rank_promotion="allow")
|
||||
class TestTracer(jtu.JaxTestCase):
|
||||
"""Class for running all of the tests for integrating the systems."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user