SyMPC icon indicating copy to clipboard operation
SyMPC copied to clipboard

Add gradient functions

Open gmuraru opened this issue 3 years ago • 3 comments

Description

Add the gradient functions for the list of operations:

  • [x] add - PR
  • [x] sub - PR
  • [x] mul - PR
  • [x] sum - PR
  • [x] matmul - PR
  • [x] reshape - PR
  • [ ] mean
  • [x] transpose - PR
  • [x] sigmoid - PR
  • [x] conv2d - PR
  • [ ] mse_loss grad
  • To be added more

Why?

This is needed for being able to use training.

Additional Context

Check CrypTen and PySyft 0.2.x versions

gmuraru avatar Apr 22 '21 10:04 gmuraru

Some of them are added in #138

gmuraru avatar May 04 '21 07:05 gmuraru

will work on the remaining :)

aanurraj avatar May 16 '21 15:05 aanurraj

Conv2D might be a good one. CrypTen has good examples on how those can be implemented.

gmuraru avatar May 16 '21 19:05 gmuraru