def _create_free_energy_for_gauss(self):
    ' Create free energy for model with Gauss visible layer \n        :return: self\n        '
    self.batch_free_energy = (- ((tf.matmul(self.input_data, tf.reshape(self.bv_, [(- 1), 1])) - tf.reshape(tf.reduce_sum(((0.5 * self.input_data) * self.input_data), 1), [(- 1), 1])) + tf.reshape(tf.reduce_sum(tf.log((tf.exp((tf.matmul(self.input_data, self.W) + self.bh_)) + 1)), 1), [(- 1), 1])))
Create free energy for model with Gauss visible layer 
:return: self
def _create_free_energy_for_gauss(self):
    ' Create free energy for model with Gauss visible layer \n        :return: self\n        '
    self.batch_free_energy = (- ((tf.matmul(self.input_data, tf.reshape(self.bv_, [(- 1), 1])) - tf.reshape(tf.reduce_sum(((0.5 * self.input_data) * self.input_data), 1), [(- 1), 1])) + tf.reshape(tf.reduce_sum(tf.log((tf.exp((tf.matmul(self.input_data, self.W) + self.bh_)) + 1)), 1), [(- 1), 1])))