:orphan:
Code samples
==================
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_matrix_vector_products_thumb.png
:alt:
:doc:`/basic_usage/example_matrix_vector_products`
.. raw:: html
Matrix-vector products
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_huggingface_thumb.png
:alt:
:doc:`/basic_usage/example_huggingface`
.. raw:: html
Usage with Huggingface LLMs
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_submatrices_thumb.png
:alt:
:doc:`/basic_usage/example_submatrices`
.. raw:: html
Sub-matrices of linear operators
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_eigenvalues_thumb.png
:alt:
:doc:`/basic_usage/example_eigenvalues`
.. raw:: html
Eigenvalues
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_inverses_thumb.png
:alt:
:doc:`/basic_usage/example_inverses`
.. raw:: html
Inverses (natural gradient)
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_model_merging_thumb.png
:alt:
:doc:`/basic_usage/example_model_merging`
.. raw:: html
Fisher-weighted Model Averaging
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_visual_tour_thumb.png
:alt:
:doc:`/basic_usage/example_visual_tour`
.. raw:: html
Visual tour of curvature matrices
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_fisher_monte_carlo_thumb.gif
:alt:
:doc:`/basic_usage/example_fisher_monte_carlo`
.. raw:: html
Monte-Carlo approximation of the Fisher
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_verification_spectral_density_thumb.png
:alt:
:doc:`/basic_usage/example_verification_spectral_density`
.. raw:: html
Spectral density estimation (verification)
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_benchmark_thumb.png
:alt:
:doc:`/basic_usage/example_benchmark`
.. raw:: html
Benchmarking linear operators
.. raw:: html
.. only:: html
.. image:: /basic_usage/images/thumb/sphx_glr_example_trace_diagonal_estimation_thumb.png
:alt:
:doc:`/basic_usage/example_trace_diagonal_estimation`
.. raw:: html
Trace and diagonal estimation
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/basic_usage/example_matrix_vector_products
/basic_usage/example_huggingface
/basic_usage/example_submatrices
/basic_usage/example_eigenvalues
/basic_usage/example_inverses
/basic_usage/example_model_merging
/basic_usage/example_visual_tour
/basic_usage/example_fisher_monte_carlo
/basic_usage/example_verification_spectral_density
/basic_usage/example_benchmark
/basic_usage/example_trace_diagonal_estimation
.. 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: basic_usage_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: basic_usage_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery