Examples
API
References
Carry out one Sinkhorn update for scalings, using kernel directly.
scaling (Array) – jnp.ndarray of num_a or num_b positive values.
Array
marginal (Array) – targeted marginal
iteration (Optional[int]) – used to compute epsilon from schedule, if provided.
Optional
int
axis (int) – axis along which the update should be carried out.
new scaling vector, of size num_b if axis=0, num_a if axis is 1.