MCPcopy Create free account

hub / github.com/OpenMined/TenSEAL / functions

Functions897 in github.com/OpenMined/TenSEAL

Method__copy__
(self)
tenseal/tensors/abstract_tensor.py:24
Method__iadd__
(self, other)
tenseal/tensors/abstract_tensor.py:109
Method__imatmul__
(self, other)
tenseal/tensors/ckkstensor.py:129
Method__imatmul__
(self, *args, **kwargs)
tenseal/tensors/ckksvector.py:171
Method__imatmul__
(self, other)
tenseal/tensors/bfvtensor.py:103
Method__imul__
(self, other)
tenseal/tensors/abstract_tensor.py:118
Method__init__
(self, name, sourcedir="")
setup.py:25
Method__init__
(self, data)
tenseal/enc_context.py:34
Method__init__
Construct a context that holds keys and parameters needed for operating encrypted tensors using either BFV or CKKS scheme. Args:
tenseal/enc_context.py:90
Method__init__
Constructor method for the BFVVector object, which can store a vector of integers in encrypted form, using the BFV homomorphic encryption sche
tenseal/tensors/bfvvector.py:9
Method__init__
Constructor method for the CKKSTensor object, which can store an n-dimensional float tensor in encrypted form, using the CKKS homomorphic encr
tenseal/tensors/ckkstensor.py:10
Method__init__
Constructor method for the CKKSVector object, which can store a vector of float numbers in encrypted form, using the CKKS homomorphic encrypti
tenseal/tensors/ckksvector.py:9
Method__init__
Constructor method for the PlainTensor object. Args: tensor: tensor-like object. shape: replace the shape learned from
tenseal/tensors/plaintensor.py:9
Method__init__
Constructor method for the BFVTensor object, which can store an n-dimensional int tensor in encrypted form, using the BFV homomorphic encrypti
tenseal/tensors/bfvtensor.py:10
Method__init__
(self, parameters: Dict[str, list])
tests/python/benchmarks/test_mnist_eval.py:63
Method__ipow__
(self, power)
tenseal/tensors/abstract_tensor.py:139
Method__isub__
(self, other)
tenseal/tensors/abstract_tensor.py:127
Method__len__
(self)
tenseal/tensors/plaintensor.py:96
Method__matmul__
(self, other)
tenseal/tensors/ckkstensor.py:126
Method__matmul__
(self, *args, **kwargs)
tenseal/tensors/ckksvector.py:168
Method__matmul__
(self, other)
tenseal/tensors/bfvtensor.py:100
Method__mul__
(self, other)
tenseal/tensors/abstract_tensor.py:115
Method__neg__
(self)
tenseal/tensors/abstract_tensor.py:142
Method__pow__
(self, power)
tenseal/tensors/abstract_tensor.py:136
Method__radd__
(self, other)
tenseal/tensors/abstract_tensor.py:112
Method__rmul__
(self, other)
tenseal/tensors/abstract_tensor.py:121
Method__rsub__
(self, other)
tenseal/tensors/abstract_tensor.py:130
Method__sub__
(self, other)
tenseal/tensors/abstract_tensor.py:124
Method_add_inplace
Private overlaod functions to call the right implementation depending on the parameter */
tenseal/cpp/tensors/bfvtensor.h:150
Method_add_inplace
Private overlaod functions to call the right implementation depending on the parameter */
tenseal/cpp/tensors/ckkstensor.h:156
Method_get_operand
Extract the appropriate operand the tensor can operate with
tenseal/tensors/abstract_tensor.py:92
Method_sub_inplace
tenseal/cpp/tensors/bfvtensor.h:153
Method_sub_inplace
tenseal/cpp/tensors/ckkstensor.h:159
Method_wrap
Return a new key object wrapping the low level key object
tenseal/enc_context.py:53
Methodadd
* Encrypted evaluation function operates on two encrypted tensors and * returns a new EncryptedTensor<plain_data_t, encrypted_t> *which is t
tenseal/cpp/tensors/encrypted_tensor.h:69
Methodadd
(self, other)
tenseal/tensors/ckkstensor.py:76
Methodadd
(self, other)
tenseal/tensors/ckksvector.py:90
Methodadd
(self, other)
tenseal/tensors/bfvtensor.py:50
Methodadd_
(self, other)
tenseal/tensors/ckkstensor.py:81
Methodadd_
(self, other)
tenseal/tensors/ckksvector.py:95
Methodadd_
(self, other)
tenseal/tensors/bfvtensor.py:55
Methodauto_relin
tenseal/cpp/context/tensealcontext.cpp:368
Methodauto_rescale
tenseal/cpp/context/tensealcontext.cpp:378
Methodbatch
* Return the vector representation batched by an axis. */
tenseal/cpp/tensors/tensor_storage.h:296
Functionbfv_tensor
Constructor function for tenseal.BFVTensor
tenseal/__init__.py:132
Functionbfv_tensor_from
Load a BFVTensor from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:137
Functionbfv_test
(input_size)
tests/python/benchmarks/test_ops.py:10
Functionbfv_vector
Constructor function for tenseal.BFVVector
tenseal/__init__.py:84
Functionbfv_vector_from
Load a BFVVector from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:89
Functionbind_plain_tensor
tenseal/binding.cpp:121
Functionbind_seal_pointer
tenseal/sealapi/sealapi_util_namespace.cpp:35
Functionbind_seal_serializable
tenseal/sealapi/sealapi.cpp:17
Methodbroadcast
* Broadcast * **/
tenseal/cpp/tensors/plain_tensor.h:71
Methodbroadcast
* Broadcast the TensorStorage. * @param[in] new shape. */
tenseal/cpp/tensors/tensor_storage.h:146
Methodbroadcast
tenseal/cpp/tensors/ckkstensor.cpp:748
Methodbroadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/ckkstensor.py:149
Methodbroadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/plaintensor.py:120
Methodbroadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/bfvtensor.py:123
Methodbroadcast_
Tries to broadcast the internal representation to a new shape
tenseal/tensors/ckkstensor.py:154
Methodbroadcast_
Tries to broadcast the internal representation to a new shape
tenseal/tensors/plaintensor.py:124
Methodbroadcast_or_throw
* Adjust two vectors to match sizes. * @return the right operand, in case it was copied and altered. **/
tenseal/cpp/tensors/encrypted_vector.h:83
Methodcbegin
tenseal/cpp/tensors/tensor_storage.h:290
Methodcend
tenseal/cpp/tensors/tensor_storage.h:292
Methodchunks
* Split the internal storage in 1D chunks of max_size maximum size. * */
tenseal/cpp/tensors/tensor_storage.h:351
Methodciphertext
(self)
tenseal/tensors/ckkstensor.py:51
Methodciphertext
(self)
tenseal/tensors/ckksvector.py:59
Methodciphertext
(self)
tenseal/tensors/bfvtensor.py:43
Functionckks_tensor
Constructor function for tenseal.CKKSTensor
tenseal/__init__.py:116
Functionckks_tensor_from
Load a CKKSTensor from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:121
Functionckks_test
(input_size, n_threads=None)
tests/python/benchmarks/test_ops.py:26
Functionckks_vector
Constructor function for tenseal.CKKSVector
tenseal/__init__.py:100
Functionckks_vector_from
Load a CKKSVector from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:105
Functioncontext
Constructor function for tenseal.Context
tenseal/__init__.py:63
Functioncontext
()
tests/python/tenseal/tensors/test_ckks_tensor.py:45
Functioncontext
()
tests/python/tenseal/tensors/test_bfv_vector.py:11
Functioncontext
()
tests/python/tenseal/tensors/test_bfv_tensor.py:23
Functioncontext
()
tests/python/tenseal/tensors/test_ckks_vector.py:24
Functioncontext_from
Load a Context from a protocol buffer. n_threads set the concurrency for the context if parallel computation is requested.
tenseal/__init__.py:68
Methodconv2d_im2col
* Image Block to Columns. * The input matrix should be encoded in a vertical scan (column-major). * The kernel vector should be padded with
tenseal/cpp/tensors/encrypted_vector.h:113
Methodconv2d_im2col_inplace
tenseal/cpp/tensors/ckksvector.cpp:441
Methodcopy
tenseal/cpp/context/tensealcontext.cpp:596
Functioncreate_context
tenseal/cpp/context/sealcontext.cpp:44
Methodcreate_encoder
tenseal/cpp/context/tensealencoder.h:123
Methoddata
Get the wrapped low level key object
tenseal/enc_context.py:38
Methoddata
Get the wrapped low level tensor object
tenseal/tensors/abstract_tensor.py:9
Methoddata_ref
* Returns a reference to the internal representation of the * tensor. */
tenseal/cpp/tensors/tensor_storage.h:249
Methoddecode
tenseal/cpp/context/tensealencoder.h:91
Methoddecrypt
tenseal/cpp/context/tensealcontext.cpp:209
Methoddecrypt
* Decrypts and returns the plaintext representation of the encrypted tensor *of real numbers using the secret-key. **/
tenseal/cpp/tensors/encrypted_tensor.h:32
Methoddecrypt
tenseal/cpp/tensors/bfvvector.cpp:88
Methoddecrypt
tenseal/cpp/tensors/ckkstensor.cpp:117
Methoddecrypt
tenseal/cpp/tensors/ckksvector.cpp:95
Methoddecrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/ckkstensor.py:54
Methoddecrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/ckksvector.py:49
Methoddecrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/bfvtensor.py:46
Functiondeep_copy
(ctx)
tests/python/tenseal/test_serialization.py:13
Functiondeep_copy
(vec)
tests/python/tenseal/tensors/test_serialization.py:34
Methoddeepcopy
tenseal/cpp/tensors/bfvvector.cpp:501
Methoddeepcopy
tenseal/cpp/tensors/ckkstensor.cpp:716
Methoddeepcopy
tenseal/cpp/tensors/ckksvector.cpp:634
← previousnext →401–500 of 897, ranked by callers