Closed juharris closed 4 years ago
This will help with using tanh in a PySyft Plan since TanhBackward has grad_self_ = grad * (1 - self.self_.tanh() ** 2).
TanhBackward
grad_self_ = grad * (1 - self.self_.tanh() ** 2)
Tests in PR.
Description
This will help with using tanh in a PySyft Plan since
TanhBackward
hasgrad_self_ = grad * (1 - self.self_.tanh() ** 2)
.Affected Dependencies
How has this been tested?
Tests in PR.
Checklist