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

rlwe: add polynomial approx for sigmoid functions #942

Closed
asraa opened this issue Aug 26, 2024 · 0 comments · Fixed by #955
Closed

rlwe: add polynomial approx for sigmoid functions #942

asraa opened this issue Aug 26, 2024 · 0 comments · Fixed by #955
Assignees

Comments

@asraa
Copy link
Collaborator

asraa commented Aug 26, 2024

https://eprint.iacr.org/2018/462.pdf

This paper uses a degree 3 polynomial approximation for sigmoid (useful in the interval [-5, 5]). It also has a degree 1 approximation with more loss, but it's there.

This would be useful to use for some NN models trained with sigmoids.

cc @lawrencekhlim

Related: #658

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 a pull request may close this issue.

3 participants
@asraa @lawrencekhlim and others