fe50dfc3e52a9d31827e10a1ee4b2aec3ff087f7,innvestigate/utils/keras/graph.py,,get_layer_neuronwise_io,#Any#Any#Any#Any#,188

Before Change


                tmp = [reshape(x) for x in tmp]

            kernel = kernel.reshape((-1, n_channels))
            dense = keras.layers.Dense(kernel.shape[0], use_bias=False)
            ret_Xs = [dense(x) for x in tmp]
    else:
        raise NotImplementedError()

After Change



        if return_i:
            extract_patches = ilayers.ExtractConv2DPatches(kernel.shape[:2],
                                                           kernel.shape[2],
                                                           layer.strides,
                                                           layer.dilation_rate,
                                                           layer.padding)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: albermax/innvestigate
Commit Name: fe50dfc3e52a9d31827e10a1ee4b2aec3ff087f7
Time: 2018-02-15
Author: alber.maximilian@gmail.com
File Name: innvestigate/utils/keras/graph.py
Class Name:
Method Name: get_layer_neuronwise_io


Project Name: calico/basenji
Commit Name: c791c40c9781cfd445a5741ca289d40bd81713a4
Time: 2019-06-24
Author: drk@calicolabs.com
File Name: basenji/seqnn.py
Class Name: SeqNN
Method Name: build_model


Project Name: shenweichen/DeepCTR
Commit Name: b787cdf9d9d1c7f500f91ccdeb87aa6d7725ae14
Time: 2019-05-18
Author: wcshen1994@163.com
File Name: deepctr/layers/interaction.py
Class Name: FGCNNLayer
Method Name: call