Closed nzw0301 closed 5 years ago
I found an unnecessary term to compute the PAC-Bayes bound in evaluate_SNN_accuracy function. I think that we don't need 2 * np.log(self.log_prior_std_precision) because it is already used in the calculation of 2 * tf.log(jopt).
evaluate_SNN_accuracy
2 * np.log(self.log_prior_std_precision)
2 * tf.log(jopt)
I found an unnecessary term to compute the PAC-Bayes bound in
evaluate_SNN_accuracy
function. I think that we don't need2 * np.log(self.log_prior_std_precision)
because it is already used in the calculation of2 * tf.log(jopt)
.