

def whichBuffers(self, paramIndex):
    "Return the index of the input module's output buffer and\n        the output module's input buffer for the given weight."
    return ((paramIndex % self.inmod.outdim), (paramIndex // self.inmod.outdim))

dataset/ETHPy150Open pybrain/pybrain/pybrain/structure/connections/full.py FullConnection.whichBuffers/original