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

Troubles accessing actual ciphertext (attribute "parts") from helib::Ctxt #475

Open
lutonelli opened this issue May 9, 2022 · 0 comments

Comments

@lutonelli
Copy link

I'd like to access directly to the numbers composing the ciphertext Ctxt, but reading the documentation I can't seem to find anything that can help me.

I have an object Ctxt containing the ciphertext of a vector representing an image; I understand that the real ciphertext is stored in the attribute "parts" of the object, but there is no getter method to access this attribute.

I need these numbers in order to create a torch::Tensor and train a neural network, obviously there is no direct method to convert an object of type helib::Ctxt to a torch::Tensor.

What am I missing? Thanks in advance for the help.

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

No branches or pull requests

1 participant