Welcome to my blog.
$$ M(x) = 1 + \frac{2}{x - 1} \int_{0}^{x - 1} M(t) dt $$
1 2 3 4 5 6 7
class LeakyReLU: def f(self, x): return np.where(x > 0, x, 0.01 * x) def f_prime(self, y): return np.where(y > 0, 1, 0.01)