def __init__(self, **args):
        if 'size' in args:
            self.size = args['size']
        args['dims'] = (self.size, self.size)
        assert self.size > 1, 'Minimal board size is 2.'
        BorderSwipingNetwork.__init__(self, **args)

        if not self.rebuilt:
            self._buildCaptureNetwork()
            self.sortModules()
            self.rebuilt = True
            self.setArgs(rebuilt = True)
:key clusterssize: the side of the square for clustering: if > 1, an extra layer for cluster-construction is added
dataset/ETHPy150Open pybrain/pybrain/pybrain/structure/networks/custom/capturegame.py/CaptureGameNetwork.__init__