Skip to content

JesseLivezey/pytorch_group_sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch_group_sampler

PyTorch sampler for orthogonal and special orthogonal groups

This is meant to reproduce the functionality of scipy.stats.[ortho_group.rvs(), special_ortho_group.rvs()].

Useful for dimensions > 100s, in float32 on GPU. Can be ~25x faster for float32, 2x faster for float64. There is more error working in float32 than float64.

For dimensions not larger than a few 100, this will be slower.

About

PyTorch sampler for orthogonal and special orthogonal groups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published