Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMined/TenSEAL
/ functions
Functions
897 in github.com/OpenMined/TenSEAL
⨍
Functions
897
◇
Types & classes
42
↳
Endpoints
5
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
Method
add
* 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
Method
add
(self, other)
tenseal/tensors/ckkstensor.py:76
Method
add
(self, other)
tenseal/tensors/ckksvector.py:90
Method
add
(self, other)
tenseal/tensors/bfvtensor.py:50
Method
add_
(self, other)
tenseal/tensors/ckkstensor.py:81
Method
add_
(self, other)
tenseal/tensors/ckksvector.py:95
Method
add_
(self, other)
tenseal/tensors/bfvtensor.py:55
Method
auto_relin
tenseal/cpp/context/tensealcontext.cpp:368
Method
auto_rescale
tenseal/cpp/context/tensealcontext.cpp:378
Method
batch
* Return the vector representation batched by an axis. */
tenseal/cpp/tensors/tensor_storage.h:296
Function
bfv_tensor
Constructor function for tenseal.BFVTensor
tenseal/__init__.py:132
Function
bfv_tensor_from
Load a BFVTensor from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:137
Function
bfv_test
(input_size)
tests/python/benchmarks/test_ops.py:10
Function
bfv_vector
Constructor function for tenseal.BFVVector
tenseal/__init__.py:84
Function
bfv_vector_from
Load a BFVVector from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:89
Function
bind_plain_tensor
tenseal/binding.cpp:121
Function
bind_seal_pointer
tenseal/sealapi/sealapi_util_namespace.cpp:35
Function
bind_seal_serializable
tenseal/sealapi/sealapi.cpp:17
Method
broadcast
* Broadcast * **/
tenseal/cpp/tensors/plain_tensor.h:71
Method
broadcast
* Broadcast the TensorStorage. * @param[in] new shape. */
tenseal/cpp/tensors/tensor_storage.h:146
Method
broadcast
tenseal/cpp/tensors/ckkstensor.cpp:748
Method
broadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/ckkstensor.py:149
Method
broadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/plaintensor.py:120
Method
broadcast
Copies and tries to broadcast the internal representation to a new shape
tenseal/tensors/bfvtensor.py:123
Method
broadcast_
Tries to broadcast the internal representation to a new shape
tenseal/tensors/ckkstensor.py:154
Method
broadcast_
Tries to broadcast the internal representation to a new shape
tenseal/tensors/plaintensor.py:124
Method
broadcast_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
Method
cbegin
tenseal/cpp/tensors/tensor_storage.h:290
Method
cend
tenseal/cpp/tensors/tensor_storage.h:292
Method
chunks
* Split the internal storage in 1D chunks of max_size maximum size. * */
tenseal/cpp/tensors/tensor_storage.h:351
Method
ciphertext
(self)
tenseal/tensors/ckkstensor.py:51
Method
ciphertext
(self)
tenseal/tensors/ckksvector.py:59
Method
ciphertext
(self)
tenseal/tensors/bfvtensor.py:43
Function
ckks_tensor
Constructor function for tenseal.CKKSTensor
tenseal/__init__.py:116
Function
ckks_tensor_from
Load a CKKSTensor from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:121
Function
ckks_test
(input_size, n_threads=None)
tests/python/benchmarks/test_ops.py:26
Function
ckks_vector
Constructor function for tenseal.CKKSVector
tenseal/__init__.py:100
Function
ckks_vector_from
Load a CKKSVector from a protocol buffer. Requires the context to be linked with.
tenseal/__init__.py:105
Function
context
Constructor function for tenseal.Context
tenseal/__init__.py:63
Function
context
()
tests/python/tenseal/tensors/test_ckks_tensor.py:45
Function
context
()
tests/python/tenseal/tensors/test_bfv_vector.py:11
Function
context
()
tests/python/tenseal/tensors/test_bfv_tensor.py:23
Function
context
()
tests/python/tenseal/tensors/test_ckks_vector.py:24
Function
context_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
Method
conv2d_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
Method
conv2d_im2col_inplace
tenseal/cpp/tensors/ckksvector.cpp:441
Method
copy
tenseal/cpp/context/tensealcontext.cpp:596
Function
create_context
tenseal/cpp/context/sealcontext.cpp:44
Method
create_encoder
tenseal/cpp/context/tensealencoder.h:123
Method
data
Get the wrapped low level key object
tenseal/enc_context.py:38
Method
data
Get the wrapped low level tensor object
tenseal/tensors/abstract_tensor.py:9
Method
data_ref
* Returns a reference to the internal representation of the * tensor. */
tenseal/cpp/tensors/tensor_storage.h:249
Method
decode
tenseal/cpp/context/tensealencoder.h:91
Method
decrypt
tenseal/cpp/context/tensealcontext.cpp:209
Method
decrypt
* Decrypts and returns the plaintext representation of the encrypted tensor *of real numbers using the secret-key. **/
tenseal/cpp/tensors/encrypted_tensor.h:32
Method
decrypt
tenseal/cpp/tensors/bfvvector.cpp:88
Method
decrypt
tenseal/cpp/tensors/ckkstensor.cpp:117
Method
decrypt
tenseal/cpp/tensors/ckksvector.cpp:95
Method
decrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/ckkstensor.py:54
Method
decrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/ckksvector.py:49
Method
decrypt
(self, secret_key: "ts.enc_context.SecretKey" = None)
tenseal/tensors/bfvtensor.py:46
Function
deep_copy
(ctx)
tests/python/tenseal/test_serialization.py:13
Function
deep_copy
(vec)
tests/python/tenseal/tensors/test_serialization.py:34
Method
deepcopy
tenseal/cpp/tensors/bfvvector.cpp:501
Method
deepcopy
tenseal/cpp/tensors/ckkstensor.cpp:716
Method
deepcopy
tenseal/cpp/tensors/ckksvector.cpp:634
← previous
next →
401–500 of 897, ranked by callers