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

----------------+

Subtraction

  • ReplicatedShareTensor
  • ShareTensor
-------------------------+
  • ReplicatedShareTensor
  • ShareTensor
  • 3
  • 2
-----------------------+
  • 2+
  • 2
Public Multiplication
  • ReplicatedShareTensor
  • ShareTensor
  • 2+
  • 2+

Protocol Operations

Visibility Operation Protocol Number of Parties

Public & Private

Mult, matmul, conv2d, conv2d_transpose

-----------------------------------------+

Equal to

-----------------------------------------+

Non Equal to

-----------------------------------------+

Greater than

-----------------------------------------+

Greater or Equal than

-----------------------------------------+

Less than

-----------------------------------------+

Less or Equal than

-----------------------------------------+

XOR

-----------------------------------------+

Exponential

-----------------------------------------+

Log

-----------------------------------------+

Max

-----------------------------------------+

Reciprocal

-----------------------------------------+

Relu

-----------------------------------------+

Sigmoid

-----------------------------------------+

Softmax

-----------------------------------------+

Tanh

  • Falcon
  • SPDZ
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
  • SPDZ
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
--------------+
  • FSS
  • 3
  • 2+
-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+
  • 2
  • 2+
-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

-----------------------+

2

Public

Division

-----------------------------------------+

XOR

  • SPDZ
--------------+
  • Falcon

2+

-----------------------+

3

Supported Neural Network Layers

Layer Protocol
Conv2d Falcon, SPDZ
Linear Falcon, SPDZ