Skip to content

Latest commit

 

History

History
100 lines (82 loc) · 6.57 KB

SUPPORTED_OPS.rst

File metadata and controls

100 lines (82 loc) · 6.57 KB

Supported Operations

Base Tensors

The protocols use these base tensors for their operations. Some protocol operations are supported by these tensors.

Tensor Protocol Number of parties Shares per party
ReplicatedSharedTensor ABY3, Falcon N N - 1
ShareTensor FSS, SPDZ N 1

Base Tensor Operations

Visibility Operation Tensor Number of Parties
Public & Private Addition
  • ReplicatedShareTensor
  • ShareTensor
  • 3
  • 2
Subtraction
  • ReplicatedShareTensor
  • ShareTensor
  • 2+
  • 2
Public Multiplication
  • ReplicatedShareTensor
  • ShareTensor
  • 2+
  • 2+

Protocol Operations

Visibility Operation Protocol Number of Parties
Public & Private Mult, matmul, conv2d, conv2d_transpose
  • Falcon
  • SPDZ
  • 3
  • 2+
Equal to
  • FSS
2
Non Equal to
  • FSS
2
Greater than
  • FSS
2
Greater or Equal than
  • FSS
2
Less than
  • FSS
2
Less or Equal than
  • FSS
2
XOR
  • FSS
  • SPDZ
  • 2
  • 2+
Exponential
  • FSS
2
Log
  • FSS
2
Max
  • FSS
2
Reciprocal
  • FSS
2
Relu
  • FSS
2
Sigmoid
  • FSS
2
Softmax
  • FSS
2
Tanh
  • FSS
2
Public Division
  • SPDZ
2+
XOR
  • Falcon
3

Supported Neural Network Layers

Layer Protocol
Conv2d Falcon, SPDZ
Linear Falcon, SPDZ