#NEWLINE# def get_weights_topo( self ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# warnings . warn ( ( 'BoltzmannIsingHidden.get_weights_topo returns the ' + 'BOLTZMANN weights, is that what we want?' ) ) #NEWLINE# if ( not isinstance ( self . input_space , Conv2DSpace ) ) : #NEWLINE# #INDENT# raise NotImplementedError ( ) #NEWLINE# #UNINDENT# W = W . W #NEWLINE# W = W . T #NEWLINE# W = W . reshape ( ( self . detector_layer_dim , self . input_space . shape [ 0 ] , self . input_space . shape [ 1 ] , self . input_space . nchannels ) ) #NEWLINE# W = Conv2DSpace . convert ( W , self . input_space . axes , ( 'b' , 0 , 1 , 'c' ) ) #NEWLINE# return function ( [ ] , W ) ( )