MCPcopy Create free account

hub / github.com/OpenMined/TenSEAL / functions

Functions897 in github.com/OpenMined/TenSEAL

↓ 8 callersMethodcopy
tenseal/cpp/tensors/ckkstensor.cpp:710
↓ 8 callersMethodis_private
(self)
tenseal/enc_context.py:270
↓ 8 callersMethodtranspose
tenseal/cpp/tensors/bfvtensor.cpp:721
↓ 7 callersMethodbatch
Returns a list of batches constructed from dimension `dim`
tenseal/tensors/plaintensor.py:107
↓ 7 callersMethodbroadcast_inplace
tenseal/cpp/tensors/bfvtensor.cpp:714
↓ 7 callersMethodbroadcast_or_throw
tenseal/cpp/tensors/bfvtensor.h:85
↓ 7 callersMethodcend
tenseal/cpp/tensors/plain_tensor.h:235
↓ 7 callersMethodchunked_size
tenseal/cpp/tensors/encrypted_vector.h:59
↓ 7 callersMethodcopy
tenseal/cpp/tensors/bfvvector.cpp:494
↓ 7 callersMethodglobal_scale
tenseal/cpp/context/tensealcontext.cpp:352
↓ 7 callersMethodmul_plain
tenseal/cpp/tensors/encrypted_tensor.h:116
↓ 7 callersMethodnegate_inplace
tenseal/cpp/tensors/bfvtensor.cpp:130
↓ 6 callersMethod_get_operand
(cls, other, dtype="float")
tenseal/tensors/ckksvector.py:73
↓ 6 callersMethod_mul_inplace
tenseal/cpp/tensors/bfvtensor.h:156
↓ 6 callersMethod_mul_inplace
tenseal/cpp/tensors/ckkstensor.h:162
↓ 6 callersMethodcopy
tenseal/cpp/tensors/ckksvector.cpp:627
↓ 6 callersMethoddata
Get the wrapped low level PlainTensor object
tenseal/tensors/plaintensor.py:41
↓ 6 callersMethoddata_ref
* Returns a reference to the internal representation of the * tensor. */
tenseal/cpp/tensors/plain_tensor.h:193
↓ 6 callersMethoddispatcher_size
tenseal/cpp/context/tensealcontext.h:254
↓ 6 callersMethoddot_
(self, other)
tenseal/tensors/bfvvector.py:122
↓ 6 callersMethoddot_plain
tenseal/cpp/tensors/encrypted_tensor.h:126
↓ 6 callersFunctionduplicate
tests/cpp/tensors/bfvvector_test.cpp:10
↓ 6 callersMethodencryptor
tenseal/cpp/context/tensealcontext.cpp:161
↓ 6 callersMethodequals
tenseal/cpp/context/tensealcontext.cpp:404
↓ 6 callersFunctionhelper_poly_modulus_degree
(ctx)
tests/python/sealapi/utils.py:43
↓ 6 callersMethodis_public
tenseal/cpp/context/tensealcontext.cpp:345
↓ 6 callersMethodmm
(self, other)
tenseal/tensors/bfvtensor.py:90
↓ 6 callersFunctionop
()
tests/python/benchmarks/test_ops.py:132
↓ 6 callersMethodop_plain_inplace
tenseal/cpp/tensors/bfvtensor.cpp:239
↓ 6 callersMethodop_plain_inplace
tenseal/cpp/tensors/ckkstensor.cpp:267
↓ 6 callersMethodposition
* Converts integer to position. * @param[in] . */
tenseal/cpp/tensors/plain_tensor.h:101
↓ 6 callersFunctionreshape
(batched, shape)
tests/python/tenseal/tensors/test_ckks_tensor.py:65
↓ 6 callersFunctionreshape
(batched, shape)
tests/python/tenseal/tensors/test_bfv_tensor.py:39
↓ 6 callersMethodrotate_vector_inplace
* Rotate encrypted plaintext cyclically * @param[in] number of steps and direction. if steps < 0, it rotates the *vector to the right, else
tenseal/cpp/tensors/encrypted_vector.h:126
↓ 6 callersMethodshape
* Returns the current shape of the tensor. */
tenseal/cpp/tensors/plain_tensor.h:198
↓ 6 callersMethodsum_inplace
tenseal/cpp/tensors/ckkstensor.cpp:351
↓ 6 callersMethodtranspose_inplace
tenseal/cpp/tensors/bfvtensor.cpp:724
↓ 5 callersMethod_wrap
Return a new Context object wrapping the low level TenSEALContext object
tenseal/enc_context.py:202
↓ 5 callersFunctionalmost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/utils.py:1
↓ 5 callersMethodauto_mod_switch
(self)
tenseal/enc_context.py:207
↓ 5 callersMethodauto_relin
(self)
tenseal/enc_context.py:215
↓ 5 callersMethodauto_rescale
(self)
tenseal/enc_context.py:223
↓ 5 callersFunctionckks_context
(n_threads=None)
tests/python/benchmarks/test_ops.py:16
↓ 5 callersMethoddecode
tenseal/cpp/context/tensealcontext.h:181
↓ 5 callersFunctionget_concurrency
Compute how many threads can run in parallel */
tenseal/cpp/utils/threadpool.h:17
↓ 5 callersFunctionhelper_context_ckks
(poly_modulus_degree=8192)
tests/python/sealapi/utils.py:32
↓ 5 callersMethodkeys_setup
tenseal/cpp/context/tensealcontext.cpp:95
↓ 5 callersMethodrelin_keys
tenseal/cpp/context/tensealcontext.cpp:252
↓ 5 callersMethodreshape_
Changes the internal representation to a new shape
tenseal/tensors/bfvtensor.py:118
↓ 5 callersMethodsquare_inplace
tenseal/cpp/tensors/bfvtensor.cpp:136
↓ 5 callersMethodsub_plain
tenseal/cpp/tensors/encrypted_tensor.h:106
↓ 4 callersFunction_almost_equal
(vec1, vec2, m_pow_ten)
tests/python/tenseal/test_enc_dec.py:11
↓ 4 callersMethod_decrypt
( self, secret_key: "ts.enc_context.SecretKey" = None )
tenseal/tensors/abstract_tensor.py:81
↓ 4 callersFunction_test_encryptor_pk_setup
(encryptor)
tests/python/sealapi/test_encrypt_decrypt.py:64
↓ 4 callersFunction_test_encryptor_symmetric_setup
(encryptor)
tests/python/sealapi/test_encrypt_decrypt.py:31
↓ 4 callersMethodauto_mod_switch
tenseal/cpp/context/tensealcontext.cpp:386
↓ 4 callersMethodciphertext
tenseal/cpp/tensors/encrypted_vector.h:70
↓ 4 callersFunctioncompute_polynomial_term
tenseal/cpp/tensors/utils/utils.h:37
↓ 4 callersMethoddispatcher
* @returns a pointer to the threadpool dispatcher **/
tenseal/cpp/context/tensealcontext.h:253
↓ 4 callersFunctionduplicate
tests/cpp/tensors/ckkstensor_test.cpp:22
↓ 4 callersFunctionduplicate
tests/cpp/tensors/bfvtensor_test.cpp:11
↓ 4 callersMethodgenerate_galois_keys
tenseal/cpp/context/tensealcontext.cpp:273
↓ 4 callersFunctiongenerate_input
(matrix_shape, vector_size)
tests/python/tenseal/tensors/test_ckks_vector.py:1030
↓ 4 callersMethodgenerate_relin_keys
tenseal/cpp/context/tensealcontext.cpp:293
↓ 4 callersMethodhas_context
* Check if the context is linked * **/
tenseal/cpp/tensors/encrypted_tensor.h:172
↓ 4 callersFunctionhelper_context_bfv
(poly_modulus_degree=4096, plain_modulus=1032193)
tests/python/sealapi/utils.py:17
↓ 4 callersMethodis_public
(self)
tenseal/enc_context.py:273
↓ 4 callersMethodlazy_load
Constructor method for the tensor object from a serialized protobuffer, without a context. Args: data: the serialized pro
tenseal/tensors/abstract_tensor.py:58
↓ 4 callersMethodload_context_proto
tenseal/cpp/tensors/encrypted_tensor.h:183
↓ 4 callersMethodmul
(self, other)
tenseal/tensors/bfvvector.py:85
↓ 4 callersMethodneg_
(self)
tenseal/tensors/abstract_tensor.py:148
↓ 4 callersMethodprepare_context
tenseal/cpp/tensors/bfvtensor.cpp:8
↓ 4 callersMethodprepare_context
tenseal/cpp/tensors/bfvvector.cpp:8
↓ 4 callersMethodreplicate_first_slot_inplace
tenseal/cpp/tensors/bfvvector.cpp:417
↓ 4 callersFunctionreplicate_vector
tenseal/cpp/tensors/utils/utils.h:19
↓ 4 callersMethodreshape_inplace
tenseal/cpp/tensors/ckkstensor.cpp:741
↓ 4 callersMethodrow
* Returns iterator to row. * @param[in] desired row. */
tenseal/cpp/tensors/plain_tensor.h:108
↓ 4 callersMethodsafe_global_scale
tenseal/cpp/context/tensealcontext.cpp:358
↓ 4 callersMethodshape
(self)
tenseal/tensors/ckksvector.py:56
↓ 4 callersMethodstrides
* Returns the current strides of the tensor. */
tenseal/cpp/tensors/plain_tensor.h:202
↓ 4 callersMethodstrides
* Returns the current strides of the tensor. */
tenseal/cpp/tensors/tensor_storage.h:266
↓ 4 callersFunctionto_underlying
tenseal/cpp/utils/helpers.h:11
↓ 4 callersMethodvertical_scan
* Returns the vertical view of a 2D tensor. */
tenseal/cpp/tensors/plain_tensor.h:188
↓ 3 callersMethod_mul_plain_inplace
tenseal/cpp/tensors/ckksvector.cpp:351
↓ 3 callersMethodadd_inplace
tenseal/cpp/tensors/ckkstensor.cpp:309
↓ 3 callersMethodadd_inplace
tenseal/cpp/tensors/ckksvector.cpp:165
↓ 3 callersMethodadd_plain_inplace
tenseal/cpp/tensors/ckkstensor.cpp:324
↓ 3 callersMethodbase_setup
tenseal/cpp/context/tensealcontext.cpp:39
↓ 3 callersMethodbatch
* Return the vector representation batched by an axis. */
tenseal/cpp/tensors/plain_tensor.h:239
↓ 3 callersMethodbroadcast_
Tries to broadcast the internal representation to a new shape
tenseal/tensors/bfvtensor.py:128
↓ 3 callersMethodbroadcast_inplace
tenseal/cpp/tensors/ckkstensor.cpp:752
↓ 3 callersMethodcopy
tenseal/cpp/tensors/plain_tensor.h:253
↓ 3 callersMethodcopy
tenseal/cpp/tensors/tensor_storage.h:370
↓ 3 callersFunctioncreate_ctx
()
tests/python/benchmarks/test_mnist_eval.py:29
↓ 3 callersMethoddata
* Returns a copy to the internal representation of the * tensor. */
tenseal/cpp/tensors/tensor_storage.h:256
↓ 3 callersMethoddata
tenseal/cpp/tensors/ckkstensor.cpp:726
↓ 3 callersMethoddispatcher_setup
tenseal/cpp/context/tensealcontext.cpp:32
↓ 3 callersMethodenc_matmul_plain
(self, other, row_size)
tenseal/tensors/ckksvector.py:206
↓ 3 callersMethodenqueue_task
tenseal/cpp/utils/threadpool.h:61
↓ 3 callersMethodflat_at
tenseal/cpp/tensors/plain_tensor.h:95
← previousnext →101–200 of 897, ranked by callers