MCPcopy Create free account
hub / github.com/OpenMined/TenSEAL / encode

Method encode

tenseal/cpp/context/tensealencoder.h:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 */
47 template <class T>
48 void encode(const gsl::span<const int64_t>& vec, Plaintext& pt) {
49 auto encoder = this->get<T>();
50 encoder->encode(vec, pt);
51 }
52 template <class T>
53 void encode(const vector<int64_t>& vec, Plaintext& pt) {
54 auto encoder = this->get<T>();

Callers

nothing calls this directly

Calls 1

slot_countMethod · 0.45

Tested by

no test coverage detected