backprop: Backpropagation
Description
Runs a backwards pass through the network.
Usage
backprop(model, error, forward_pass)
Arguments
model
list of all the weights and biases
error
gradients to the output of the network
forward_pass
intermediate values from the forward pass
Value
list of derivatives after the backwards pass