

def stochastic_max_pool_c01b(c01b, pool_shape, pool_stride, start=0, seed=1234):
    '\n    .. todo::\n\n        WRITEME\n    '
    assert (pool_shape[0] == pool_shape[1])
    assert (pool_stride[0] == pool_stride[1])
    op = StochasticMaxPool(pool_shape[0], pool_stride[0], start, seed)
    c01b = gpu_contiguous(c01b)
    return op(c01b)

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