23c40e68de2cffa77c92ae48cca1f81913756d2a,keras/layers/convolutional.py,Cropping1D,get_config,#Cropping1D#,2345

Before Change


        return _call_cropping(inputs, "channels_last", (self.cropping,))

    def get_config(self):
        config = {"cropping": self.cropping}
        base_config = super(Cropping1D, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))


class Cropping2D(Layer):
    Cropping layer for 2D input (e.g. picture).

After Change



    def get_config(self):
        base_config = super(Cropping1D, self).get_config()
        base_config.pop("data_format")
        base_config["cropping"] = base_config["cropping"][0]
        return base_config

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: keras-team/keras
Commit Name: 23c40e68de2cffa77c92ae48cca1f81913756d2a
Time: 2018-08-21
Author: gabrieldemarmiesse@gmail.com
File Name: keras/layers/convolutional.py
Class Name: Cropping1D
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 72e326dde38cb731424210bfd6e56f301ddc9e2b
Time: 2018-08-28
Author: gabrieldemarmiesse@gmail.com
File Name: keras/layers/convolutional.py
Class Name: ZeroPadding1D
Method Name: get_config


Project Name: keras-team/keras
Commit Name: c2a6caae852adb0c832da86d5815c26b2e7d24c6
Time: 2018-09-05
Author: gabrieldemarmiesse@gmail.com
File Name: keras/layers/convolutional.py
Class Name: UpSampling1D
Method Name: get_config