MCPcopy Create free account

hub / github.com/OpenMined/SyMPC / functions

Functions591 in github.com/OpenMined/SyMPC

Functiontest_prime_xor
(get_clients, security, bit)
tests/sympc/tensor/mpc_tensor_test.py:716
Functiontest_primitive_logging_beaver_conv2d
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:262
Functiontest_primitive_logging_beaver_matmul
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:236
Functiontest_primitive_logging_beaver_mul
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:210
Functiontest_primitive_logging_model
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:162
Functiontest_private_compare
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:297
Functiontest_private_compare_exception
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:321
Functiontest_private_matmul
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:124
Functiontest_protocol_class_same_name
()
tests/sympc/protocol/protocol_test.py:38
Functiontest_prrs_rs_tensor
Test przs_generate_random_share method from Session for ReplicatedSharedTensor.
tests/sympc/session/session_test.py:161
Functiontest_prrs_rs_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:200
Functiontest_prrs_rst_ring_size
(get_clients)
tests/sympc/session/session_test.py:354
Functiontest_prrs_rst_union_resolve
(get_clients)
tests/sympc/session/session_test.py:291
Functiontest_prrs_share_ring_size
(get_clients)
tests/sympc/session/session_test.py:339
Functiontest_prrs_share_tensor
Test przs_generate_random_share method from Session for ShareTensor.
tests/sympc/session/session_test.py:140
Functiontest_prrs_share_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:187
Functiontest_prrs_share_tensor_union_resolve
(get_clients)
tests/sympc/session/session_test.py:266
Functiontest_przs_rs_tensor
Test przs_generate_random_share method from Session for ReplicatedSharedTensor.
tests/sympc/session/session_test.py:87
Functiontest_przs_rs_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:126
Functiontest_przs_rst_ring_size
(get_clients)
tests/sympc/session/session_test.py:319
Functiontest_przs_rst_union_resolve
(get_clients)
tests/sympc/session/session_test.py:278
Functiontest_przs_share_ring_size
(get_clients)
tests/sympc/session/session_test.py:304
Functiontest_przs_share_tensor
Test przs_generate_random_share method from Session for ShareTensor.
tests/sympc/session/session_test.py:62
Functiontest_przs_share_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:113
Functiontest_przs_share_tensor_union_resolve
(get_clients)
tests/sympc/session/session_test.py:254
Functiontest_reciprocal
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:792
Functiontest_reciprocal
(method, get_clients)
tests/sympc/approximations/reciprocal_test.py:12
Functiontest_reconstruct
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:38
Functiontest_reconstruct_shared_model
( is_remote: bool, model_type: Type[sy.Module], get_clients: Callable[[int], Any] )
tests/sympc/module/module_test.py:111
Functiontest_register_primitive
()
tests/sympc/store/crypto_primitive_provider_test.py:95
Functiontest_register_protocol
()
tests/sympc/protocol/protocol_test.py:19
Functiontest_relu
(get_clients)
tests/sympc/module/nn/functional_test.py:31
Functiontest_remote_mpc_no_shape
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:72
Functiontest_remote_mpc_with_shape
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:83
Functiontest_remote_not_tensor
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:95
Functiontest_reverse_ops_share_tensor_local
(op_str, precision, base)
tests/sympc/tensor/share_tensor_test.py:91
Functiontest_rshift
()
tests/sympc/tensor/replicatedshare_tensor_test.py:381
Functiontest_rshift_exception
()
tests/sympc/tensor/replicatedshare_tensor_test.py:375
Functiontest_rst_distribute_reconstruct_float_secret
( get_clients, parties, security )
tests/sympc/tensor/replicatedshare_tensor_test.py:166
Functiontest_rst_distribute_reconstruct_tensor_secret
( get_clients, parties, security )
tests/sympc/tensor/replicatedshare_tensor_test.py:181
Functiontest_rst_invalid_triple
(get_clients)
tests/sympc/protocol/beaver/beaver_test.py:11
Functiontest_rst_reconstruct_zero_share_ptrs
(get_clients, security)
tests/sympc/tensor/replicatedshare_tensor_test.py:198
Functiontest_rst_resolve_pointer
(get_clients)
tests/sympc/tensor/replicatedshare_tensor_test.py:287
Functiontest_run_conv_model
(get_clients: Callable[[int], List[Any]])
tests/sympc/module/module_test.py:83
Functiontest_run_inference_conv_model
Benchmark inference on simple convolutional network. Arguments: benchmark: Fixture that benchmarks any function passed get_client
benchmarks/module/module_benchmark_test.py:12
Functiontest_run_linear_model
(get_clients: Callable[[int], List[Any]])
tests/sympc/module/module_test.py:56
Functiontest_same_session_id_and_data
()
tests/sympc/tensor/share_tensor_test.py:38
Functiontest_select_shares
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:250
Functiontest_select_shares_exception_ring
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:272
Functiontest_select_shares_exception_shape
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:282
Functiontest_send_get
(get_clients, precision, base)
tests/sympc/tensor/share_tensor_test.py:19
Functiontest_send_get
(get_clients, precision=12, base=4)
tests/sympc/tensor/replicatedshare_tensor_test.py:77
Functiontest_session
()
tests/sympc/protocol/falcon/falcon_test.py:27
Functiontest_session
()
tests/sympc/protocol/aby3/aby3_test.py:23
Functiontest_session_custom_init
()
tests/sympc/session/session_test.py:42
Functiontest_session_default_init
Test correct initialisation of the Sessin class.
tests/sympc/session/session_test.py:23
Functiontest_session_manager_throw_exception_init
Test correct initialisation of the SessionManager class.
tests/sympc/session/session_manager_test.py:13
Functiontest_session_ring_xor
(get_clients, security, bit)
tests/sympc/tensor/mpc_tensor_test.py:760
Functiontest_setup_mpc
Test setup_mpc method for session.
tests/sympc/session/session_manager_test.py:20
Functiontest_setupmpc_nocall_exception
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:20
Functiontest_share_class
()
tests/sympc/protocol/falcon/falcon_test.py:23
Functiontest_share_class
()
tests/sympc/protocol/aby3/aby3_test.py:19
Functiontest_share_decode
()
tests/sympc/tensor/share_tensor_test.py:219
Functiontest_share_distribution_number_shares
(get_clients, parties)
tests/sympc/tensor/replicatedshare_tensor_test.py:215
Functiontest_share_get_method_parties
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:507
Functiontest_share_get_method_parties_exception
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:519
Functiontest_share_get_method_session
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:532
Functiontest_share_print
()
tests/sympc/tensor/share_tensor_test.py:189
Functiontest_share_repr
()
tests/sympc/tensor/share_tensor_test.py:204
Functiontest_share_tensor
(get_clients)
tests/sympc/protocol/fss/fss_test.py:14
Functiontest_share_tensor_resolve_pointer
(get_clients)
tests/sympc/tensor/share_tensor_test.py:227
Functiontest_sigmoid
(get_clients)
tests/sympc/module/nn/functional_test.py:17
Functiontest_sigmoid
(get_clients, method)
tests/sympc/approximations/sigmoid_test.py:14
Functiontest_softmax
(get_clients, dim)
tests/sympc/approximations/softmax_test.py:18
Functiontest_softmax_single_along_dim
(get_clients)
tests/sympc/approximations/softmax_test.py:32
Functiontest_sort_invalidim_exception
(get_clients)
tests/sympc/algorithms/sort_test.py:45
Functiontest_stack
(get_clients)
tests/sympc/tensor/static_test.py:113
Functiontest_tanh
(get_clients)
tests/sympc/approximations/tanh_test.py:11
Functiontest_transfer_primitives_mismatch_len_exception
()
tests/sympc/store/crypto_primitive_provider_test.py:87
Functiontest_transfer_primitives_type_exception
()
tests/sympc/store/crypto_primitive_provider_test.py:79
Functiontest_truediv
()
tests/sympc/tensor/replicatedshare_tensor_test.py:367
Functiontest_truediv_exception
()
tests/sympc/tensor/replicatedshare_tensor_test.py:361
Functiontest_truncation_algorithm1
(get_clients, base, precision)
tests/sympc/protocol/aby3/aby3_test.py:59
Methodtriple_verification
Performs Beaver's triple verification check. Args: z_sh (ReplicatedSharedTensor) : share of multiplied value(x*y). ep
src/sympc/protocol/falcon/falcon.py:185
Methodtruediv
Apply the "div" operation between "self" and "y". Args: y (Union[int , torch.Tensor]): Denominator. Returns:
src/sympc/tensor/replicatedshare_tensor.py:535
Methodtruncation_algorithm2
Truncates the MPCTensor by scale factor using trunc2 algorithm. Args: x (MPCTensor): input tensor session (Session) :
src/sympc/protocol/aby3/aby3.py:166
Functionwrapper
Wrap sanity checks and checks what executor should be used. Args: args (List[List[Any]]): Args. kwargs (Optional[Dict
src/sympc/utils/utils.py:78
Functionwrapper_func
Use the getattr functionality to get the attribute/method. Args: *args (List[Any]): The attributes for the function call.
src/sympc/tensor/mpc_tensor.py:56
Methodxor
Apply the "xor" operation between "self" and "y". Args: y: public bit Returns: ReplicatedSharedTensor: Resul
src/sympc/tensor/replicatedshare_tensor.py:626
Methodxor
Apply the "xor" operation between "self" and "y". Args: y (Union[int, torch.Tensor, "ShareTensor"]): self xor y Returns:
src/sympc/tensor/share_tensor.py:273
Methodzero_grad
Set the gradients from the parameters to to zero/None.
src/sympc/optim/sgd.py:37
← previous501–591 of 591, ranked by callers