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
[FIX] Refactor the function utils.cost_normalization to work with multiple backends (#472)
* [FEAT] Add the 'median' method to the backend base class and implements this method in the Numpy, Pytorch, Jax and Cupy backends
* [TEST] Modify the 'cost_normalization' test to multiple backends
* [REFACTOR] Refactor the 'utils.cost_normalization' function for multiple backends
* [TEST] Update backend tests for method 'median'
* [DEBUG] Fix the error in the test in the 'median' method with PyTorch backend
* [TEST] Add the edge case where the 'median' method is not yet implemented in the Tensorflow backend.
* [FEAT] Implement the 'median' method in the Tensorflow backend using Numpy
* [DEBUG] For compatibility reasons, the median method in the Pytorch backend change using numpy
* [DEBUG] The 'median' method checks the Pytorch version to decide whether to use torch.quantile or numpy
* Add changes to RELEASES.md
---------
Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
0 commit comments