A Gradient Descent Method for a Neural