@wraps(ConvNonlinearity.cost, append=True)
    def cost(self, Y, Y_hat, batch_axis):
        return T.sum(T.mean(T.sqr(Y-Y_hat), axis=batch_axis))
returns the value stored in register `reg` of the spectrometer
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/IdentityConvNonlinearity.cost--crossover with--dataset/ETHPy150Open LabPy/lantz/lantz/drivers/oceanoptics/usb4000.py/USB4000.query_config