ott.tools.transport.Transport
ott.tools.transport.Transport#
- class ott.tools.transport.Transport(problem=None, solver_output=None)[source]#
Implement a core.problems.Transport interface to transport solutions.
Methods
apply
(inputs[, axis])- rtype
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
marginal
([axis])- rtype
Attributes
- rtype
- rtype
- rtype
- rtype
- rtype
Alias for field number 0
Alias for field number 1