442423e30d72aeb2f63cce7baee056b0d929930d,keras/backend/tensorflow_backend.py,,update_add,#Any#Any#,1243
Before Change
// Returns
The variable `x` updated.
op = tf_state_ops.assign_add(x, increment)
with tf.control_dependencies([op]):
return tf.identity(x)
After Change
// Returns
The variable `x` updated.
return tf_state_ops.assign_add(x, increment)
def update_sub(x, decrement):
Update the value of `x` by subtracting `decrement`.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: keras-team/keras
Commit Name: 442423e30d72aeb2f63cce7baee056b0d929930d
Time: 2019-07-01
Author: psv@google.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: update_add
Project Name: reinforceio/tensorforce
Commit Name: a8da3205f52527c363db5783283f25dd1721addd
Time: 2017-12-02
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/explorations/ornstein_uhlenbeck_process.py
Class Name: OrnsteinUhlenbeckProcess
Method Name: tf_explore
Project Name: reinforceio/tensorforce
Commit Name: 0fc5ec2d969ffa81c49552e9132320f84b52fce1
Time: 2018-02-18
Author: k@ifricke.com
File Name: tensorforce/core/explorations/ornstein_uhlenbeck_process.py
Class Name: OrnsteinUhlenbeckProcess
Method Name: tf_explore