Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

SVD-derivative

Documentation and implementations of the various forms of SVD's derivative in the context of AD.

SVD variants

Flags - "thin"/"partial" vs "full" and compute only singular values vs the whole factorization.

Input types - real vs complex.

These variants all change the derivative, impacting both its value and its numerical stability.

There are different resources documenting the different derivative variants. The implementations in well known AD codebases (pytorch, tensorflow, and jax) all have slightly different implementations of the derivative.

This python notebook is an attempt to consolidate documentation of the different cases as well as provide example implementations.

References:

About

Documentation and implementations of the various forms of SVD's derivative in the context of AD

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages