<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def backprop(self, **args):
 """ Computes error and wed for back propagation of error. """

        retval = self.compute_error(**args)
        if self.learning:
            self.compute_wed()
        return retval