1efce8473b3a57ac4ebabcde1d464789c45b659e,batchflow/models/tf/unet.py,UNet,build_config,#UNet#Any#,74

Before Change



        if config.get("body/decoder/blocks/filters") is None:
            enc_filters = config.get("body/encoder/blocks/filters")
            config["body/decoder/blocks/filters"] = [f for f in reversed(enc_filters[:-1])] + [ibf]

        if config.get("body/decoder/upsample/filters") is None:
            config["body/decoder/upsample/filters"] = config.get("body/decoder/blocks/filters")

After Change



        if config.get("body/decoder/blocks/filters") is None:
            enc_filters = config.get("body/encoder/blocks/filters")
            config["body/decoder/blocks/filters"] = enc_filters[::-1]

        if config.get("body/decoder/upsample/filters") is None:
            config["body/decoder/upsample/filters"] = config.get("body/decoder/blocks/filters")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: analysiscenter/batchflow
Commit Name: 1efce8473b3a57ac4ebabcde1d464789c45b659e
Time: 2019-09-20
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/unet.py
Class Name: UNet
Method Name: build_config


Project Name: RaRe-Technologies/gensim
Commit Name: 6c4a31114641666e4f667eb1c2cd36063170b6d6
Time: 2012-03-08
Author: radimrehurek@seznam.cz
File Name: gensim/models/hdpmodel.py
Class Name: HdpModel
Method Name: optimal_ordering


Project Name: RaRe-Technologies/gensim
Commit Name: 6c4a31114641666e4f667eb1c2cd36063170b6d6
Time: 2012-03-08
Author: radimrehurek@seznam.cz
File Name: gensim/models/hdpmodel.py
Class Name: HdpTopicFormatter
Method Name: __init__