You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unit and integration tests are growing, and we are reusing a lot of the same code, in particular to:
generate data
run training
compile models
We should have some common functions and fixtures which will both increase readability of code, reduce duplication and make most of pytest caching.
As part of this, could we introduce an assert_shapes() utility function instead of the kinda confusing assert np.all(tf.shape(tensor) == tensor_shape)?
The text was updated successfully, but these errors were encountered:
Minor clean-up that can happen alongside: np.testing.assert_almost_equal, np.testing.assert_array_almost_equal and np.testing.assert_approx_equal are used in gpflux but deprecated by numpy. We should move to np.testing.assert_allclose or one of the ULP tests.
The unit and integration tests are growing, and we are reusing a lot of the same code, in particular to:
We should have some common functions and fixtures which will both increase readability of code, reduce duplication and make most of
pytest
caching.As part of this, could we introduce an assert_shapes() utility function instead of the kinda confusing assert
np.all(tf.shape(tensor) == tensor_shape)
?The text was updated successfully, but these errors were encountered: