MCPcopy Create free account

hub / github.com/OpenMined/SyMPC / types & classes

Types & classes44 in github.com/OpenMined/SyMPC

↓ 182 callersClassMPCTensor
Used by the orchestrator to compute on the shares. Arguments: session (Session): the session secret (Optional[Union[torch.Tensor,
src/sympc/tensor/mpc_tensor.py:74
↓ 149 callersClassSession
Class used to keep information about computation done in SMPC. Attributes: id (UID): The id to store the session tags (Optional[L
src/sympc/session/session.py:35
↓ 54 callersClassFalcon
Falcon Protocol Implementation.
src/sympc/protocol/falcon/falcon.py:34
↓ 47 callersClassConfig
Session configuration. Attributes: encoder_base (int): Base for the encoder. encoder_precision (int): Precision for the encoder.
src/sympc/config/config.py:9
↓ 43 callersClassReplicatedSharedTensor
RSTensor is used when a party holds more than a single share,required by various protocols. Arguments: shares (Optional[List[Union[float,
src/sympc/tensor/replicatedshare_tensor.py:41
↓ 43 callersClassShareTensor
Single Share representation. Arguments: data (Optional[Any]): the share a party holds session (Optional[Any]): the session from w
src/sympc/tensor/share_tensor.py:47
↓ 16 callersClassFixedPointEncoder
Encoding/decoding a tensor to/from a fixed precision representation. This class was inspired from the Facebook Research - CrypTen project At
src/sympc/encoder/fp_encoder.py:23
↓ 8 callersClassEmptyPrimitiveStore
Raised when there is no primitive in the store to do the computation.
src/sympc/store/exceptions.py:4
↓ 5 callersClassABY3
ABY3 Protocol Implementation.
src/sympc/protocol/aby3/aby3.py:32
↓ 2 callersClassCryptoStore
Manages items needed for MPC Computation. Attributes: store (Dict[Any, Any]): Object needed for MPC.
src/sympc/store/crypto_store.py:11
↓ 2 callersClassFSS
Function Secret Sharing.
src/sympc/protocol/fss/fss.py:183
↓ 1 callersClassConvNet
tests/sympc/module/module_test.py:33
↓ 1 callersClassConvNet
Simple convolutional network.
benchmarks/module/conv_model.py:18
↓ 1 callersClassConvNet_attr
tests/sympc/module/module_test.py:148
↓ 1 callersClassCryptoPrimitiveProvider
A trusted third party should use this class to generate crypto primitives.
src/sympc/store/crypto_primitive_provider.py:15
↓ 1 callersClassLinearNet
tests/sympc/module/module_test.py:19
↓ 1 callersClassLinearNet
tests/sympc/store/crypto_primitive_provider_test.py:26
↓ 1 callersClassLinearSyNet
tests/sympc/grad/grad_functions_test.py:30
↓ 1 callersClassSessionManager
Class used to manage sessions. Attributes: uuid (Optional[UUID]): used to identify a session
src/sympc/session/session_manager.py:15
ClassConv2d
Convolutional 2D.
src/sympc/module/nn/conv.py:21
ClassGradAdd
The addition gradient function.
src/sympc/grads/grad_functions.py:123
ClassGradConv2d
The multiplication gradient function.
src/sympc/grads/grad_functions.py:496
ClassGradDiv
The Division gradient function.
src/sympc/grads/grad_functions.py:361
ClassGradFlatten
The Flatten gradient function.
src/sympc/grads/grad_functions.py:460
ClassGradFunc
Abstract class that should be implemented by the Gradient Functions.
src/sympc/grads/grad_functions.py:54
ClassGradMatMul
The multiplication gradient function.
src/sympc/grads/grad_functions.py:403
ClassGradMaxPool2D
The MaxPool2D gradient function.
src/sympc/grads/grad_functions.py:679
ClassGradMul
The multiplication gradient function.
src/sympc/grads/grad_functions.py:278
ClassGradPow
The multiplication gradient function.
src/sympc/grads/grad_functions.py:318
ClassGradReLU
The sigmoid gradient function.
src/sympc/grads/grad_functions.py:645
ClassGradReshape
The Reshape gradient function.
src/sympc/grads/grad_functions.py:610
ClassGradSigmoid
The sigmoid gradient function.
src/sympc/grads/grad_functions.py:203
ClassGradSub
The substraction gradient function.
src/sympc/grads/grad_functions.py:237
ClassGradSum
The summation gradient function.
src/sympc/grads/grad_functions.py:165
ClassGradT
The tranpose gradient function.
src/sympc/grads/grad_functions.py:92
ClassLinear
A Linear SMPC Layer.
src/sympc/module/nn/linear.py:19
ClassProtocol
Keep traces of registered protocols. Attributes: registered_protocols (Dict[Any, Any]): Dictionary with the registered protocols.
src/sympc/protocol/protocol.py:7
ClassSGD
The SGD Optimizer Class.
src/sympc/optim/sgd.py:9
ClassSMPCModule
src/sympc/module/nn/smpc_module.py:7
ClassSyMPCTensor
Metaclass for the MPCTensor and ShareTensors.
src/sympc/tensor/tensor.py:13
ClassTestName
tests/sympc/protocol/protocol_test.py:39
ClassTestProtocol
tests/sympc/protocol/protocol_test.py:14
ClassTestProtocolSecurityException
tests/sympc/protocol/protocol_test.py:34
ClassTestProtocolShareException
tests/sympc/protocol/protocol_test.py:27