def __init__(self, inmod, outmod, name=None,
                 inSliceFrom=0, inSliceTo=None, outSliceFrom=0, outSliceTo=None):
        if outSliceTo is None:
            outSliceTo = outmod.indim
        size = outSliceTo - outSliceFrom
        Connection.__init__(self, inmod, outmod, name,
                            inSliceFrom, inSliceTo, outSliceFrom, outSliceTo)
        ParameterContainer.__init__(self, size)
dataset/ETHPy150Open pybrain/pybrain/pybrain/structure/connections/subsampling.py/SubsamplingConnection.__init__/original