a2b4bfda4d4a07444491b5292b9eed82773a0cc4,src/garage/tf/algos/td3.py,TD3,__setstate__,#TD3#Any#,251

Before Change


            state (dict): Current state.

        
        super().__setstate__(state)
        self.init_opt()

    def optimize_policy(self, itr, samples_data):
        Perform algorithm optimizing.

After Change


            state (dict): Current state.

        
        self.__dict__.update(state)
        self.init_opt()

    def train_once(self, itr, paths):
        Perform one step of policy optimization given one batch of samples.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: rlworkgroup/garage
Commit Name: a2b4bfda4d4a07444491b5292b9eed82773a0cc4
Time: 2020-06-05
Author: ericyihc@gmail.com
File Name: src/garage/tf/algos/td3.py
Class Name: TD3
Method Name: __setstate__


Project Name: GPflow/GPflow
Commit Name: a61e3f01bf798301956c108f10737c197d041e50
Time: 2016-06-25
Author: james.hensman@gmail.com
File Name: GPflow/param.py
Class Name: Parentable
Method Name: __setstate__


Project Name: rlworkgroup/garage
Commit Name: d24de08ee44243793753c77ebec277b7401efc89
Time: 2019-11-01
Author: hegde.nishanth@gmail.com
File Name: src/garage/envs/normalized_env.py
Class Name: NormalizedEnv
Method Name: __setstate__


Project Name: dnouri/skorch
Commit Name: 0f234d7e930d64daf68f8107b8c6cc5b2f085b68
Time: 2017-09-29
Author: benjamin.bossan@ottogroup.com
File Name: inferno/net.py
Class Name: NeuralNet
Method Name: __setstate__