21b6ca6fb83d82d2a5080b74e0bec6c34e68cda3,dataset/models/tf/densenet.py,DenseNet,body,#Any#Any#Any#,65

Before Change


        tf.Tensor
        
        kwargs = cls.fill_params("body", **kwargs)
        num_blocks = cls.pop("num_blocks", kwargs)

        with tf.variable_scope(name):
            x = inputs
            for i, num_layers in enumerate(num_blocks):

After Change


        tf.Tensor
        
        kwargs = cls.fill_params("body", **kwargs)
        num_blocks, block, transition = cls.pop(["num_blocks", "block", "transition_layer"], kwargs)
        block = {**kwargs, **block}
        transition = {**kwargs, **transition}

        with tf.variable_scope(name):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: analysiscenter/batchflow
Commit Name: 21b6ca6fb83d82d2a5080b74e0bec6c34e68cda3
Time: 2017-11-23
Author: rhudor@gmail.com
File Name: dataset/models/tf/densenet.py
Class Name: DenseNet
Method Name: body


Project Name: analysiscenter/batchflow
Commit Name: 4c50261df4847bdfd7c8067307e8532f96d04104
Time: 2019-08-02
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/torch/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: decoder


Project Name: analysiscenter/batchflow
Commit Name: 277fe4ceece1c93d46573b3c0da66ef3521c40e6
Time: 2019-08-09
Author: rhudor@gmail.com
File Name: batchflow/models/tf/mobilenet.py
Class Name: MobileNet_v3
Method Name: head