You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by bg...@apache.org on 2022/01/04 09:03:18 UTC

[incubator-mxnet] 02/06: remove comment

This is an automated email from the ASF dual-hosted git repository.

bgawrych pushed a commit to branch take_opt
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit aba82312dec344538fabc46228c9ded396925ace
Author: Bartlomiej Gawrych <ba...@intel.com>
AuthorDate: Mon Nov 15 09:38:45 2021 +0100

    remove comment
---
 src/operator/tensor/indexing_op.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/operator/tensor/indexing_op.cc b/src/operator/tensor/indexing_op.cc
index 4602640..c46d192 100644
--- a/src/operator/tensor/indexing_op.cc
+++ b/src/operator/tensor/indexing_op.cc
@@ -84,7 +84,7 @@ struct TakeNonzeroAxisCPU {
                                   const int idx_size,
                                   const int axis_dim,
                                   const int axis) {
-    for (index_t j = 0; j < static_cast<index_t>(idx_size); ++j) {  // 4
+    for (index_t j = 0; j < static_cast<index_t>(idx_size); ++j) {
       int index = indices[j];
       if (clip) {
         index = (index < 0) ? 0 : index;