f19c4f5cfecdccd65a65f298fd26f17b9d21ad52,tensorforce/core/models/model.py,Model,api_observe,#Model#,1023

Before Change


            deterministic=tf.constant(value=True, dtype=util.tf_dtype(dtype="bool")),
            independent=tf.constant(value=False, dtype=util.tf_dtype(dtype="bool")),
            optimization=tf.constant(value=False, dtype=util.tf_dtype(dtype="bool")),
            timestep=self.timestep[parallel], episode=self.episode[parallel]
        )

        one = tf.constant(value=1, dtype=util.tf_dtype(dtype="long"))

After Change


        )

        with tf.control_dependencies(control_inputs=assertions):
            reward = self.add_summary(
                label=("timestep-reward", "rewards"), name="timestep-reward", tensor=reward
            )
            assignment = self.episode_reward.scatter_nd_add(
                indices=[(parallel,)], updates=[tf.math.reduce_sum(input_tensor=reward, axis=0)]
            )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: reinforceio/tensorforce
Commit Name: f19c4f5cfecdccd65a65f298fd26f17b9d21ad52
Time: 2019-06-13
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/models/model.py
Class Name: Model
Method Name: api_observe


Project Name: reinforceio/tensorforce
Commit Name: 643b7511eccdaaaef63b9061bb16aa7c5bb3a9ed
Time: 2019-01-04
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/distributions/categorical.py
Class Name: Categorical
Method Name: tf_parameterize


Project Name: arnomoonens/yarll
Commit Name: eee4fee52f1d389230fa6daf7473e0e8c688a05a
Time: 2018-01-23
Author: x-006@hotmail.com
File Name: agents/a3c.py
Class Name: A3CTask
Method Name: run