pygmtools.numpy_backend.sinkhorn

pygmtools.numpy_backend.sinkhorn(s: numpy.ndarray, nrows: Optional[numpy.ndarray] = None, ncols: Optional[numpy.ndarray] = None, dummy_row: bool = False, max_iter: int = 10, tau: float = 1.0, batched_operation: bool = False) numpy.ndarray[source]

numpy implementation of Sinkhorn algorithm