I'm trying to implement a simple Boltzmann Machine using Theano. So far
everything is working but I'm having the problem that I calculate some
things more than once which is causing a quite noticeable but unnecessary
You can check out my SO question  but it boils down to this
h1_activ = sigmoid(self.bias_visiblie + T.dot(D, self.W))
h1_sample = h1_activ > rnds.uniform((n_samples, self.n_hidden ))
f_h1_sample = theano.function(
# I'd like to take the result from 'h1_sample' and store it into
updates=[(self.H1_sample, ? h1_sample ? )]
I'd like to know how I could store this intermediate result of h1_sample into
the member variable.
Is that possible and if so how?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.