def __init__(self, func, dim=0):
        """
        :type layer1: NeuralLayer
        :type layer2: NeuralLayer
        """
        super(Combine, self).__init__("combine")
        self.func = func
        if dim > 0:
            self.output_dim = dim
dataset/ETHPy150Open zomux/deepy/deepy/layers/combine.py/Combine.__init__/original