Giter Club home page Giter Club logo

Comments (4)

youben11 avatar youben11 commented on May 23, 2024 1

Hi @Christopher-Wang and thanks for your input!

I just want to clarify your feature request, so by encrypted_vec.add_many() do you mean summing up the slots of the vector? like if you have a vector encrypting the vector [1, 2, 3], this method will result in a vector encrypting a single value ([6]), is that right?

from tenseal.

Christopher-Wang avatar Christopher-Wang commented on May 23, 2024 1

I do mean the feature in your last comment. Perfect thanks! I appreciate it.

from tenseal.

Christopher-Wang avatar Christopher-Wang commented on May 23, 2024

Yes. Similar to the Evaluator::multiply_many and Evaluator::add_many definitions in the SEAL 2.0 documentation. I also check and currently there is no way to encrypt a matrix therefore the matmul workaround is impossible. What steps do you think need to be followed to include that functionality?

from tenseal.

youben11 avatar youben11 commented on May 23, 2024

Evaluator::multiply_many and Evaluator::add_many actually do the operations on many ciphertexts in an element-wise fashion, and not on the slots of the same ciphertext.

If what you meant is the feature I described in my last comment, it shouldn't be a big deal to implement, it just wasn't a priority, but since there is a need for that, I can take a look at it and ping you when a PR is ready, you can also help us with reviews to let us know if the API for doing those operations looks good. Does this work for you?

from tenseal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.