pygmtools.utilsΒΆ
Utility functions: problem formulating, data processing, and beyond.
Functions
Build affinity matrix for graph matching from input node/edge features. |
|
Build a batched tensor from a list of tensors. |
|
Compute the affinity score of graph matching. |
|
Convert a dense connectivity/adjacency matrix to a sparse connectivity/adjacency matrix and an edge weight tensor. |
|
Check if content exits. |
|
Convert a numpy ndarray to a tensor. |
|
Gaussian kernel affinity function. |
|
Generate a set of isomorphic graphs, for testing purposes and examples. |
|
Get the network object of a neural network solver. |
|
Inner product affinity function. |
|
Binary cross entropy loss between two permutations, also known as "permutation loss". |
|
Convert a tensor to a numpy ndarray. |
Classes
A memory-efficient class for multi-graph matching results. |