pygmtools
0.2.5
User Guide
What is Graph Matching
Get Started
Graph Matching Benchmark
API Reference
pygmtools.benchmark
pygmtools.dataset
pygmtools.classic_solvers
pygmtools.multi_graph_solvers
pygmtools.utils
pygmtools
»
pygmtools.pytorch_backend.sinkhorn
Edit on GitHub
pygmtools.pytorch_backend.sinkhorn
¶
pygmtools.pytorch_backend.
sinkhorn
(
s
:
torch.Tensor
,
nrows
:
Optional
[
torch.Tensor
]
=
None
,
ncols
:
Optional
[
torch.Tensor
]
=
None
,
dummy_row
:
bool
=
False
,
max_iter
:
int
=
10
,
tau
:
float
=
1.0
,
batched_operation
:
bool
=
False
)
→
torch.Tensor
[source]
¶
Pytorch implementation of Sinkhorn algorithm
Read the Docs
v: 0.2.5
Versions
latest
stable
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
Downloads
On Read the Docs
Project Home
Builds