@split.setter
def split(self, split):
    if (split is None):
        self._split = split
    else:
        if (len(split) != len(self._outs)):
            raise ValueError('split and outs must have the same size')
        self._split = (np.array(split) / sum(split))
@split.setter
def split(self, split):
    if (split is None):
        self._split = split
    else:
        if (len(split) != len(self._outs)):
            raise ValueError('split and outs must have the same size')
        self._split = (np.array(split) / sum(split))