:orphan:
Examples Gallery
=================
Below is the gallery of ``pygmtools`` examples. We build the examples from the introduction of graph matching
to the variants of graph matching, and finally, we provide examples on the applications of graph matching.
In each topic, we provide examples on different numerical backends (e.g., pytorch, numpy, paddle, jittor, tensorflow, mindspore).
.. raw:: html
.. raw:: html
Introduction of Graph Matching: Matching Isomorphic Graphs
-----------------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/1.matching_isomorphic_graphs/images/thumb/sphx_glr_plot_isomorphic_graphs_numpy_thumb.png
:alt: Numpy Backend Example: Matching Isomorphic Graphs
:ref:`sphx_glr_auto_examples_1.matching_isomorphic_graphs_plot_isomorphic_graphs_numpy.py`
.. raw:: html
Numpy Backend Example: Matching Isomorphic Graphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/1.matching_isomorphic_graphs/images/thumb/sphx_glr_plot_isomorphic_graphs_pytorch_thumb.png
:alt: PyTorch Backend Example: Matching Isomorphic Graphs
:ref:`sphx_glr_auto_examples_1.matching_isomorphic_graphs_plot_isomorphic_graphs_pytorch.py`
.. raw:: html
PyTorch Backend Example: Matching Isomorphic Graphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/1.matching_isomorphic_graphs/images/thumb/sphx_glr_plot_isomorphic_graphs_jittor_thumb.png
:alt: Jittor Backend Example: Matching Isomorphic Graphs
:ref:`sphx_glr_auto_examples_1.matching_isomorphic_graphs_plot_isomorphic_graphs_jittor.py`
.. raw:: html
Jittor Backend Example: Matching Isomorphic Graphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/1.matching_isomorphic_graphs/images/thumb/sphx_glr_plot_isomorphic_graphs_paddle_thumb.png
:alt: Paddle Backend Example: Matching Isomorphic Graphs
:ref:`sphx_glr_auto_examples_1.matching_isomorphic_graphs_plot_isomorphic_graphs_paddle.py`
.. raw:: html
Paddle Backend Example: Matching Isomorphic Graphs
.. raw:: html
.. toctree::
:hidden:
/auto_examples/1.matching_isomorphic_graphs/plot_isomorphic_graphs_numpy
/auto_examples/1.matching_isomorphic_graphs/plot_isomorphic_graphs_pytorch
/auto_examples/1.matching_isomorphic_graphs/plot_isomorphic_graphs_jittor
/auto_examples/1.matching_isomorphic_graphs/plot_isomorphic_graphs_paddle
Variant of Graph Matching: Seeded Graph Matching
-------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/2.seeded_graph_matching/images/thumb/sphx_glr_plot_seed_graph_match_numpy_thumb.png
:alt: Numpy Backend Example: Seeded Graph Matching
:ref:`sphx_glr_auto_examples_2.seeded_graph_matching_plot_seed_graph_match_numpy.py`
.. raw:: html
Numpy Backend Example: Seeded Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/2.seeded_graph_matching/images/thumb/sphx_glr_plot_seed_graph_match_pytorch_thumb.png
:alt: PyTorch Backend Example: Seeded Graph Matching
:ref:`sphx_glr_auto_examples_2.seeded_graph_matching_plot_seed_graph_match_pytorch.py`
.. raw:: html
PyTorch Backend Example: Seeded Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/2.seeded_graph_matching/images/thumb/sphx_glr_plot_seed_graph_match_jittor_thumb.png
:alt: Jittor Backend Example: Seeded Graph Matching
:ref:`sphx_glr_auto_examples_2.seeded_graph_matching_plot_seed_graph_match_jittor.py`
.. raw:: html
Jittor Backend Example: Seeded Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/2.seeded_graph_matching/images/thumb/sphx_glr_plot_seed_graph_match_paddle_thumb.png
:alt: Paddle Backend Example: Seeded Graph Matching
:ref:`sphx_glr_auto_examples_2.seeded_graph_matching_plot_seed_graph_match_paddle.py`
.. raw:: html
Paddle Backend Example: Seeded Graph Matching
.. raw:: html
.. toctree::
:hidden:
/auto_examples/2.seeded_graph_matching/plot_seed_graph_match_numpy
/auto_examples/2.seeded_graph_matching/plot_seed_graph_match_pytorch
/auto_examples/2.seeded_graph_matching/plot_seed_graph_match_jittor
/auto_examples/2.seeded_graph_matching/plot_seed_graph_match_paddle
Variant of Graph Matching: Discovering Subgraphs
-------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/3.discovering_subgraphs/images/thumb/sphx_glr_plot_subgraphs_numpy_thumb.png
:alt: Numpy Backend Example: Discovering Subgraphs
:ref:`sphx_glr_auto_examples_3.discovering_subgraphs_plot_subgraphs_numpy.py`
.. raw:: html
Numpy Backend Example: Discovering Subgraphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/3.discovering_subgraphs/images/thumb/sphx_glr_plot_subgraphs_pytorch_thumb.png
:alt: PyTorch Backend Example: Discovering Subgraphs
:ref:`sphx_glr_auto_examples_3.discovering_subgraphs_plot_subgraphs_pytorch.py`
.. raw:: html
PyTorch Backend Example: Discovering Subgraphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/3.discovering_subgraphs/images/thumb/sphx_glr_plot_subgraphs_jittor_thumb.png
:alt: Jittor Backend Example: Discovering Subgraphs
:ref:`sphx_glr_auto_examples_3.discovering_subgraphs_plot_subgraphs_jittor.py`
.. raw:: html
Jittor Backend Example: Discovering Subgraphs
.. raw:: html
.. only:: html
.. image:: /auto_examples/3.discovering_subgraphs/images/thumb/sphx_glr_plot_subgraphs_paddle_thumb.png
:alt: Paddle Backend Example: Discovering Subgraphs
:ref:`sphx_glr_auto_examples_3.discovering_subgraphs_plot_subgraphs_paddle.py`
.. raw:: html
Paddle Backend Example: Discovering Subgraphs
.. raw:: html
.. toctree::
:hidden:
/auto_examples/3.discovering_subgraphs/plot_subgraphs_numpy
/auto_examples/3.discovering_subgraphs/plot_subgraphs_pytorch
/auto_examples/3.discovering_subgraphs/plot_subgraphs_jittor
/auto_examples/3.discovering_subgraphs/plot_subgraphs_paddle
Variant of Graph Matching: Multi-Graph Matching
------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/4.multi-graph_matching/images/thumb/sphx_glr_plot_multi_graph_match_jittor_thumb.png
:alt: Jittor Backend Example: Multi-Graph Matching
:ref:`sphx_glr_auto_examples_4.multi-graph_matching_plot_multi_graph_match_jittor.py`
.. raw:: html
Jittor Backend Example: Multi-Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/4.multi-graph_matching/images/thumb/sphx_glr_plot_multi_graph_match_numpy_thumb.png
:alt: Numpy Backend Example: Multi-Graph Matching
:ref:`sphx_glr_auto_examples_4.multi-graph_matching_plot_multi_graph_match_numpy.py`
.. raw:: html
Numpy Backend Example: Multi-Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/4.multi-graph_matching/images/thumb/sphx_glr_plot_multi_graph_match_pytorch_thumb.png
:alt: PyTorch Backend Example: Multi-Graph Matching
:ref:`sphx_glr_auto_examples_4.multi-graph_matching_plot_multi_graph_match_pytorch.py`
.. raw:: html
PyTorch Backend Example: Multi-Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/4.multi-graph_matching/images/thumb/sphx_glr_plot_multi_graph_match_paddle_thumb.png
:alt: Paddle Backend Example: Multi-Graph Matching
:ref:`sphx_glr_auto_examples_4.multi-graph_matching_plot_multi_graph_match_paddle.py`
.. raw:: html
Paddle Backend Example: Multi-Graph Matching
.. raw:: html
.. toctree::
:hidden:
/auto_examples/4.multi-graph_matching/plot_multi_graph_match_jittor
/auto_examples/4.multi-graph_matching/plot_multi_graph_match_numpy
/auto_examples/4.multi-graph_matching/plot_multi_graph_match_pytorch
/auto_examples/4.multi-graph_matching/plot_multi_graph_match_paddle
Application of Graph Matching: Model Fusion by Graph Matching
--------------------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/5.model_fusion/images/thumb/sphx_glr_plot_model_fusion_pytorch_thumb.png
:alt: PyTorch Backend Example: Model Fusion by Graph Matching
:ref:`sphx_glr_auto_examples_5.model_fusion_plot_model_fusion_pytorch.py`
.. raw:: html
PyTorch Backend Example: Model Fusion by Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/5.model_fusion/images/thumb/sphx_glr_plot_model_fusion_jittor_thumb.png
:alt: Jittor Backend Example: Model Fusion by Graph Matching
:ref:`sphx_glr_auto_examples_5.model_fusion_plot_model_fusion_jittor.py`
.. raw:: html
Jittor Backend Example: Model Fusion by Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/5.model_fusion/images/thumb/sphx_glr_plot_model_fusion_paddle_thumb.png
:alt: Paddle Backend Example: Model Fusion by Graph Matching
:ref:`sphx_glr_auto_examples_5.model_fusion_plot_model_fusion_paddle.py`
.. raw:: html
Paddle Backend Example: Model Fusion by Graph Matching
.. raw:: html
.. toctree::
:hidden:
/auto_examples/5.model_fusion/plot_model_fusion_pytorch
/auto_examples/5.model_fusion/plot_model_fusion_jittor
/auto_examples/5.model_fusion/plot_model_fusion_paddle
Application of Graph Matching: Matching Image Keypoints by QAP Solver
--------------------------------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/6.image_matching_by_QAP/images/thumb/sphx_glr_plot_image_matching_numpy_thumb.png
:alt: Numpy Backend Example: Matching Image Keypoints by QAP Solvers
:ref:`sphx_glr_auto_examples_6.image_matching_by_QAP_plot_image_matching_numpy.py`
.. raw:: html
Numpy Backend Example: Matching Image Keypoints by QAP Solvers
.. raw:: html
.. only:: html
.. image:: /auto_examples/6.image_matching_by_QAP/images/thumb/sphx_glr_plot_image_matching_pytorch_thumb.png
:alt: PyTorch Backend Example: Matching Image Keypoints by QAP Solvers
:ref:`sphx_glr_auto_examples_6.image_matching_by_QAP_plot_image_matching_pytorch.py`
.. raw:: html
PyTorch Backend Example: Matching Image Keypoints by QAP Solvers
.. raw:: html
.. only:: html
.. image:: /auto_examples/6.image_matching_by_QAP/images/thumb/sphx_glr_plot_image_matching_paddle_thumb.png
:alt: Paddle Backend Example: Matching Image Keypoints by QAP Solvers
:ref:`sphx_glr_auto_examples_6.image_matching_by_QAP_plot_image_matching_paddle.py`
.. raw:: html
Paddle Backend Example: Matching Image Keypoints by QAP Solvers
.. raw:: html
.. only:: html
.. image:: /auto_examples/6.image_matching_by_QAP/images/thumb/sphx_glr_plot_image_matching_jittor_thumb.png
:alt: Jittor Backend Example: Matching Image Keypoints by QAP Solvers
:ref:`sphx_glr_auto_examples_6.image_matching_by_QAP_plot_image_matching_jittor.py`
.. raw:: html
Jittor Backend Example: Matching Image Keypoints by QAP Solvers
.. raw:: html
.. toctree::
:hidden:
/auto_examples/6.image_matching_by_QAP/plot_image_matching_numpy
/auto_examples/6.image_matching_by_QAP/plot_image_matching_pytorch
/auto_examples/6.image_matching_by_QAP/plot_image_matching_paddle
/auto_examples/6.image_matching_by_QAP/plot_image_matching_jittor
Application of Graph Matching: Matching Image Keypoints by Graph Matching Neural Network
--------------------------------------------------------------------------------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/7.image_matching_by_NN/images/thumb/sphx_glr_plot_deep_image_matching_pytorch_thumb.png
:alt: PyTorch Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
:ref:`sphx_glr_auto_examples_7.image_matching_by_NN_plot_deep_image_matching_pytorch.py`
.. raw:: html
PyTorch Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
.. raw:: html
.. only:: html
.. image:: /auto_examples/7.image_matching_by_NN/images/thumb/sphx_glr_plot_deep_image_matching_jittor_thumb.png
:alt: Jittor Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
:ref:`sphx_glr_auto_examples_7.image_matching_by_NN_plot_deep_image_matching_jittor.py`
.. raw:: html
Jittor Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
.. raw:: html
.. only:: html
.. image:: /auto_examples/7.image_matching_by_NN/images/thumb/sphx_glr_plot_deep_image_matching_paddle_thumb.png
:alt: Paddle Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
:ref:`sphx_glr_auto_examples_7.image_matching_by_NN_plot_deep_image_matching_paddle.py`
.. raw:: html
Paddle Backend Example: Matching Image Keypoints by Graph Matching Neural Networks
.. raw:: html
.. toctree::
:hidden:
/auto_examples/7.image_matching_by_NN/plot_deep_image_matching_pytorch
/auto_examples/7.image_matching_by_NN/plot_deep_image_matching_jittor
/auto_examples/7.image_matching_by_NN/plot_deep_image_matching_paddle
Molecular Graph Matching with RDKit
--------------------
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/8.rdkit_graph_matching/images/thumb/sphx_glr_plot_rdkit_graph_matching_numpy_thumb.png
:alt: Numpy Backend Example: RDKit Graph Matching
:ref:`sphx_glr_auto_examples_8.rdkit_graph_matching_plot_rdkit_graph_matching_numpy.py`
.. raw:: html
Numpy Backend Example: RDKit Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/8.rdkit_graph_matching/images/thumb/sphx_glr_plot_rdkit_graph_matching_paddle_thumb.png
:alt: Paddle Backend Example: RDKit Graph Matching
:ref:`sphx_glr_auto_examples_8.rdkit_graph_matching_plot_rdkit_graph_matching_paddle.py`
.. raw:: html
Paddle Backend Example: RDKit Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/8.rdkit_graph_matching/images/thumb/sphx_glr_plot_rdkit_graph_matching_jittor_thumb.png
:alt: Jittor Backend Example: RDKit Graph Matching
:ref:`sphx_glr_auto_examples_8.rdkit_graph_matching_plot_rdkit_graph_matching_jittor.py`
.. raw:: html
Jittor Backend Example: RDKit Graph Matching
.. raw:: html
.. only:: html
.. image:: /auto_examples/8.rdkit_graph_matching/images/thumb/sphx_glr_plot_rdkit_graph_matching_pytorch_thumb.png
:alt: PyTorch Backend Example: RDKit Graph Matching
:ref:`sphx_glr_auto_examples_8.rdkit_graph_matching_plot_rdkit_graph_matching_pytorch.py`
.. raw:: html
PyTorch Backend Example: RDKit Graph Matching
.. raw:: html
.. toctree::
:hidden:
/auto_examples/8.rdkit_graph_matching/plot_rdkit_graph_matching_numpy
/auto_examples/8.rdkit_graph_matching/plot_rdkit_graph_matching_paddle
/auto_examples/8.rdkit_graph_matching/plot_rdkit_graph_matching_jittor
/auto_examples/8.rdkit_graph_matching/plot_rdkit_graph_matching_pytorch
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: auto_examples_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery