sxjscience commented on a change in pull request #18545:
URL: https://github.com/apache/incubator-mxnet/pull/18545#discussion_r440344728



##########
File path: python/mxnet/_numpy_op_doc.py
##########
@@ -699,6 +699,71 @@ def _npx_index_add(a, ind, val):
     pass
 
 
+def _npx_index_update(a, ind, val):
+    """
+    Update values to input according to given indexes.
+    If multiple indices refer to the same location it is undefined which 
update is chosen; it may choose
+    the order of updates arbitrarily and nondeterministically (e.g., due to 
concurrent updates on some
+    hardware platforms). Recommend not to use repeate positions.

Review comment:
       You may add a blank line here. (I find that `index_add` misses the blank 
line also).




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to