src.factorize_graph_matching.kronecker_torch

src.factorize_graph_matching.kronecker_torch(t1: torch.Tensor, t2: torch.Tensor) torch.Tensor[source]

Compute the kronecker product of \(\mathbf{T}_1\) and \(\mathbf{T}_2\). This function is implemented in torch API and is not efficient for sparse {0, 1} matrix.

Parameters
  • t1 – input tensor 1

  • t2 – input tensor 2

Returns

kronecker product of \(\mathbf{T}_1\) and \(\mathbf{T}_2\)