'Exploration bonus.'

def get_bonus(self, total_rewards, total_log_probs):

    discrepancy = ((total_rewards / self.tau) - total_log_probs)
    normalized_d = (self.num_samples * tf.nn.softmax(discrepancy))
    return (self.tau * normalized_d)
