def kl(self, Y, Y_hat):
        batch_axis = self.output_space.get_batch_axis()
        div = kl(Y=Y, Y_hat=Y_hat, batch_axis=batch_axis)
        return div
Computes the KL divergence.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/Sigmoid.kl