690e6c8f9a42cf5b42dc010dfb073e54175da221,ludwig/models/modules/combiners.py,ConcatCombiner,call,#ConcatCombiner#Any#Any#Any#,87

Before Change


        return_data = {"combiner_output": hidden}

        if len(encoder_outputs) == 1:
            encoder_dict = list(inputs.values())[0]
            if "encoder_output_state" in encoder_dict:
                return_data.update(
                    {"encoder_output_state": encoder_dict["encoder_output_state"]}
                )

After Change


        return_data = {"combiner_output": hidden}

        if len(inputs) == 1:
            for key, value in [d for d in inputs.values()][0].items():
                if key != "encoder_output":
                    return_data[key] = value

        return return_data


class SequenceConcatCombiner:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: uber/ludwig
Commit Name: 690e6c8f9a42cf5b42dc010dfb073e54175da221
Time: 2020-05-07
Author: jimthompson5802@gmail.com
File Name: ludwig/models/modules/combiners.py
Class Name: ConcatCombiner
Method Name: call


Project Name: reinforceio/tensorforce
Commit Name: 62cea7fcfcc9e20b784e08bddce5dc69b9578ef4
Time: 2019-01-05
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/baselines/cnn_baseline.py
Class Name: CNNBaseline
Method Name: __init__


Project Name: SINGROUP/dscribe
Commit Name: e0d2e4a9c86b057c58989277a19b98e763766f4b
Time: 2018-06-06
Author: lauri.himanen@aalto.fi
File Name: describe/descriptors/elementaldistribution.py
Class Name: ElementalDistribution
Method Name: describe


Project Name: google/deepvariant
Commit Name: 510ca4e9bb7403703aee755e9d9d5b75698b21ed
Time: 2020-07-23
Author: pichuan@google.com
File Name: deepvariant/labeler/haplotype_labeler.py
Class Name:
Method Name: deduplicate_haplotypes