8bfafd6d7f814bcd0e77f6f34c17c2c9a003a02b,keras/layers/core.py,Merge,get_output,#Merge#Any#,190

Before Change


            inputs = [self.layers[i].get_output(train) for i in range(len(self.layers))]
            return T.concatenate(inputs, axis=self.concat_axis)
        elif self.mode == "join":
            inputs = [self.layers[i].get_output(train) for i in range(len(self.layers))]
            return inputs
        elif self.mode == "mul":
            s = self.layers[0].get_output(train)
            for i in range(1, len(self.layers)):

After Change


            inputs = [self.layers[i].get_output(train) for i in range(len(self.layers))]
            return T.concatenate(inputs, axis=self.concat_axis)
        elif self.mode == "join":
            inputs = OrderedDict()
            for i in range(len(self.layers)):
                inputs[self.layers[i].get_output(train).name] = self.layers[i].get_output(train)
            return inputs
        elif self.mode == "mul":
            s = self.layers[0].get_output(train)
            for i in range(1, len(self.layers)):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: keras-team/keras
Commit Name: 8bfafd6d7f814bcd0e77f6f34c17c2c9a003a02b
Time: 2015-09-22
Author: eder@macbook.com
File Name: keras/layers/core.py
Class Name: Merge
Method Name: get_output


Project Name: shenweichen/DeepCTR
Commit Name: e7bfb58ab7795bca341cbd0a763f6ec200f6315e
Time: 2019-02-17
Author: wcshen1994@163.com
File Name: deepctr/models/din.py
Class Name:
Method Name: get_input


Project Name: scikit-optimize/scikit-optimize
Commit Name: 02ae1275954d243531f1e1fad5d826a78bb77a2e
Time: 2020-02-11
Author: holgernahrstaedt@gmx.de
File Name: skopt/utils.py
Class Name:
Method Name: point_asdict