Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of RNG sampling routines #613

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Improve performance of RNG sampling routines #613

wants to merge 4 commits into from

Conversation

aleju
Copy link
Owner

@aleju aleju commented Feb 16, 2020

This patch improves the speed at which samples are drawn from
gaussian distributions. The improvement is activate for matrices
with more than 2500 components (roughly 32x32x3 and above).
For large matrices (224x224x3 and above) the expected speedup is
up to 3x.

This patch also improves the performance of sampling using
RNG.uniform().
The speedup is activated for matrices with 12500+ components
and is around 2x for large images (224x224x3).

This patch improves the speed at which samples are drawn from
gaussian distributions. The improvement is activate for matrices
with more than 2500 components (roughly 32x32x3 and above).
For large matrices (224x224x3 and above) the expected speedup is
up to 3x.
This improves the performance of sampling using RNG.uniform().
The speedup is activated for matrices with 12500+ components
and is around 2x for large images (224x224x3).
This removes a few ":func:" tags in docstrings for functions
that pointed to numpy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant