Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMined/SyMPC
/ functions
Functions
591 in github.com/OpenMined/SyMPC
⨍
Functions
591
◇
Types & classes
44
↳
Endpoints
9
Function
test_prime_xor
(get_clients, security, bit)
tests/sympc/tensor/mpc_tensor_test.py:716
Function
test_primitive_logging_beaver_conv2d
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:262
Function
test_primitive_logging_beaver_matmul
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:236
Function
test_primitive_logging_beaver_mul
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:210
Function
test_primitive_logging_model
(get_clients)
tests/sympc/store/crypto_primitive_provider_test.py:162
Function
test_private_compare
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:297
Function
test_private_compare_exception
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:321
Function
test_private_matmul
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:124
Function
test_protocol_class_same_name
()
tests/sympc/protocol/protocol_test.py:38
Function
test_prrs_rs_tensor
Test przs_generate_random_share method from Session for ReplicatedSharedTensor.
tests/sympc/session/session_test.py:161
Function
test_prrs_rs_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:200
Function
test_prrs_rst_ring_size
(get_clients)
tests/sympc/session/session_test.py:354
Function
test_prrs_rst_union_resolve
(get_clients)
tests/sympc/session/session_test.py:291
Function
test_prrs_share_ring_size
(get_clients)
tests/sympc/session/session_test.py:339
Function
test_prrs_share_tensor
Test przs_generate_random_share method from Session for ShareTensor.
tests/sympc/session/session_test.py:140
Function
test_prrs_share_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:187
Function
test_prrs_share_tensor_union_resolve
(get_clients)
tests/sympc/session/session_test.py:266
Function
test_przs_rs_tensor
Test przs_generate_random_share method from Session for ReplicatedSharedTensor.
tests/sympc/session/session_test.py:87
Function
test_przs_rs_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:126
Function
test_przs_rst_ring_size
(get_clients)
tests/sympc/session/session_test.py:319
Function
test_przs_rst_union_resolve
(get_clients)
tests/sympc/session/session_test.py:278
Function
test_przs_share_ring_size
(get_clients)
tests/sympc/session/session_test.py:304
Function
test_przs_share_tensor
Test przs_generate_random_share method from Session for ShareTensor.
tests/sympc/session/session_test.py:62
Function
test_przs_share_tensor_pointer
(get_clients)
tests/sympc/session/session_test.py:113
Function
test_przs_share_tensor_union_resolve
(get_clients)
tests/sympc/session/session_test.py:254
Function
test_reciprocal
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:792
Function
test_reciprocal
(method, get_clients)
tests/sympc/approximations/reciprocal_test.py:12
Function
test_reconstruct
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:38
Function
test_reconstruct_shared_model
( is_remote: bool, model_type: Type[sy.Module], get_clients: Callable[[int], Any] )
tests/sympc/module/module_test.py:111
Function
test_register_primitive
()
tests/sympc/store/crypto_primitive_provider_test.py:95
Function
test_register_protocol
()
tests/sympc/protocol/protocol_test.py:19
Function
test_relu
(get_clients)
tests/sympc/module/nn/functional_test.py:31
Function
test_remote_mpc_no_shape
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:72
Function
test_remote_mpc_with_shape
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:83
Function
test_remote_not_tensor
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:95
Function
test_reverse_ops_share_tensor_local
(op_str, precision, base)
tests/sympc/tensor/share_tensor_test.py:91
Function
test_rshift
()
tests/sympc/tensor/replicatedshare_tensor_test.py:381
Function
test_rshift_exception
()
tests/sympc/tensor/replicatedshare_tensor_test.py:375
Function
test_rst_distribute_reconstruct_float_secret
( get_clients, parties, security )
tests/sympc/tensor/replicatedshare_tensor_test.py:166
Function
test_rst_distribute_reconstruct_tensor_secret
( get_clients, parties, security )
tests/sympc/tensor/replicatedshare_tensor_test.py:181
Function
test_rst_invalid_triple
(get_clients)
tests/sympc/protocol/beaver/beaver_test.py:11
Function
test_rst_reconstruct_zero_share_ptrs
(get_clients, security)
tests/sympc/tensor/replicatedshare_tensor_test.py:198
Function
test_rst_resolve_pointer
(get_clients)
tests/sympc/tensor/replicatedshare_tensor_test.py:287
Function
test_run_conv_model
(get_clients: Callable[[int], List[Any]])
tests/sympc/module/module_test.py:83
Function
test_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
Function
test_run_linear_model
(get_clients: Callable[[int], List[Any]])
tests/sympc/module/module_test.py:56
Function
test_same_session_id_and_data
()
tests/sympc/tensor/share_tensor_test.py:38
Function
test_select_shares
(get_clients, security)
tests/sympc/protocol/falcon/falcon_test.py:250
Function
test_select_shares_exception_ring
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:272
Function
test_select_shares_exception_shape
(get_clients)
tests/sympc/protocol/falcon/falcon_test.py:282
Function
test_send_get
(get_clients, precision, base)
tests/sympc/tensor/share_tensor_test.py:19
Function
test_send_get
(get_clients, precision=12, base=4)
tests/sympc/tensor/replicatedshare_tensor_test.py:77
Function
test_session
()
tests/sympc/protocol/falcon/falcon_test.py:27
Function
test_session
()
tests/sympc/protocol/aby3/aby3_test.py:23
Function
test_session_custom_init
()
tests/sympc/session/session_test.py:42
Function
test_session_default_init
Test correct initialisation of the Sessin class.
tests/sympc/session/session_test.py:23
Function
test_session_manager_throw_exception_init
Test correct initialisation of the SessionManager class.
tests/sympc/session/session_manager_test.py:13
Function
test_session_ring_xor
(get_clients, security, bit)
tests/sympc/tensor/mpc_tensor_test.py:760
Function
test_setup_mpc
Test setup_mpc method for session.
tests/sympc/session/session_manager_test.py:20
Function
test_setupmpc_nocall_exception
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:20
Function
test_share_class
()
tests/sympc/protocol/falcon/falcon_test.py:23
Function
test_share_class
()
tests/sympc/protocol/aby3/aby3_test.py:19
Function
test_share_decode
()
tests/sympc/tensor/share_tensor_test.py:219
Function
test_share_distribution_number_shares
(get_clients, parties)
tests/sympc/tensor/replicatedshare_tensor_test.py:215
Function
test_share_get_method_parties
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:507
Function
test_share_get_method_parties_exception
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:519
Function
test_share_get_method_session
(get_clients)
tests/sympc/tensor/mpc_tensor_test.py:532
Function
test_share_print
()
tests/sympc/tensor/share_tensor_test.py:189
Function
test_share_repr
()
tests/sympc/tensor/share_tensor_test.py:204
Function
test_share_tensor
(get_clients)
tests/sympc/protocol/fss/fss_test.py:14
Function
test_share_tensor_resolve_pointer
(get_clients)
tests/sympc/tensor/share_tensor_test.py:227
Function
test_sigmoid
(get_clients)
tests/sympc/module/nn/functional_test.py:17
Function
test_sigmoid
(get_clients, method)
tests/sympc/approximations/sigmoid_test.py:14
Function
test_softmax
(get_clients, dim)
tests/sympc/approximations/softmax_test.py:18
Function
test_softmax_single_along_dim
(get_clients)
tests/sympc/approximations/softmax_test.py:32
Function
test_sort_invalidim_exception
(get_clients)
tests/sympc/algorithms/sort_test.py:45
Function
test_stack
(get_clients)
tests/sympc/tensor/static_test.py:113
Function
test_tanh
(get_clients)
tests/sympc/approximations/tanh_test.py:11
Function
test_transfer_primitives_mismatch_len_exception
()
tests/sympc/store/crypto_primitive_provider_test.py:87
Function
test_transfer_primitives_type_exception
()
tests/sympc/store/crypto_primitive_provider_test.py:79
Function
test_truediv
()
tests/sympc/tensor/replicatedshare_tensor_test.py:367
Function
test_truediv_exception
()
tests/sympc/tensor/replicatedshare_tensor_test.py:361
Function
test_truncation_algorithm1
(get_clients, base, precision)
tests/sympc/protocol/aby3/aby3_test.py:59
Method
triple_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
Method
truediv
Apply the "div" operation between "self" and "y". Args: y (Union[int , torch.Tensor]): Denominator. Returns:
src/sympc/tensor/replicatedshare_tensor.py:535
Method
truncation_algorithm2
Truncates the MPCTensor by scale factor using trunc2 algorithm. Args: x (MPCTensor): input tensor session (Session) :
src/sympc/protocol/aby3/aby3.py:166
Function
wrapper
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
Function
wrapper_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
Method
xor
Apply the "xor" operation between "self" and "y". Args: y: public bit Returns: ReplicatedSharedTensor: Resul
src/sympc/tensor/replicatedshare_tensor.py:626
Method
xor
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
Method
zero_grad
Set the gradients from the parameters to to zero/None.
src/sympc/optim/sgd.py:37
← previous
501–591 of 591, ranked by callers