Whether or not to also return the gradient
z7grad : nparray
        Gradient if return_grad == True
