

def __init__(self, ds, stride, start=0, outputs=0):
    self.ds = ds
    self.stride = stride
    self.start = start
    self.copy_non_contiguous = 0
    assert ((stride > 0) and (stride <= ds)), (stride, ds)
    assert (ds > 0), ds

dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/cuda_convnet/stochastic_pool.py WeightedMaxPool.__init__/original