I am coding a neural network using the swish activation function and had the idea of doing the backpropagation using recursion. Here is the code for the portion where I deal