81233b3cd3189bcd62845bd2f56006a2e0417354,keras/layers/core.py,Lambda,get_config,#Lambda#,392

Before Change



        if isinstance(self.function, python_types.LambdaType):
            if py3:
                function = marshal.dumps(self.function.__code__)
            else:
                function = marshal.dumps(self.function.func_code)
            function_type = "lambda"
        else:

After Change



        if isinstance(self.function, python_types.LambdaType):
            if py3:
                function = marshal.dumps(self.function.__code__).decode("raw_unicode_escape")
            else:
                function = marshal.dumps(self.function.func_code).decode("raw_unicode_escape")
            function_type = "lambda"
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: 81233b3cd3189bcd62845bd2f56006a2e0417354
Time: 2016-04-04
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: get_config


Project Name: keras-team/keras
Commit Name: e37df7ca853431f0579d66307ba3f7e4d7cdd20b
Time: 2016-06-17
Author: henry0312@gmail.com
File Name: keras/layers/core.py
Class Name: Lambda
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 9c56b91548980f9c3aa8a5a4c7b41db3ed7f76bc
Time: 2016-05-30
Author: henry0312@gmail.com
File Name: keras/engine/topology.py
Class Name: Merge
Method Name: get_config


Project Name: keras-team/keras
Commit Name: a13a35fe523f79f85d7c540cfff05026f149eccd
Time: 2016-06-17
Author: henry0312@gmail.com
File Name: keras/engine/topology.py
Class Name: Merge
Method Name: get_config