#NEWLINE# def init_mf_state( self ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# z = ( T . alloc ( 0.0 , self . dbm . batch_size , self . dim ) . astype ( self . b . dtype ) + self . b . dimshuffle ( 'x' , 0 ) ) #NEWLINE# rval = T . tanh ( ( self . beta * z ) ) #NEWLINE# return rval