ced84c4b42d9186842e4cad6c11b0c8f2c18439b,keras/utils/generic_utils.py,,deserialize_keras_object,#Any#Any#Any#Any#,115

Before Change


                raise ValueError("Unknown " + printable_module_name +
                                 ": " + class_name)
        if hasattr(cls, "from_config"):
            arg_spec = inspect.getargspec(cls.from_config)
            custom_objects = custom_objects or {}
            if "custom_objects" in arg_spec.args:
                return cls.from_config(config["config"],
                                       custom_objects=dict(list(_GLOBAL_CUSTOM_OBJECTS.items()) +
                                                           list(custom_objects.items())))

After Change


                                 ": " + class_name)
        if hasattr(cls, "from_config"):
            custom_objects = custom_objects or {}
            if has_arg(cls.from_config, "custom_objects"):
                return cls.from_config(config["config"],
                                       custom_objects=dict(list(_GLOBAL_CUSTOM_OBJECTS.items()) +
                                                           list(custom_objects.items())))
Italian Trulli
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/utils/generic_utils.py
Class Name:
Method Name: deserialize_keras_object


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/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: 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: ced84c4b42d9186842e4cad6c11b0c8f2c18439b
Time: 2017-06-16
Author: chris.kerr@athion.de
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: call