title: What is the difference between tf.scatter_update and tf.scatter_nd_update?
body: <p>From the documentation I can tell they differ for example in the way they handle the arguments.</p>
  
  <p>However, it's not clear to me when it's appropriate to use one over the other. (and similarly for the other <code>scatter(_nd)_foo</code> operations.)</p>
  
  <p><a href="https://www.tensorflow.org/api_docs/python/tf/scatter_update" rel="nofollow noreferrer">https://www.tensorflow.org/api_docs/python/tf/scatter_update</a></p>
  
  <p><a href="https://www.tensorflow.org/api_docs/python/tf/scatter_nd_update" rel="nofollow noreferrer">https://www.tensorflow.org/api_docs/python/tf/scatter_nd_update</a></p>