def value(self, layer=None, view=None):
        v = self._slider.value() / 100. * self._ptp + self._min
        if self._isint:
            v = int(v)
        return v
Test weighted pooling theano implementation against numpy implementation
dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/LabeledSlider.value--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/expr/tests/test_stochastic_pool.py/test_weighted_pool