Skip to content

Conversation

johnzl-777
Copy link
Collaborator

When the beta coefficient is either 0 or 1 there is some additional logic mul! uses to prevent invoking unnecessary multiplication of the coefficient against the output vectors pre-existing values.

This wasn't explicitly tested but this PR implements that. Credit to @weinbe58 for the idea.

@johnzl-777 johnzl-777 merged commit 686d992 into main Jan 13, 2023
@johnzl-777 johnzl-777 deleted the johnzl-777/test-beta-special-cases branch January 13, 2023 16:01
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