It’s Calculus. The activation function g^{[l]} is applied element-wise to
z^{[l]}, so its derivative is also applied element-wise.
2 Likes
It’s Calculus. The activation function g^{[l]} is applied element-wise to
z^{[l]}, so its derivative is also applied element-wise.