8000 FPT: multidimensional tensor support · Issue #1800 · google/heir · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FPT: multidimensional tensor support #1800

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

Open
asraa opened this issue May 8, 2025 · 1 comment
Open

FPT: multidimensional tensor support #1800

asraa opened this issue May 8, 2025 · 1 comment

Comments

@asraa
Copy link
Collaborator
asraa commented May 8, 2025

@WoutLegiest

For the FPT code emission using --emit-tfhe-rust-bool, a memref<16x8x!tfhe_rust_bool.eb> is emitted as a Vec<Ciphertext> - should it be OK to use Vec<Vec<Ciphertext>>? The inner vecs are all the same size - but maybe this is a pain

@WoutLegiest
Copy link
Collaborator

Iirc, now, the memref are just flattend to one dimension. I dont see a problem to convert everything to the correct dimension.
Just keep in mind, that the packed API for the boolean emitter (for now) does take a one dimensional vector. If wanted, we can also change the packed API to take in higher dimension

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

2 participants
0