Fix deprecation warning of .T for 1-d inputs#761
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #761 +/- ##
=======================================
Coverage 97.16% 97.16%
=======================================
Files 107 107
Lines 21879 21879
=======================================
Hits 21259 21259
Misses 620 620 🚀 New features to boost your workflow:
|
Collaborator
|
Thanks @francois-rozet |
MatDag
pushed a commit
to MatDag/POT
that referenced
this pull request
Sep 25, 2025
* Fix deprecation warning of .T for 1-d inputs * Update RELEASES.md
rflamary
added a commit
that referenced
this pull request
Jun 2, 2026
* FIX reg gcg * Batch OT losses (Sinkhorn + Gromov) (#755) * linear ot implemented * improve stopping criterion and assymetric case * Add recompute_const and simplify the pipeline for the symmetric = False * add tests * update the examples and rename to follow the "ot.solve" naming conventions * update realeases.md * idem * move set_grad_enabled to backend * set_grad_enabled for quadratric solver * update doc * remove useless importation in doc * Update references * update example * Remove classes in quadratic, move examples to backend, add potentials, remove context managers for grads. To do: improve doc and tests * updat tests * Massive improvement of the documentation for ot.batch * cover (almost) all ot.batch with tests * bug in the tests * update docstring * highlight that ot.batch is solving the entropic version * removing yet another error in the docstring * Add missing parameter recompute_const * Remove png, add all backends and gradient mode to tests * add the missing pytest * change .sum() into nx.sum * add missing backend * yet another missing nx * remove useless squeeze and add test for non-log bregman * remove last_step from quadratic tests * add missing tests and improve documentation * proper unsqueeze test * add unsqueeze to tensorflow * solve double backprop issue in test_gradients_torch --------- Co-authored-by: PaulKrzakala <paul.krzakala@gmail.com> Co-authored-by: Rémi Flamary <remi.flamary@gmail.com> Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com> * Fix deprecation warning of .T for 1-d inputs (#761) * Fix deprecation warning of .T for 1-d inputs * Update RELEASES.md * [MRG] speedup and update tests and wheels and prepare for release 0.9.6 (#759) * fatser tests * add tests * add new build wheels * add python 3.13 * keep version macos * python 3.12 on macosx * release * ste release version number * remove macos-13 * move solve_batch and solve_gromov_btac and dist in main ot * Release 0.9.6 (#762) * Release 0.9.6 * Update RELEASES.md * Update RELEASES.md --------- Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com> * Fix Manifest and change numbering for post release (#763) * change version number and update manifest * use proper numbering * use proper numbering * pr number * last one? * WIP * update RELEASES.md * ENH add test_gcg_no_reg --------- Co-authored-by: KrzakalaPaul <62666596+KrzakalaPaul@users.noreply.github.com> Co-authored-by: PaulKrzakala <paul.krzakala@gmail.com> Co-authored-by: Rémi Flamary <remi.flamary@gmail.com> Co-authored-by: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com> Co-authored-by: François Rozet <francois.rozet@outlook.com>
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
Fix #760
Motivation and context / Related issue
See #760
How has this been tested (if it applies)
PR checklist