I am using pytorch for evaluating gradients of feed-forward network, but only for a subset of parameters, related to the first two layers. Since backpropagation is carried backwards layer by layer, I wonder: why is it computationally faster than evaluating gradients of whole network?
