6db2a40542917f11509cbdc79c882049931d4f86,src/agent.py,LstmRolloutAgent,write,#LstmRolloutAgent#,191

Before Change


        outs, lang_h, lang_hs = res
        self.lang_h = lang_h
        self.lang_hs.append(lang_hs)
        self.words.append(self.model.word2var("YOU:"))
        self.words.append(outs)
        return self._decode(outs, self.model.word_dict)

After Change


        outs, lang_h, lang_hs = res
        self.lang_h = lang_h
        self.lang_hs.append(lang_hs)
        self.words.append(self.model.word2var("YOU:").unsqueeze(1))
        self.words.append(outs)
        return self._decode(outs, self.model.word_dict)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 6db2a40542917f11509cbdc79c882049931d4f86
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: LstmRolloutAgent
Method Name: write


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 6db2a40542917f11509cbdc79c882049931d4f86
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: LstmAgent
Method Name: write


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 6db2a40542917f11509cbdc79c882049931d4f86
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: LstmAgent
Method Name: read


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 6db2a40542917f11509cbdc79c882049931d4f86
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: BatchedRolloutAgent
Method Name: write


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 6db2a40542917f11509cbdc79c882049931d4f86
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: RlAgent
Method Name: write


Project Name: facebookresearch/end-to-end-negotiator
Commit Name: 718f7331c8cbe4b5273614c832439dd156ff4614
Time: 2018-03-20
Author: bkgoksel@gmail.com
File Name: src/agent.py
Class Name: LstmRolloutAgent
Method Name: write