d3270eb0aea3c1c4b264ed1494412a7fe5174f2d,deeppavlov/skills/default_skill/default_skill.py,DefaultStatelessSkill,__call__,#DefaultStatelessSkill#Any#Any#Any#,32

Before Change


                    response_batch[infer_i] = infer_result
                    states_batch[infer_i] = None
        else:
            response_batch = self.model(utterances_batch)

        return response_batch, confidence_batch, states_batch

After Change


            infer_results = self.model(*infer_utterances)

            if len(self.model.out_params) > 1:
                infer_results = infer_results[0]

            for infer_i, infer_result in zip(infer_indexes, infer_results):
                response_batch[infer_i] = infer_result
                states_batch[infer_i] = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: d3270eb0aea3c1c4b264ed1494412a7fe5174f2d
Time: 2018-10-19
Author: yoptar@gmail.com
File Name: deeppavlov/skills/default_skill/default_skill.py
Class Name: DefaultStatelessSkill
Method Name: __call__


Project Name: deepmipt/DeepPavlov
Commit Name: 1a6d4020c53e2b39e224616481528fad901cbd4e
Time: 2018-10-15
Author: yoptar@gmail.com
File Name: deeppavlov/core/commands/infer.py
Class Name:
Method Name: interact_model


Project Name: dmlc/gluon-nlp
Commit Name: 090944e816fd3ff8e861fba4452851e0a901491d
Time: 2019-01-28
Author: linhaibin.eric@gmail.com
File Name: scripts/language_model/large_word_language_model.py
Class Name:
Method Name: train