MCPcopy Create free account

hub / github.com/OpenMined/TenSEAL / functions

Functions897 in github.com/OpenMined/TenSEAL

Methoddismiss
tenseal/cpp/utils/scope.h:26
Methoddispatch_jobs
tenseal/cpp/tensors/encrypted_vector.h:260
Methoddot
tenseal/cpp/tensors/encrypted_tensor.h:81
Methoddot
(self, other)
tenseal/tensors/ckkstensor.py:106
Methoddot
(self, other)
tenseal/tensors/ckksvector.py:133
Methoddot
(self, other)
tenseal/tensors/bfvtensor.py:80
Methoddot_
(self, other)
tenseal/tensors/ckkstensor.py:111
Methoddot_
(self, other)
tenseal/tensors/ckksvector.py:137
Methoddot_
(self, other)
tenseal/tensors/bfvtensor.py:85
Methoddot_inplace
tenseal/cpp/tensors/bfvvector.cpp:213
Methoddot_inplace
tenseal/cpp/tensors/ckkstensor.cpp:455
Methoddot_inplace
tenseal/cpp/tensors/ckksvector.cpp:229
Methoddot_plain_inplace
tenseal/cpp/tensors/bfvvector.cpp:221
Methoddot_plain_inplace
tenseal/cpp/tensors/ckkstensor.cpp:498
Methoddot_plain_inplace
tenseal/cpp/tensors/ckksvector.cpp:237
Methoddtype
(self)
tenseal/tensors/plaintensor.py:58
Methodempty
(self)
tenseal/tensors/plaintensor.py:89
Functionenc_matmul_encoding
Encode a matrix into a CKKSVector for later matrix(encrypted)-vector(plain) multiplication. Args: context: a Context object, holding the
tenseal/__init__.py:43
Methodenc_matmul_plain
* Encrypted Matrix multiplication with plain vector. **/
tenseal/cpp/tensors/encrypted_vector.h:102
Methodencode
tenseal/cpp/context/tensealencoder.h:48
Methodencrypt
tenseal/cpp/context/tensealcontext.cpp:176
Methodencrypt
tenseal/cpp/tensors/bfvvector.cpp:67
Methodencrypt
tenseal/cpp/tensors/ckkstensor.cpp:87
Methodencrypt
tenseal/cpp/tensors/ckksvector.cpp:74
Methodencryptor
(self)
tenseal/enc_context.py:279
Methodflat_at
tenseal/cpp/tensors/tensor_storage.h:183
Methodflat_size
tenseal/cpp/tensors/tensor_storage.h:273
Methodget_encoder
tenseal/cpp/context/tensealencoder.h:140
Methodglobal_scale
TODO: check set scale if possible with current primes used and warn the user if it doesn't. Example: if using coeff_mod_bit_size of [60,40,40,60], the
tenseal/cpp/context/tensealencoder.h:109
Methodhas_encoder
tenseal/cpp/context/tensealencoder.h:133
Methodhas_public_key
tenseal/cpp/context/tensealcontext.cpp:221
Methodhas_relin_keys
tenseal/cpp/context/tensealcontext.cpp:248
Methodhas_secret_key
tenseal/cpp/context/tensealcontext.cpp:236
Functionhelper_perf
(op, left, right, opt=None)
tests/python/benchmarks/test_ops.py:35
Methodhorizontal_scan
* Returns the horizontal view of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:222
Functionim2col_encoding
Encoding an image into a CKKSVector. This serves for doing efficient Conv2d evaluation. Args: context: a Context object, holding the encr
tenseal/__init__.py:14
Functioninternal_copy
(ctx)
tests/python/tenseal/test_serialization.py:21
Functioninternal_copy
(vec)
tests/python/tenseal/tensors/test_serialization.py:42
Methodis_private
tenseal/cpp/context/tensealcontext.cpp:346
Functionlazy_bfv_tensor_from
Load a BFVTensor from a protocol buffer
tenseal/__init__.py:143
Functionlazy_bfv_vector_from
Load a BFVVector from a protocol buffer.
tenseal/__init__.py:95
Functionlazy_ckks_tensor_from
Load a CKKSTensor from a protocol buffer
tenseal/__init__.py:127
Functionlazy_ckks_vector_from
Load a CKKSVector from a protocol buffer.
tenseal/__init__.py:111
Methodload
Constructor method for the tensor object from a serialized string. Args: data: the serialized data. dtype: un
tenseal/tensors/plaintensor.py:140
Methodload
Constructor method for the tensor object from a serialized protobuffer. Args: context: a context, holding the encryption
tenseal/tensors/abstract_tensor.py:40
Methodmake_context_public
tenseal/cpp/context/tensealcontext.cpp:314
Methodmatmul
tenseal/cpp/tensors/encrypted_tensor.h:85
Methodmatmul_
(self, *args, **kwargs)
tenseal/tensors/ckksvector.py:165
Methodmatmul_inplace
* Encrypted Vector multiplication with encrypted matrix. **/
tenseal/cpp/tensors/bfvvector.h:64
Methodmatmul_inplace
* Encrypted Vector multiplication with encrypted matrix. **/
tenseal/cpp/tensors/ckksvector.h:61
Methodmatmul_plain_inplace
tenseal/cpp/tensors/bfvvector.cpp:348
Methodmatmul_plain_inplace
tenseal/cpp/tensors/ckksvector.cpp:374
Methodmul
tenseal/cpp/tensors/encrypted_tensor.h:77
Methodmul
(self, other)
tenseal/tensors/ckkstensor.py:86
Methodmul
(self, other)
tenseal/tensors/ckksvector.py:100
Methodmul
(self, other)
tenseal/tensors/bfvtensor.py:60
Methodmul_
(self, other)
tenseal/tensors/ckkstensor.py:91
Methodmul_
(self, other)
tenseal/tensors/ckksvector.py:105
Methodmul_
(self, other)
tenseal/tensors/bfvtensor.py:65
Methodnegate
* Negates a EncryptedTensor<plain_data_t, encrypted_t>. **/
tenseal/cpp/tensors/encrypted_tensor.h:47
Methodnegate_inplace
tenseal/cpp/tensors/bfvvector.cpp:141
Methodnegate_inplace
tenseal/cpp/tensors/ckkstensor.cpp:152
Methodnegate_inplace
tenseal/cpp/tensors/ckksvector.cpp:148
Functionop
()
tests/python/benchmarks/test_mnist_eval.py:117
Methodoperator=
tenseal/cpp/utils/scope.h:29
Functionpack_vectors
tenseal/cpp/tensors/utils/utils.h:61
Methodpack_vectors
(cls, vectors: List["CKKSVector"])
tenseal/tensors/ckksvector.py:63
Functionparallel_context
(n_threads)
tests/python/tenseal/tensors/test_ckks_tensor.py:51
Functionparallel_context
(n_threads)
tests/python/tenseal/tensors/test_bfv_tensor.py:28
Functionparams
()
tests/python/benchmarks/test_mnist_eval.py:105
Functionplain_tensor_from
Load a PlainTensor from a buffer.
tenseal/__init__.py:79
Methodpolyval
* Polynomial evaluation with `this` as variable. * p(x) = coefficients[0] + coefficients[1] * x + ... + coefficients[i] * *x^i **/
tenseal/cpp/tensors/encrypted_tensor.h:145
Methodpolyval
* Polynomial evaluation with `this` as variable. * p(x) = coefficients[0] + coefficients[1] * x + ... + coefficients[i] * *x^i **/
tenseal/cpp/tensors/encrypted_vector.h:139
Methodpolyval_
(self, coefficients: Union[List[float], List[int]])
tenseal/tensors/abstract_tensor.py:179
Methodpolyval_inplace
tenseal/cpp/tensors/bfvvector.cpp:353
Methodpolyval_inplace
tenseal/cpp/tensors/ckkstensor.cpp:403
Methodpolyval_inplace
tenseal/cpp/tensors/ckksvector.cpp:387
Methodposition
* Converts integer to position. * @param[in] . */
tenseal/cpp/tensors/tensor_storage.h:192
Methodpower_inplace
tenseal/cpp/tensors/bfvvector.cpp:112
Methodpower_inplace
tenseal/cpp/tensors/ckkstensor.cpp:167
Methodpower_inplace
tenseal/cpp/tensors/ckksvector.cpp:119
Functionprecision
()
tests/python/tenseal/tensors/test_ckks_tensor.py:61
Functionprecision
()
tests/python/tenseal/tensors/test_serialization.py:30
Functionprecision
()
tests/python/tenseal/tensors/test_bfv_tensor.py:35
Functionprecision
()
tests/python/tenseal/tensors/test_ckks_vector.py:40
Methodraw
Returns the internal representation of the tensor
tenseal/tensors/plaintensor.py:53
Functionrecreate
(ctx)
tests/python/tenseal/test_serialization.py:25
Functionrecreate_bfv
(vec)
tests/python/tenseal/tensors/test_serialization.py:56
Functionrecreate_ckks
(vec)
tests/python/tenseal/tensors/test_serialization.py:46
Functionrecreate_ckks_tensor
(vec)
tests/python/tenseal/tensors/test_serialization.py:51
Methodrepeat_value
tenseal/cpp/tensors/plain_tensor.h:245
Methodrepeat_value
tenseal/cpp/tensors/tensor_storage.h:362
Methodreplicate
* Replicates the internal representation for <times> elements. */
tenseal/cpp/tensors/tensor_storage.h:332
Methodreplicate_first_slot_inplace
tenseal/cpp/tensors/ckksvector.cpp:519
Methodreshape
* Reshape the tensor * **/
tenseal/cpp/tensors/plain_tensor.h:61
Methodreshape
Copies and changes the internal representation to a new tensor
tenseal/tensors/ckkstensor.py:139
Methodreshape
Copies and changes the internal representation to a new tensor
tenseal/tensors/bfvtensor.py:113
Methodreshape_
Changes the internal representation to a new shape
tenseal/tensors/ckkstensor.py:144
Methodreshape_
Changes the internal representation to a new shape
tenseal/tensors/plaintensor.py:115
Methodrow
* Returns iterator to row. * @param[in] desired row. */
tenseal/cpp/tensors/tensor_storage.h:215
← previousnext →501–600 of 897, ranked by callers