forked from ott-jax/ott
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove nn from docs, fix some small issues * Start adding neural part * Update neural docs * Fix spellchecker * First round of comments * Fix TODOs
- Loading branch information
Showing
30 changed files
with
254 additions
and
265 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ott.neural | ||
========== | ||
.. module:: ott.neural | ||
.. currentmodule:: ott.neural | ||
|
||
In contrast to most methods presented in :mod:`ott.solvers`, which output | ||
vectors or matrices, the goal of the :mod:`ott.neural` module is to parameterize | ||
optimal transport maps and couplings as neural networks. These neural networks | ||
can generalize to new samples, in the sense that they can be conveniently | ||
evaluated outside training samples. This module implements layers, models | ||
and solvers to estimate such neural networks. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
solvers | ||
|
||
Models | ||
------ | ||
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
models.ICNN | ||
models.MLP | ||
models.MetaInitializer | ||
|
||
Losses | ||
------ | ||
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
losses.monge_gap | ||
losses.monge_gap_from_samples | ||
|
||
Layers | ||
------ | ||
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
layers.PositiveDense | ||
layers.PosDefPotentials |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ott.neural.solvers | ||
================== | ||
.. module:: ott.neural.solvers | ||
.. currentmodule:: ott.neural.solvers | ||
|
||
This module implements various solvers to estimate optimal transport between | ||
two probability measures, through samples, parameterized as neural networks. | ||
These neural networks are described in :mod:`ott.neural.models`, borrowing | ||
lower-level components from :mod:`ott.neural.layers` using | ||
`flax <https://flax.readthedocs.io/en/latest/>`__. | ||
|
||
Solvers | ||
------- | ||
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
map_estimator.MapEstimator | ||
neuraldual.W2NeuralDual | ||
neuraldual.BaseW2NeuralDual | ||
|
||
Conjugate Solvers | ||
----------------- | ||
.. autosummary:: | ||
:toctree: _autosummary | ||
|
||
conjugate.FenchelConjugateLBFGS | ||
conjugate.FenchelConjugateSolver | ||
conjugate.ConjugateResults |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.