ready to start compute the gradients.