WIP (algorithm correct, but inaccurate)

This commit is contained in:
Matti Eskelinen
2026-02-06 08:38:12 +00:00
parent 0662a6c799
commit 3b31e42359
4 changed files with 70 additions and 104 deletions

View File

@@ -23,8 +23,8 @@ void sinkhorn_knopp_ref(const HostTensor<XDataType>& x_n_n,
{
for(index_t j = 0; j < input_n; ++j)
{
// c_n_n(i, j) = exp(type_convert<ComputeDataType>(x_n_n(i, j)));
c_n_n(i, j) = type_convert<ComputeDataType>(x_n_n(i, j));
c_n_n(i, j) = exp(type_convert<ComputeDataType>(x_n_n(i, j)));
// c_n_n(i, j) = type_convert<ComputeDataType>(x_n_n(i, j));
}
}