#NEWLINE# def forward_cpu( self , x ) : #NEWLINE# #INDENT# y = x [ 0 ] . copy ( ) #NEWLINE# neg_indices = ( x [ 0 ] < 0 ) #NEWLINE# y [ self ] = ( self . alpha * ( numpy . exp ( y [ neg_indices ] ) - 1 ) ) #NEWLINE# return ( y , )