Conversation
Codecov Report
@@ Coverage Diff @@
## master #216 +/- ##
==========================================
+ Coverage 92.10% 92.20% +0.09%
==========================================
Files 16 19 +3
Lines 3054 3167 +113
==========================================
+ Hits 2813 2920 +107
- Misses 241 247 +6 |
Contributor
|
Hi, |
Contributor
|
Hi, |
* small tentative for EMD 1D * Implemented the vectorized version of the EMD 1D following the discussions * Update build_tests.yml Remove py3.5 from supported version and add 3.9 instead * Update build_tests.yml CVXOPT doesn't support 3.9 * change name add example and reference * Changed order of batching, it was more complicated than expected as pytorch doesn't allow for a bunch of operations to be taken along a certain dimension (searchsorted, etc...) * fixed doctest * Modified require_sort docstring
Collaborator
Author
|
This PR has been replaced by #249 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Types of changes
What is planned in this PR:
ot.torch.utilstorch utils functions for quick prototyping (dist, unif, proj_simplex)Motivation and context / Related issue
Add a torch compatible functions for computing OT and OT loss for exact and sinkhorn divergences.
How has this been tested (if it applies)
Checklist