Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMined/SyMPC
/ types & classes
Types & classes
44 in github.com/OpenMined/SyMPC
⨍
Functions
591
◇
Types & classes
44
↳
Endpoints
9
↓ 182 callers
Class
MPCTensor
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 callers
Class
Session
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 callers
Class
Falcon
Falcon Protocol Implementation.
src/sympc/protocol/falcon/falcon.py:34
↓ 47 callers
Class
Config
Session configuration. Attributes: encoder_base (int): Base for the encoder. encoder_precision (int): Precision for the encoder.
src/sympc/config/config.py:9
↓ 43 callers
Class
ReplicatedSharedTensor
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 callers
Class
ShareTensor
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 callers
Class
FixedPointEncoder
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 callers
Class
EmptyPrimitiveStore
Raised when there is no primitive in the store to do the computation.
src/sympc/store/exceptions.py:4
↓ 5 callers
Class
ABY3
ABY3 Protocol Implementation.
src/sympc/protocol/aby3/aby3.py:32
↓ 2 callers
Class
CryptoStore
Manages items needed for MPC Computation. Attributes: store (Dict[Any, Any]): Object needed for MPC.
src/sympc/store/crypto_store.py:11
↓ 2 callers
Class
FSS
Function Secret Sharing.
src/sympc/protocol/fss/fss.py:183
↓ 1 callers
Class
ConvNet
tests/sympc/module/module_test.py:33
↓ 1 callers
Class
ConvNet
Simple convolutional network.
benchmarks/module/conv_model.py:18
↓ 1 callers
Class
ConvNet_attr
tests/sympc/module/module_test.py:148
↓ 1 callers
Class
CryptoPrimitiveProvider
A trusted third party should use this class to generate crypto primitives.
src/sympc/store/crypto_primitive_provider.py:15
↓ 1 callers
Class
LinearNet
tests/sympc/module/module_test.py:19
↓ 1 callers
Class
LinearNet
tests/sympc/store/crypto_primitive_provider_test.py:26
↓ 1 callers
Class
LinearSyNet
tests/sympc/grad/grad_functions_test.py:30
↓ 1 callers
Class
SessionManager
Class used to manage sessions. Attributes: uuid (Optional[UUID]): used to identify a session
src/sympc/session/session_manager.py:15
Class
Conv2d
Convolutional 2D.
src/sympc/module/nn/conv.py:21
Class
GradAdd
The addition gradient function.
src/sympc/grads/grad_functions.py:123
Class
GradConv2d
The multiplication gradient function.
src/sympc/grads/grad_functions.py:496
Class
GradDiv
The Division gradient function.
src/sympc/grads/grad_functions.py:361
Class
GradFlatten
The Flatten gradient function.
src/sympc/grads/grad_functions.py:460
Class
GradFunc
Abstract class that should be implemented by the Gradient Functions.
src/sympc/grads/grad_functions.py:54
Class
GradMatMul
The multiplication gradient function.
src/sympc/grads/grad_functions.py:403
Class
GradMaxPool2D
The MaxPool2D gradient function.
src/sympc/grads/grad_functions.py:679
Class
GradMul
The multiplication gradient function.
src/sympc/grads/grad_functions.py:278
Class
GradPow
The multiplication gradient function.
src/sympc/grads/grad_functions.py:318
Class
GradReLU
The sigmoid gradient function.
src/sympc/grads/grad_functions.py:645
Class
GradReshape
The Reshape gradient function.
src/sympc/grads/grad_functions.py:610
Class
GradSigmoid
The sigmoid gradient function.
src/sympc/grads/grad_functions.py:203
Class
GradSub
The substraction gradient function.
src/sympc/grads/grad_functions.py:237
Class
GradSum
The summation gradient function.
src/sympc/grads/grad_functions.py:165
Class
GradT
The tranpose gradient function.
src/sympc/grads/grad_functions.py:92
Class
Linear
A Linear SMPC Layer.
src/sympc/module/nn/linear.py:19
Class
Protocol
Keep traces of registered protocols. Attributes: registered_protocols (Dict[Any, Any]): Dictionary with the registered protocols.
src/sympc/protocol/protocol.py:7
Class
SGD
The SGD Optimizer Class.
src/sympc/optim/sgd.py:9
Class
SMPCModule
src/sympc/module/nn/smpc_module.py:7
Class
SyMPCTensor
Metaclass for the MPCTensor and ShareTensors.
src/sympc/tensor/tensor.py:13
Class
TestName
tests/sympc/protocol/protocol_test.py:39
Class
TestProtocol
tests/sympc/protocol/protocol_test.py:14
Class
TestProtocolSecurityException
tests/sympc/protocol/protocol_test.py:34
Class
TestProtocolShareException
tests/sympc/protocol/protocol_test.py:27