11c6bf1dbd051d087519ff771b39dac600c0d96d,batchflow/models/tf/encoder_decoder.py,EncoderDecoder,head,#Any#Any#Any#Any#,163

Before Change


                filters = channels
            elif isinstance(filters, int):
                if filters != channels and "layout" in kwargs:
                    filters = [filters] * filters_needed(kwargs["layout"])

            if isinstance(filters, (list, tuple)) and len(filters) > 0:
                if isinstance(filters, tuple):

After Change


                with tf.variable_scope("final"):
                    x = cls.crop(x, targets, kwargs["data_format"])
                    args = cls.combine_kwargs(kwargs, dict(layout="c", kernel_size=1, filters=channels))
                    x = conv_block(x, **args)

        return x

    @classmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: analysiscenter/batchflow
Commit Name: 11c6bf1dbd051d087519ff771b39dac600c0d96d
Time: 2019-07-29
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: head


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: 5bfdba356f31723366a17dbc2421f345c9273199
Time: 2017-11-28
Author: rhudor@gmail.com
File Name: dataset/models/tf/resnet.py
Class Name: ResNet
Method Name: block