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

Before Change


        if len(encoder_outputs) > 1:
            hidden = concatenate(encoder_outputs.values(), 1)
        else:
            hidden = list(encoder_outputs.values())[0]

        // ================ Fully Connected ================
        if self.fc_stack is not None:

After Change


            mask=None,
            **kwargs
    ):
        encoder_outputs = [inputs[k]["encoder_output"] for k in inputs]
        // ================ Concat ================
        if len(encoder_outputs) > 1:
            hidden = concatenate(encoder_outputs, 1)
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: uber/ludwig
Commit Name: cb404d85edb3f093281f212ff95a7ed32c242506
Time: 2020-04-13
Author: jimthompson5802@gmail.com
File Name: ludwig/models/modules/combiners.py
Class Name: ConcatCombiner
Method Name: call


Project Name: ray-project/ray
Commit Name: 7c0200c93b88898507dbafcb2d92314d0dbcd451
Time: 2020-04-28
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/master.py
Class Name: ServeMaster
Method Name: get_all_endpoints


Project Name: uber/ludwig
Commit Name: 2ebf5a58b1504ff8c297e5903fb33a52c3fc463b
Time: 2020-04-13
Author: jimthompson5802@gmail.com
File Name: ludwig/models/modules/combiners.py
Class Name: ConcatCombiner
Method Name: call