#NEWLINE# def make_state( self , num_examples , numpy_rng ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# driver = numpy_rng . uniform ( 0.0 , 1.0 , ( num_examples , self . nvis ) ) #NEWLINE# on_prob = sigmoid_numpy ( ( ( 2.0 * self . beta . get_value ( ) ) * self . bias . get_value ( ) ) ) #NEWLINE# sample = ( ( 2.0 * ( driver < on_prob ) ) - 1.0 ) #NEWLINE# rval = sharedX ( sample , name = 'v_sample_shared' ) #NEWLINE# return rval