Forward Pass: Here the input data is passed through the neural network to obtain the predicted output. In forward pass, First calculate the output of the hidden layer. hidden_output = X•W1 + b1 Then apply the sigmoid activation to the output. output = sigmoid( (X•W1) + b1)
Forward Pass in Neural Networks: Hidden Layer Calculation and Activation
By
–
Leave a Reply