37fd456a5cd44db6ca23975de6fe151c9713c58f,keras/layers/core.py,Lambda,get_output,#Lambda#Any#,1546
Before Change
def get_output(self, train=False):
X = self.get_input(train)
func = marshal.loads(self.function)
func = types.FunctionType(func, globals())
return func(X)
After Change
arguments = self.arguments
arg_spec = inspect.getargspec(self.function)
if "train" in arg_spec.args:
arguments["train"] = train
return self.function(X, **arguments)
def get_config(self):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances
Project Name: keras-team/keras
Commit Name: 37fd456a5cd44db6ca23975de6fe151c9713c58f
Time: 2016-03-11
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: get_output
Project Name: tensorlayer/tensorlayer
Commit Name: 359aee7044bcf0e26bc352cedb91ab195dd3456f
Time: 2016-07-19
Author: haodong@dyn1225-249.wlan.ic.ac.uk
File Name: tensorlayer/layers.py
Class Name: Layer
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 37fd456a5cd44db6ca23975de6fe151c9713c58f
Time: 2016-03-11
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: LambdaMerge
Method Name: get_output
Project Name: RaRe-Technologies/gensim
Commit Name: 117d447087b2e9a36fda1279d837e045fefd1558
Time: 2018-02-08
Author: isakovuv@gmail.com
File Name: gensim/scripts/segment_wiki.py
Class Name:
Method Name:
Project Name: flow-project/flow
Commit Name: e6d35789d4c62d2de9231af1c3c37469d54f2212
Time: 2017-07-27
Author: akreidieh@gmail.com
File Name: cistar-dev/emergent_behavior_experiments/single_lane_platooning.py
Class Name:
Method Name: