ac3d135b8402298781aacfee73348f129170a634,keras/layers/core.py,Merge,get_output,#Merge#Any#,333

Before Change


            for i in range(len(self.layers)):
                X = self.layers[i].get_output(train)
                if X.name is None:
                    inputs["input" + str(i)] = self.layers[i].get_output(train)	    
                    //raise ValueError("merge_mode="join" only works with named inputs")
                else:
                    inputs[X.name] = self.layers[i].get_output(train)

After Change


            for i in range(len(self.layers)):
                X = self.layers[i].get_output(train)
                if X.name is None:
                    raise ValueError("merge_mode="join" only works with named inputs")
                else:
                    inputs[X.name] = self.layers[i].get_output(train)
            return inputs
        elif self.mode == "mul":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: keras-team/keras
Commit Name: ac3d135b8402298781aacfee73348f129170a634
Time: 2015-10-26
Author: farizrahman4u@gmail.com
File Name: keras/layers/core.py
Class Name: Merge
Method Name: get_output


Project Name: keras-team/keras
Commit Name: fbe2ea653720fea9af41ce665021abda1566f01c
Time: 2015-10-27
Author: farizrahman4u@gmail.com
File Name: keras/layers/core.py
Class Name: Merge
Method Name: get_output


Project Name: keras-team/keras
Commit Name: 07f8cef29c39aeb2020d71d1e95d7ebc3c6437bb
Time: 2015-10-27
Author: farizrahman4u@gmail.com
File Name: keras/layers/core.py
Class Name: Merge
Method Name: get_output