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
↓ 392 callers
Method
decrypt
tenseal/cpp/tensors/bfvtensor.cpp:95
↓ 167 callers
Method
tolist
Converts a plain tensor to a Python list. Returns: Python list.
tenseal/tensors/plaintensor.py:99
↓ 166 callers
Method
tenseal_context
* Get a pointer to the current TenSEAL context. **/
tenseal/cpp/tensors/encrypted_tensor.h:165
↓ 148 callers
Method
data
Get the wrapped low level TenSEALContext object
tenseal/enc_context.py:148
↓ 107 callers
Method
size
(self)
tenseal/tensors/bfvvector.py:41
↓ 99 callers
Method
shape
tenseal/cpp/tensors/bfvtensor.cpp:698
↓ 93 callers
Method
size
* Returns the size of the first dimension of the tensor. */
tenseal/cpp/tensors/plain_tensor.h:206
↓ 80 callers
Method
generate_galois_keys
(self, secret_key: SecretKey = None)
tenseal/enc_context.py:236
↓ 71 callers
Method
save
tenseal/cpp/tensors/bfvtensor.cpp:656
↓ 63 callers
Method
reshape
tenseal/cpp/tensors/bfvtensor.cpp:700
↓ 61 callers
Function
_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_ckks_vector.py:12
↓ 60 callers
Method
data
tenseal/cpp/tensors/bfvtensor.cpp:688
↓ 59 callers
Function
duplicate
tests/cpp/tensealcontext_test.cpp:10
↓ 54 callers
Method
context
Get the context linked to this tensor
tenseal/tensors/abstract_tensor.py:27
↓ 39 callers
Method
_wrap
Return a new tensor object wrapping the low level tensor object
tenseal/tensors/abstract_tensor.py:77
↓ 36 callers
Method
encrypt
tenseal/cpp/tensors/bfvtensor.cpp:65
↓ 34 callers
Method
copy
tenseal/cpp/tensors/bfvtensor.cpp:672
↓ 34 callers
Method
public_key
(self)
tenseal/enc_context.py:267
↓ 32 callers
Function
are_close
tests/cpp/tensors/ckkstensor_test.cpp:12
↓ 31 callers
Method
add
(self, other)
tenseal/tensors/bfvvector.py:75
↓ 28 callers
Method
link_tenseal_context
* Link to a TenSEAL context. **/
tenseal/cpp/tensors/encrypted_tensor.h:176
↓ 28 callers
Method
size
* Returns the size of the first dimension of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:272
↓ 27 callers
Method
begin
* Iterator utils **/
tenseal/cpp/tensors/plain_tensor.h:232
↓ 27 callers
Function
helper_encode
(scheme, ctx, test)
tests/python/sealapi/utils.py:49
↓ 26 callers
Method
_get_operand
(cls, other, dtype="int")
tenseal/tensors/bfvvector.py:58
↓ 26 callers
Method
global_scale
(self)
tenseal/enc_context.py:194
↓ 25 callers
Function
_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_serialization.py:7
↓ 25 callers
Method
secret_key
(self)
tenseal/enc_context.py:261
↓ 24 callers
Method
serialize
Serialize the context into a stream of bytes.
tenseal/enc_context.py:181
↓ 23 callers
Method
copy
(self)
tenseal/enc_context.py:160
↓ 23 callers
Method
encode
tenseal/cpp/context/tensealcontext.h:174
↓ 23 callers
Method
flat_size
tenseal/cpp/tensors/plain_tensor.h:207
↓ 23 callers
Method
shape_with_batch
tenseal/cpp/tensors/bfvtensor.cpp:689
↓ 22 callers
Method
has_relin_keys
(self)
tenseal/enc_context.py:244
↓ 22 callers
Method
has_secret_key
(self)
tenseal/enc_context.py:258
↓ 22 callers
Method
shape
tenseal/cpp/tensors/ckkstensor.cpp:736
↓ 21 callers
Method
add_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:295
↓ 20 callers
Method
scale
tenseal/cpp/tensors/ckkstensor.cpp:768
↓ 19 callers
Method
dot
(self, other)
tenseal/tensors/bfvvector.py:118
↓ 19 callers
Method
make_context_public
Drop secret part from the context. This is useful before sending the context for remote computation, as we don't want to send the secret-key t
tenseal/enc_context.py:285
↓ 19 callers
Method
polyval
Evaluate polynomial `coefficients[0] + coefficients[1] * self + .... coefficients[n] * self ^ n`
tenseal/tensors/abstract_tensor.py:173
↓ 18 callers
Method
ciphertext_size
* Return information about the ciphertext. **/
tenseal/cpp/tensors/encrypted_vector.h:64
↓ 17 callers
Function
ctx
(encryption_type)
tests/python/tenseal/test_serialization.py:9
↓ 17 callers
Method
seal_context
tenseal/cpp/context/tensealcontext.cpp:348
↓ 17 callers
Method
sum_inplace
tenseal/cpp/tensors/bfvtensor.cpp:322
↓ 16 callers
Function
is_close_enough
(out, expected)
tests/python/sealapi/utils.py:85
↓ 16 callers
Method
mul_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:305
↓ 16 callers
Method
power
* Compute the power of the EncryptedTensor<plain_data_t, encrypted_t> with *minimal multiplication depth. **/
tenseal/cpp/tensors/encrypted_tensor.h:58
↓ 16 callers
Method
reshape_inplace
tenseal/cpp/tensors/bfvtensor.cpp:703
↓ 16 callers
Method
size
* Return the size of the encrypted vector. **/
tenseal/cpp/tensors/encrypted_vector.h:56
↓ 16 callers
Method
sum
(self, axis=0)
tenseal/tensors/abstract_tensor.py:152
↓ 15 callers
Function
_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_ckks_tensor.py:28
↓ 15 callers
Method
add_inplace
tenseal/cpp/tensors/bfvtensor.cpp:280
↓ 15 callers
Function
are_close
tests/cpp/tensors/ckksvector_test.cpp:12
↓ 15 callers
Method
begin
* Iterator utils **/
tenseal/cpp/tensors/tensor_storage.h:289
↓ 15 callers
Method
empty
* empty() returns if the queue is empty or not. **/
tenseal/cpp/utils/queue.h:60
↓ 15 callers
Method
galois_keys
(self)
tenseal/enc_context.py:233
↓ 15 callers
Method
load
tenseal/cpp/tensors/bfvtensor.cpp:642
↓ 15 callers
Method
shape
* Returns the current shape of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:260
↓ 15 callers
Method
square
(self)
tenseal/tensors/abstract_tensor.py:159
↓ 14 callers
Method
deepcopy
tenseal/cpp/tensors/bfvtensor.cpp:678
↓ 14 callers
Function
helper_decode
(scheme, ctx, test)
tests/python/sealapi/utils.py:60
↓ 14 callers
Method
load
Construct a context from a serialized buffer. Args: data : bytes buffer from the original context. n_threads: define
tenseal/enc_context.py:167
↓ 14 callers
Method
mul_inplace
tenseal/cpp/tensors/bfvtensor.cpp:290
↓ 13 callers
Function
bfv_context
()
tests/python/tenseal/tensors/test_serialization.py:24
↓ 13 callers
Method
dispatch_jobs
tenseal/cpp/tensors/encrypted_tensor.h:275
↓ 13 callers
Method
end
tenseal/cpp/tensors/plain_tensor.h:234
↓ 13 callers
Method
end
tenseal/cpp/tensors/tensor_storage.h:291
↓ 13 callers
Method
relin_keys
(self)
tenseal/enc_context.py:247
↓ 12 callers
Method
add_plain
* Plain evaluation function operates on an encrypted tensors and plaintext * tensors and returns a new EncryptedTensor<plain_data_t, encrypted_t>
tenseal/cpp/tensors/encrypted_tensor.h:96
↓ 12 callers
Method
encrypt_zero
tenseal/cpp/context/tensealcontext.cpp:187
↓ 11 callers
Method
cbegin
tenseal/cpp/tensors/plain_tensor.h:233
↓ 11 callers
Method
empty
* Checks if the tensor is empty. */
tenseal/cpp/tensors/plain_tensor.h:211
↓ 11 callers
Method
has_galois_key
tenseal/cpp/context/tensealcontext.cpp:261
↓ 11 callers
Method
has_galois_keys
(self)
tenseal/enc_context.py:230
↓ 11 callers
Method
has_public_key
(self)
tenseal/enc_context.py:264
↓ 11 callers
Function
tmp_file
(cbk)
tests/python/sealapi/utils.py:90
↓ 10 callers
Method
at
* Returns the element at position {idx1, idx2, ..., idxn} in the current * shape * @param[in] desired position from the tensor. */
tenseal/cpp/tensors/plain_tensor.h:93
↓ 10 callers
Method
at
(self, index: List[int])
tenseal/tensors/plaintensor.py:79
↓ 10 callers
Method
auto_relin
* Relinearize the ciphertext if the context has automatic relinearization *enabled. **/
tenseal/cpp/tensors/encrypted_tensor.h:190
↓ 10 callers
Method
broadcast
tenseal/cpp/tensors/bfvtensor.cpp:710
↓ 10 callers
Function
ckks_context
()
tests/python/tenseal/tensors/test_serialization.py:18
↓ 10 callers
Function
helper_generate_evaluator
(ctx)
tests/python/sealapi/utils.py:69
↓ 10 callers
Function
proto_bytes_size
tenseal/cpp/utils/proto.h:7
↓ 10 callers
Method
square_
(self)
tenseal/tensors/abstract_tensor.py:162
↓ 10 callers
Method
strides
(self)
tenseal/tensors/plaintensor.py:86
↓ 10 callers
Method
sub_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:300
↓ 9 callers
Method
Create
tenseal/cpp/context/tensealcontext.cpp:127
↓ 9 callers
Method
auto_rescale
* Rescale the ciphertext, if the context has automatic rescaling enabled. **/
tenseal/cpp/tensors/encrypted_tensor.h:202
↓ 9 callers
Method
conv2d_im2col
(self, other, windows_nb)
tenseal/tensors/ckksvector.py:185
↓ 9 callers
Function
duplicate
tests/cpp/tensors/ckksvector_test.cpp:22
↓ 9 callers
Method
galois_keys
tenseal/cpp/context/tensealcontext.cpp:265
↓ 9 callers
Method
get
tenseal/cpp/context/tensealencoder.h:27
↓ 9 callers
Method
mm_
(self, other)
tenseal/tensors/bfvtensor.py:95
↓ 9 callers
Method
pack_vectors
(cls, vectors: List["BFVVector"])
tenseal/tensors/bfvvector.py:48
↓ 9 callers
Method
secret_key
tenseal/cpp/context/tensealcontext.cpp:239
↓ 9 callers
Method
size
(self)
tenseal/tensors/ckksvector.py:52
↓ 8 callers
Method
auto_same_mod
tenseal/cpp/tensors/encrypted_tensor.h:219
↓ 8 callers
Method
chunks
* Split the tensor in chunks * */
tenseal/cpp/tensors/plain_tensor.h:219
↓ 8 callers
Function
convert_size
(size_bytes)
tests/python/benchmarks/test_mnist_eval.py:19
next →
1–100 of 897, ranked by callers