ced84c4b42d9186842e4cad6c11b0c8f2c18439b,keras/legacy/layers.py,Merge,call,#Merge#Any#Any#,193
Before Change
// Case: "mode" is a lambda or function.
if callable(self.mode):
arguments = self.arguments
arg_spec = inspect.getargspec(self.mode)
if "mask" in arg_spec.args :
arguments["mask"] = mask
return self.mode(inputs, **arguments)
After Change
// Case: "mode" is a lambda or function.
if callable(self.mode):
arguments = self.arguments
if has_arg(self.mode, "mask") :
arguments["mask"] = mask
return self.mode(inputs, **arguments)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances Project Name: keras-team/keras
Commit Name: ced84c4b42d9186842e4cad6c11b0c8f2c18439b
Time: 2017-06-16
Author: chris.kerr@athion.de
File Name: keras/legacy/layers.py
Class Name: Merge
Method Name: call
Project Name: keras-team/keras
Commit Name: 04a20177cf332004a291cee626c20a0262427796
Time: 2017-06-21
Author: chris.kerr@athion.de
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: call
Project Name: keras-team/keras
Commit Name: ced84c4b42d9186842e4cad6c11b0c8f2c18439b
Time: 2017-06-16
Author: chris.kerr@athion.de
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: call
Project Name: keras-team/keras
Commit Name: 04a20177cf332004a291cee626c20a0262427796
Time: 2017-06-21
Author: chris.kerr@athion.de
File Name: keras/utils/generic_utils.py
Class Name:
Method Name: deserialize_keras_object
Project Name: keras-team/keras
Commit Name: 04a20177cf332004a291cee626c20a0262427796
Time: 2017-06-21
Author: chris.kerr@athion.de
File Name: keras/legacy/layers.py
Class Name: Merge
Method Name: call
Project Name: keras-team/keras
Commit Name: ced84c4b42d9186842e4cad6c11b0c8f2c18439b
Time: 2017-06-16
Author: chris.kerr@athion.de
File Name: keras/utils/generic_utils.py
Class Name:
Method Name: deserialize_keras_object