c81713367e3e97f13dd584ae8e48b79615951437,keras/layers/local.py,LocallyConnected2D,build,#LocallyConnected2D#Any#,301

Before Change


                             "should be fully-defined, but layer received "
                             "the inputs shape " + str(input_shape))

        output_shape = self.compute_output_shape(input_shape)
        if self.data_format == "channels_first":
            _, filters, output_row, output_col = output_shape
            input_filter = input_shape[1]
        elif self.data_format == "channels_last":

After Change


                             "the inputs shape " + str(input_shape))
        output_row = conv_utils.conv_output_length(input_row, self.kernel_size[0],
                                                   self.padding, self.strides[0])
        output_col = conv_utils.conv_output_length(input_col, self.kernel_size[1],
                                                   self.padding, self.strides[1])
        self.output_row = output_row
        self.output_col = output_col
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: c81713367e3e97f13dd584ae8e48b79615951437
Time: 2017-02-23
Author: francois.chollet@gmail.com
File Name: keras/layers/local.py
Class Name: LocallyConnected2D
Method Name: build


Project Name: keras-team/keras
Commit Name: c81713367e3e97f13dd584ae8e48b79615951437
Time: 2017-02-23
Author: francois.chollet@gmail.com
File Name: keras/layers/local.py
Class Name: LocallyConnected1D
Method Name: build


Project Name: tensorflow/hub
Commit Name: fbbbb374e8359a74f75ec244814fdea100e2cfa7
Time: 2019-02-28
Author: no-reply@google.com
File Name: tensorflow_hub/keras_layer.py
Class Name: KerasLayer
Method Name: call