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

Cpp library improvements #167

Merged
merged 38 commits into from
Nov 24, 2020
Merged

Cpp library improvements #167

merged 38 commits into from
Nov 24, 2020

Conversation

bcebere
Copy link
Member

@bcebere bcebere commented Nov 24, 2020

Description

  • PlainTensor iterator support
  • Move some duplicated code to EncryptedTensor interface

Checklist

@bcebere bcebere requested a review from youben11 November 24, 2020 11:59
Copy link
Member

@youben11 youben11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks amazing!

@youben11 youben11 merged commit 2c976f0 into master Nov 24, 2020
@delete-merged-branch delete-merged-branch bot deleted the cpp_library_improvements branch November 24, 2020 13:39
pierreeliseeflory pushed a commit to pierreeliseeflory/TenSEAL that referenced this pull request Apr 27, 2022
* WIP: use shared_ptr for tensor API

* WIP: use shared_ptr for tensors API

* WIP: use shared_ptr in tensor API

* update some tests

* update tests

* add tenseal.h library header

* initial tensor interface

* update tests

* move common logic to tensor.cpp

* update cmake file

* port bfvvector to encrypted tensor too

* move encrypt to cpp

* update tests

* update ctx settings for BFV

* update pack_vectors

* add protected fields

* tensor -> vector

* update cpp tests

* templated encrypted vector

* rework Create flow

* cleanup create flow

* rename files

* lint

* add encrypted tensor interface

* cleanup encrypted_vector interface, every inplace op is implemented in the derived class

* cleanup interfaces

* API cleanup

* add plain_tensor

* remove unecessary copies
Fixes OpenMined#154

* update some docs

* docs + cleanup

* use const ref everywhere

* some cleanup

* add iterator support for PlainTensor

* remove duplicated decrypt code

* use the new tensor
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

Successfully merging this pull request may close these issues.

2 participants