MachineLearningLifeScience / stochman

Algorithms for computations on random manifolds made easier
Apache License 2.0
86 stars 11 forks source link

Fix jacobian of leakyrelu #13

Closed SkafteNicki closed 3 years ago

SkafteNicki commented 3 years ago

Fixes #10 Corrects computation of jacobian in nnj.LeakyReLU. Fixes test to also captures the negative case (which is the reason everything seemed to be fine).