def cost_matrix(self, Y, Y_hat):
        raise NotImplementedError(
            str(type(self)) + " does not implement mlp.Layer.cost_matrix")
The element wise cost of outputting Y_hat when the true output is Y.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/Layer.cost_matrix