@wraps(Layer.cost)
    def cost(self, Y, Y_hat):
        total = self.kl(Y=Y, Y_hat=Y_hat)

        ave = total.mean()

        return ave
A reimplemented destructor
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/Sigmoid.cost--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/core/conditional.py/Conditional.destroy