Comments (1)
You have a mistake in how you are using std::vector
. Namely, the constructor you are using initializes your vector with 4*t
empty ciphertexts, but this isn't what you are hoping to do, because now you're appending to that with std::vector<T>::push_back
, so you end up calling Evaluator::sub
on empty ciphertexts. Hence, it complains the parameters are not valid for this operation.
Instead, for each of the three matrices, use:
vector<Ciphertext> matrix;
matrix.reserve(4*t);
from seal.
Related Issues (20)
- No template named 'unique_lock‘ in namespace 'std', /native/src/seal/util/locks.h HOT 1
- how to debug SEAL in VS Code?
- Any plans for supporting more operations
- FileNotFoundException for 'SEALNet' assembly when running Dockerized .NET app on Debian 11 (i.MX8) HOT 1
- Errors when using Microsoft SEAL installed with vcpkg
- Error when building native/examples. HOT 1
- Build error: multiple definition of `std::placeholders::_1` and `std::placeholders::_2` HOT 1
- error C2059: syntax error: ';'
- Is it possible to get the sum of slots in a batch ciphertext?
- Inconsistent results with insufficient multiplicative depth
- CKKS accuracy difference 16k vs 32k poly modulus
- FHE.Bscale function in BFV scheme
- plain is not valid for encryption parameters
- Maths behind switching level in CKKS
- How to set SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT=OFF for vcpkg installation
- Relinearization for smaller N sizes
- Logistic Regression with BFV scheme
- The reserve function can judge before allocating
- CMake Error: Could Not Find Configuration File for Package "SEAL" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seal.