MCPcopy Create free account

hub / github.com/OpenMined/TenSEAL / functions

Functions897 in github.com/OpenMined/TenSEAL

↓ 392 callersMethoddecrypt
tenseal/cpp/tensors/bfvtensor.cpp:95
↓ 167 callersMethodtolist
Converts a plain tensor to a Python list. Returns: Python list.
tenseal/tensors/plaintensor.py:99
↓ 166 callersMethodtenseal_context
* Get a pointer to the current TenSEAL context. **/
tenseal/cpp/tensors/encrypted_tensor.h:165
↓ 148 callersMethoddata
Get the wrapped low level TenSEALContext object
tenseal/enc_context.py:148
↓ 107 callersMethodsize
(self)
tenseal/tensors/bfvvector.py:41
↓ 99 callersMethodshape
tenseal/cpp/tensors/bfvtensor.cpp:698
↓ 93 callersMethodsize
* Returns the size of the first dimension of the tensor. */
tenseal/cpp/tensors/plain_tensor.h:206
↓ 80 callersMethodgenerate_galois_keys
(self, secret_key: SecretKey = None)
tenseal/enc_context.py:236
↓ 71 callersMethodsave
tenseal/cpp/tensors/bfvtensor.cpp:656
↓ 63 callersMethodreshape
tenseal/cpp/tensors/bfvtensor.cpp:700
↓ 61 callersFunction_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_ckks_vector.py:12
↓ 60 callersMethoddata
tenseal/cpp/tensors/bfvtensor.cpp:688
↓ 59 callersFunctionduplicate
tests/cpp/tensealcontext_test.cpp:10
↓ 54 callersMethodcontext
Get the context linked to this tensor
tenseal/tensors/abstract_tensor.py:27
↓ 39 callersMethod_wrap
Return a new tensor object wrapping the low level tensor object
tenseal/tensors/abstract_tensor.py:77
↓ 36 callersMethodencrypt
tenseal/cpp/tensors/bfvtensor.cpp:65
↓ 34 callersMethodcopy
tenseal/cpp/tensors/bfvtensor.cpp:672
↓ 34 callersMethodpublic_key
(self)
tenseal/enc_context.py:267
↓ 32 callersFunctionare_close
tests/cpp/tensors/ckkstensor_test.cpp:12
↓ 31 callersMethodadd
(self, other)
tenseal/tensors/bfvvector.py:75
↓ 28 callersMethodlink_tenseal_context
* Link to a TenSEAL context. **/
tenseal/cpp/tensors/encrypted_tensor.h:176
↓ 28 callersMethodsize
* Returns the size of the first dimension of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:272
↓ 27 callersMethodbegin
* Iterator utils **/
tenseal/cpp/tensors/plain_tensor.h:232
↓ 27 callersFunctionhelper_encode
(scheme, ctx, test)
tests/python/sealapi/utils.py:49
↓ 26 callersMethod_get_operand
(cls, other, dtype="int")
tenseal/tensors/bfvvector.py:58
↓ 26 callersMethodglobal_scale
(self)
tenseal/enc_context.py:194
↓ 25 callersFunction_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_serialization.py:7
↓ 25 callersMethodsecret_key
(self)
tenseal/enc_context.py:261
↓ 24 callersMethodserialize
Serialize the context into a stream of bytes.
tenseal/enc_context.py:181
↓ 23 callersMethodcopy
(self)
tenseal/enc_context.py:160
↓ 23 callersMethodencode
tenseal/cpp/context/tensealcontext.h:174
↓ 23 callersMethodflat_size
tenseal/cpp/tensors/plain_tensor.h:207
↓ 23 callersMethodshape_with_batch
tenseal/cpp/tensors/bfvtensor.cpp:689
↓ 22 callersMethodhas_relin_keys
(self)
tenseal/enc_context.py:244
↓ 22 callersMethodhas_secret_key
(self)
tenseal/enc_context.py:258
↓ 22 callersMethodshape
tenseal/cpp/tensors/ckkstensor.cpp:736
↓ 21 callersMethodadd_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:295
↓ 20 callersMethodscale
tenseal/cpp/tensors/ckkstensor.cpp:768
↓ 19 callersMethoddot
(self, other)
tenseal/tensors/bfvvector.py:118
↓ 19 callersMethodmake_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 callersMethodpolyval
Evaluate polynomial `coefficients[0] + coefficients[1] * self + .... coefficients[n] * self ^ n`
tenseal/tensors/abstract_tensor.py:173
↓ 18 callersMethodciphertext_size
* Return information about the ciphertext. **/
tenseal/cpp/tensors/encrypted_vector.h:64
↓ 17 callersFunctionctx
(encryption_type)
tests/python/tenseal/test_serialization.py:9
↓ 17 callersMethodseal_context
tenseal/cpp/context/tensealcontext.cpp:348
↓ 17 callersMethodsum_inplace
tenseal/cpp/tensors/bfvtensor.cpp:322
↓ 16 callersFunctionis_close_enough
(out, expected)
tests/python/sealapi/utils.py:85
↓ 16 callersMethodmul_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:305
↓ 16 callersMethodpower
* Compute the power of the EncryptedTensor<plain_data_t, encrypted_t> with *minimal multiplication depth. **/
tenseal/cpp/tensors/encrypted_tensor.h:58
↓ 16 callersMethodreshape_inplace
tenseal/cpp/tensors/bfvtensor.cpp:703
↓ 16 callersMethodsize
* Return the size of the encrypted vector. **/
tenseal/cpp/tensors/encrypted_vector.h:56
↓ 16 callersMethodsum
(self, axis=0)
tenseal/tensors/abstract_tensor.py:152
↓ 15 callersFunction_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/tensors/test_ckks_tensor.py:28
↓ 15 callersMethodadd_inplace
tenseal/cpp/tensors/bfvtensor.cpp:280
↓ 15 callersFunctionare_close
tests/cpp/tensors/ckksvector_test.cpp:12
↓ 15 callersMethodbegin
* Iterator utils **/
tenseal/cpp/tensors/tensor_storage.h:289
↓ 15 callersMethodempty
* empty() returns if the queue is empty or not. **/
tenseal/cpp/utils/queue.h:60
↓ 15 callersMethodgalois_keys
(self)
tenseal/enc_context.py:233
↓ 15 callersMethodload
tenseal/cpp/tensors/bfvtensor.cpp:642
↓ 15 callersMethodshape
* Returns the current shape of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:260
↓ 15 callersMethodsquare
(self)
tenseal/tensors/abstract_tensor.py:159
↓ 14 callersMethoddeepcopy
tenseal/cpp/tensors/bfvtensor.cpp:678
↓ 14 callersFunctionhelper_decode
(scheme, ctx, test)
tests/python/sealapi/utils.py:60
↓ 14 callersMethodload
Construct a context from a serialized buffer. Args: data : bytes buffer from the original context. n_threads: define
tenseal/enc_context.py:167
↓ 14 callersMethodmul_inplace
tenseal/cpp/tensors/bfvtensor.cpp:290
↓ 13 callersFunctionbfv_context
()
tests/python/tenseal/tensors/test_serialization.py:24
↓ 13 callersMethoddispatch_jobs
tenseal/cpp/tensors/encrypted_tensor.h:275
↓ 13 callersMethodend
tenseal/cpp/tensors/plain_tensor.h:234
↓ 13 callersMethodend
tenseal/cpp/tensors/tensor_storage.h:291
↓ 13 callersMethodrelin_keys
(self)
tenseal/enc_context.py:247
↓ 12 callersMethodadd_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 callersMethodencrypt_zero
tenseal/cpp/context/tensealcontext.cpp:187
↓ 11 callersMethodcbegin
tenseal/cpp/tensors/plain_tensor.h:233
↓ 11 callersMethodempty
* Checks if the tensor is empty. */
tenseal/cpp/tensors/plain_tensor.h:211
↓ 11 callersMethodhas_galois_key
tenseal/cpp/context/tensealcontext.cpp:261
↓ 11 callersMethodhas_galois_keys
(self)
tenseal/enc_context.py:230
↓ 11 callersMethodhas_public_key
(self)
tenseal/enc_context.py:264
↓ 11 callersFunctiontmp_file
(cbk)
tests/python/sealapi/utils.py:90
↓ 10 callersMethodat
* 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 callersMethodat
(self, index: List[int])
tenseal/tensors/plaintensor.py:79
↓ 10 callersMethodauto_relin
* Relinearize the ciphertext if the context has automatic relinearization *enabled. **/
tenseal/cpp/tensors/encrypted_tensor.h:190
↓ 10 callersMethodbroadcast
tenseal/cpp/tensors/bfvtensor.cpp:710
↓ 10 callersFunctionckks_context
()
tests/python/tenseal/tensors/test_serialization.py:18
↓ 10 callersFunctionhelper_generate_evaluator
(ctx)
tests/python/sealapi/utils.py:69
↓ 10 callersFunctionproto_bytes_size
tenseal/cpp/utils/proto.h:7
↓ 10 callersMethodsquare_
(self)
tenseal/tensors/abstract_tensor.py:162
↓ 10 callersMethodstrides
(self)
tenseal/tensors/plaintensor.py:86
↓ 10 callersMethodsub_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:300
↓ 9 callersMethodCreate
tenseal/cpp/context/tensealcontext.cpp:127
↓ 9 callersMethodauto_rescale
* Rescale the ciphertext, if the context has automatic rescaling enabled. **/
tenseal/cpp/tensors/encrypted_tensor.h:202
↓ 9 callersMethodconv2d_im2col
(self, other, windows_nb)
tenseal/tensors/ckksvector.py:185
↓ 9 callersFunctionduplicate
tests/cpp/tensors/ckksvector_test.cpp:22
↓ 9 callersMethodgalois_keys
tenseal/cpp/context/tensealcontext.cpp:265
↓ 9 callersMethodget
tenseal/cpp/context/tensealencoder.h:27
↓ 9 callersMethodmm_
(self, other)
tenseal/tensors/bfvtensor.py:95
↓ 9 callersMethodpack_vectors
(cls, vectors: List["BFVVector"])
tenseal/tensors/bfvvector.py:48
↓ 9 callersMethodsecret_key
tenseal/cpp/context/tensealcontext.cpp:239
↓ 9 callersMethodsize
(self)
tenseal/tensors/ckksvector.py:52
↓ 8 callersMethodauto_same_mod
tenseal/cpp/tensors/encrypted_tensor.h:219
↓ 8 callersMethodchunks
* Split the tensor in chunks * */
tenseal/cpp/tensors/plain_tensor.h:219
↓ 8 callersFunctionconvert_size
(size_bytes)
tests/python/benchmarks/test_mnist_eval.py:19
next →1–100 of 897, ranked by callers