def _combine(self, concat, *argv): if concat: y = _concat(list(argv), axis=3) else: y = tuple(argv) return y