ott.core.linear_problems.LinearProblem.get_transport_functions#

LinearProblem.get_transport_functions(lse_mode)[source]#

Instantiate useful functions for Sinkhorn depending on lse_mode.

Return type

Tuple[Callable[[ndarray, ndarray], ndarray], Callable[[ndarray, ndarray], ndarray], Callable[[ndarray, ndarray, ndarray, int], ndarray]]

Parameters

lse_mode (bool) –