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
def backprop ( self , ** args ) : retval = self . compute_error ( ** args ) if self . learning : self . compute_wed ( ) return retval
Computes error and wed for back propagation of error.