#NEWLINE# def bprop( self , error , alpha = 1.0 , beta = 0.0 ) : #NEWLINE# #INDENT# if self . deltas : #NEWLINE# #INDENT# self . deltas_buffer . fill ( 0 ) #NEWLINE# self . deltas [ ( - 1 ) ] [ : ] = ( beta * error ) #NEWLINE# #UNINDENT# return self . deltas_buffer