google / heir

A compiler for homomorphic encryption
https://heir.dev/
Apache License 2.0
350 stars 49 forks source link

Enable matmul diagonalization on any non-secret matrix (not just constant matrix) #1108

Open AlexanderViand-Intel opened 4 days ago

AlexanderViand-Intel commented 4 days ago

https://github.com/google/heir/blob/1e5cd7e281a53102af38f782cd7681fb765c9488/lib/Dialect/LinAlg/Conversions/LinalgToTensorExt/LinalgToTensorExt.cpp#L289-L295