#NEWLINE# def mf_update( self , state_above , layer_above ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# msg = layer_above . downward_message ( state_above ) #NEWLINE# bias = self . bias #NEWLINE# z = ( msg + bias ) #NEWLINE# rval = T . tanh ( ( z . beta * z ) ) #NEWLINE# return rval