Return the (n, h) activation leaky_relu(X @ W + b):
X has shape (n, d), weights W have shape (d, h), bias b has shape (h,)leaky_relu(z) = z for z > 0, and alpha * z otherwiseInput
X =
[[ 1. -2.]
[ 3. 4.]]
W =
[[1. 0.]
[0. 1.]]
b = [ 0.5 -0.5]
alpha = 0.01
Output
[[ 1.5 -0.025]
[ 3.5 3.5 ]]