02098c5c44893ce455aefcfc452aa00bd655987b,dataset/models/tf/inception.py,Inception_v1,body,#Any#Any#Any#,57

Before Change


            x = inputs
            for i, group_cfg in enumerate(arch):
                with tf.variable_scope("block-%d" % i):
                    for j, filters in enumerate(group_cfg["conv"]):
                        x = cls.block(x, filters, name="module-%d" % j, **kwargs)
                    if "max_pooling" in group_cfg:
                        x = conv_block(x, layout="p", name="max-pooling", **kwargs)

After Change


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

        with tf.variable_scope(name):
            x = inputs
            block_no = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception.py
Class Name: Inception_v1
Method Name: body


Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/unet.py
Class Name: UNet
Method Name: body


Project Name: analysiscenter/batchflow
Commit Name: 2beb1eca69bc22f79e0fd267377274b699b56b01
Time: 2017-12-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/resnet.py
Class Name: ResNet
Method Name: make_encoder