#NEWLINE# def grads( self , x ) : #NEWLINE# #INDENT# assert ( self . loss_value is not None ) #NEWLINE# grad_values = np . copy ( self . grad_values ) #NEWLINE# self . loss_value = None #NEWLINE# self . grad_values = None #NEWLINE# return grad_values