Overview of OTT-JAX packages
mainThe library is organized into several specialized modules:
ott.geometry: Defines the ground cost (e.g., usingott.geometry.pointcloud.PointCloud). Geometry objects describe the problem.ott.problems: Defines the interaction between measures (e.g.,linear_problem.LinearProblemfor Kantorovich problems, or quadratic problems for Gromov-Wasserstein).ott.solvers: Implements the algorithms to solve the problems defined inott.problems.ott.initializers: Provides strategies to initialize solvers, which is critical for convergence in non-convex problems.ott.neural: Tools for parameterizing transport maps as neural networks (e.g.,input convex neural networksorflow_matching).ott.tools: Utilities to exploit OT solutions, such as computing Wasserstein distances, GMM approximations, or plotting tools.ott.experimental: Contains immature APIs (e.g.,ott.solvers.linear.mmsinkhornfor multi-marginal coupling) that may change.ott.math: Low-level mathematical primitives (e.g., Legendre transform).ott.utils: Miscellaneous helper functions.