564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16,agents/knowledge_transfer.py,KnowledgeTransfer,__init__,#KnowledgeTransfer#Any#Any#,29

Before Change


            for action_tensor in self.action_tensors:
                tf.add_to_collection("action", action_tensor)
            tf.add_to_collection("states", self.states)
            self.saver = tf.train.Saver()

    def build_networks(self):
        self.session = tf.Session()

After Change


            for action_tensor in self.action_tensors:
                tf.add_to_collection("action", action_tensor)
            tf.add_to_collection("states", self.states)
            self.saver = FastSaver()

    def build_networks(self):
        self.session = tf.Session()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/knowledge_transfer.py
Class Name: KnowledgeTransfer
Method Name: __init__


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/reinforce.py
Class Name: REINFORCE
Method Name: __init__


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/dppo.py
Class Name: DPPO
Method Name: __init__


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/async_knowledge_transfer.py
Class Name: AsyncKnowledgeTransfer
Method Name: __init__


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/ppo.py
Class Name: PPO
Method Name: __init__


Project Name: arnomoonens/yarll
Commit Name: 564edeaf4e22c8e8d9e79ef661b24e4e8aef8c16
Time: 2018-02-19
Author: arno.moonens@outlook.com
File Name: agents/a2c.py
Class Name: A2C
Method Name: __init__