Closed Samirakamali closed 1 year ago
Hi Samira, maybe this issue can help you find the solution. I understood that you are trying to encrypt each individual element in the vector (i.e., weight
) which somehow is overkill and increase your time performance. Instead, you can find out how efficient approach is encrypting for instance a 2-D matrix once (i.e, SIMD feature in CKKS scheme).
As hinted by @ShokofehVS , this issue has already been addressed (#151). Version 2 of the library was encrypting individual elements in a very inefficient manner. Version 3+ only encrypts vectors of values. Your code will have to adapt in order to use it, feel free to take a look at the examples in the repo.
Description Hi. I am would like to use Pyfhel 3.4.1 for my project. I were using Pyfhel 2.3.1 on colab and everything was ok,however after updating colab, It dosent work. After using other version i have encountered following error on this part of my work. how can I fix it?
Setup: