As mentioned by @mhenning,
You can use tf.scatter_add() for Tensorflow version 1.15. But, these functions -
- tf.scatter_add(),
- tf.scatter_div(),
- tf.scatter_min(),
- tf.scatter_max(),
- tf.scatter_mul() are deprecated in the latest Tensorflow versions 2.x and are only available with Tensorflow 1.x.