-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Get the max number of slots available #136
Comments
I can try and take this on.
Is this like a packed encoding? Where we do SIMD? |
We want to know the number of slots available if we used packing. We currently use the CKKSEncoder and BatchEncoder in the TenSEALEncoder, which both have a slot_counts method, we only need to bind that to the user so he can get that number. |
Is this issue still open? |
Yeah, it is |
@youben11 Can you assign this to me? |
@youben11 Thank you ! I'll start working up on this |
Is this issue still open? |
Yes, the issue is still open. |
Ok. Let me work on it. Thanks |
Great! Please let us know if you need any help on this. Thank you! |
Is there a switch that can set SIMD open or close? |
Feature Description
In both CKKS and BFV (when using the batchencoder), we can batch many values at a time, up to some extent, we want to provide an API endpoint (e.g.
.max_slots()
) to return this maximum value.What alternatives have you considered?
We can also add API endpoints for getting poly_mod_degree which we can infer the number of slots later depending on the scheme used, however, this requires some HE expertise, and a simple endpoint that doesn't require further computation might be simpler.
The text was updated successfully, but these errors were encountered: