ott.core.gromov_wasserstein.GWOutput#

class ott.core.gromov_wasserstein.GWOutput(costs=None, linear_convergence=None, convergence=False, errors=None, linear_state=None, geom=None, old_transport_mass=1.0)[source]#

Holds the output of the Gromov-Wasserstein solver.

Parameters

Methods

apply(inputs[, axis])

Apply the transport to an array; axis=1 for its transpose.

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

set(**kwargs)

Return a copy of self, possibly with overwrites.

Attributes

convergence

Alias for field number 2

costs

Alias for field number 0

errors

Alias for field number 3

geom

Alias for field number 5

linear_convergence

Alias for field number 1

linear_state

Alias for field number 4

matrix

Transport matrix.

old_transport_mass

Alias for field number 6

reg_gw_cost

Regularized optimal transport cost of the linearization.