We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0013ed8 commit 8f908f3Copy full SHA for 8f908f3
1 file changed
code/rbm.py
@@ -241,7 +241,7 @@ def get_pseudo_likelihood_cost(self, updates):
241
bit_i_idx = theano.shared(value=0, name = 'bit_i_idx')
242
243
# binarize the input image by rounding to nearest integer
244
- xi = T.iround(self.input)
+ xi = T.round(self.input)
245
246
# calculate free energy for the given bit configuration
247
fe_xi = self.free_energy(xi)
0 commit comments