This is an automated email from the ASF dual-hosted git repository.
haibin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new a9ac9d1 Added/changed file_name, brief description comments in some
files (#13033)
a9ac9d1 is described below
commit a9ac9d1257a1bef07644d549d2d128f2e0ff74a4
Author: Chaitanya Prakash Bapat <[email protected]>
AuthorDate: Tue Oct 30 10:04:09 2018 -0700
Added/changed file_name, brief description comments in some files (#13033)
---
src/operator/tensor/broadcast_reduce-inl.h | 4 ++--
src/operator/tensor/broadcast_reduce_op.h | 4 ++--
src/operator/tensor/broadcast_reduce_op_index.cc | 2 +-
src/operator/tensor/broadcast_reduce_op_index.cu | 4 ++--
src/operator/tensor/broadcast_reduce_op_value.cc | 4 ++--
src/operator/tensor/broadcast_reduce_op_value.cu | 4 ++--
src/operator/tensor/cast_storage-inl.cuh | 2 +-
src/operator/tensor/cast_storage-inl.h | 2 +-
src/operator/tensor/control_flow_op.cu | 2 +-
src/operator/tensor/diag_op-inl.h | 2 +-
src/operator/tensor/diag_op.cc | 2 +-
src/operator/tensor/diag_op.cu | 2 +-
src/operator/tensor/dot-inl.cuh | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op-inl.cuh | 4 ++++
src/operator/tensor/elemwise_binary_broadcast_op.h | 4 ++--
src/operator/tensor/elemwise_binary_broadcast_op_basic.cc | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op_basic.cu | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op_extended.cc | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op_extended.cu | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op_logic.cc | 2 +-
src/operator/tensor/elemwise_binary_broadcast_op_logic.cu | 2 +-
src/operator/tensor/elemwise_binary_op-inl.h | 2 +-
src/operator/tensor/elemwise_binary_op.cc | 7 +++++++
src/operator/tensor/elemwise_binary_op_basic.cc | 4 ++--
src/operator/tensor/elemwise_binary_op_basic.cu | 4 ++--
src/operator/tensor/elemwise_binary_op_extended.cu | 2 +-
src/operator/tensor/elemwise_binary_op_logic.cc | 2 +-
src/operator/tensor/elemwise_binary_op_logic.cu | 2 +-
src/operator/tensor/elemwise_binary_scalar_op_basic.cc | 4 ++--
src/operator/tensor/elemwise_binary_scalar_op_basic.cu | 4 ++--
src/operator/tensor/elemwise_binary_scalar_op_extended.cc | 4 ++--
src/operator/tensor/elemwise_binary_scalar_op_extended.cu | 4 ++--
src/operator/tensor/elemwise_binary_scalar_op_logic.cc | 4 ++--
src/operator/tensor/elemwise_binary_scalar_op_logic.cu | 4 ++--
src/operator/tensor/elemwise_scatter_op.cc | 5 +++++
src/operator/tensor/elemwise_scatter_op.cu | 5 +++++
src/operator/tensor/elemwise_sum.cc | 2 +-
src/operator/tensor/elemwise_sum.cu | 2 +-
src/operator/tensor/elemwise_sum.h | 2 +-
src/operator/tensor/elemwise_unary_op_basic.cc | 2 +-
src/operator/tensor/elemwise_unary_op_basic.cu | 4 ++--
src/operator/tensor/elemwise_unary_op_trig.cc | 2 +-
src/operator/tensor/elemwise_unary_op_trig.cu | 4 ++--
src/operator/tensor/histogram-inl.h | 4 ++++
src/operator/tensor/histogram.cc | 4 ++++
src/operator/tensor/histogram.cu | 4 ++++
src/operator/tensor/indexing_op.cc | 2 +-
src/operator/tensor/indexing_op.cu | 2 +-
src/operator/tensor/indexing_op.h | 2 +-
src/operator/tensor/la_op.cc | 2 +-
src/operator/tensor/la_op.cu | 2 +-
src/operator/tensor/la_op.h | 2 +-
src/operator/tensor/ordering_op.cc | 2 +-
src/operator/tensor/ordering_op.cu | 2 +-
src/operator/tensor/ravel.cc | 2 +-
src/operator/tensor/ravel.cu | 2 +-
src/operator/tensor/sparse_retain-inl.h | 2 +-
src/operator/tensor/sparse_retain.cc | 2 +-
src/operator/tensor/sparse_retain.cu | 2 +-
59 files changed, 101 insertions(+), 68 deletions(-)
diff --git a/src/operator/tensor/broadcast_reduce-inl.h
b/src/operator/tensor/broadcast_reduce-inl.h
index 39c68bd..167fa34b 100644
--- a/src/operator/tensor/broadcast_reduce-inl.h
+++ b/src/operator/tensor/broadcast_reduce-inl.h
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2015-2017 by Contributors
- * \file broadcast_reduce_kernel.h
- * \brief Function definition of elementwise unary operators
+ * \file broadcast_reduce-inl.h
+ * \brief CPU-specific Function definition of broadcast and reduce operators
*/
#ifndef MXNET_OPERATOR_TENSOR_BROADCAST_REDUCE_INL_H_
#define MXNET_OPERATOR_TENSOR_BROADCAST_REDUCE_INL_H_
diff --git a/src/operator/tensor/broadcast_reduce_op.h
b/src/operator/tensor/broadcast_reduce_op.h
index 0944d25..1edcb5a 100644
--- a/src/operator/tensor/broadcast_reduce_op.h
+++ b/src/operator/tensor/broadcast_reduce_op.h
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2015 by Contributors
- * \file elementwise_unary_op-inl.h
- * \brief Function definition of elementwise unary operators
+ * \file broadcast_reduce_op.h
+ * \brief Function definition of broadcast and reduce operators
*/
#ifndef MXNET_OPERATOR_TENSOR_BROADCAST_REDUCE_OP_H_
#define MXNET_OPERATOR_TENSOR_BROADCAST_REDUCE_OP_H_
diff --git a/src/operator/tensor/broadcast_reduce_op_index.cc
b/src/operator/tensor/broadcast_reduce_op_index.cc
index 969c23a..c18a8bc 100644
--- a/src/operator/tensor/broadcast_reduce_op_index.cc
+++ b/src/operator/tensor/broadcast_reduce_op_index.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file broadcast_reduce_op_index.cc
- * \brief CPU Implementation of broadcast and reduce functions.
+ * \brief CPU Implementation of broadcast and reduce functions based on index.
*/
#include "./broadcast_reduce_op.h"
diff --git a/src/operator/tensor/broadcast_reduce_op_index.cu
b/src/operator/tensor/broadcast_reduce_op_index.cu
index 0d7b29d..c8f2b07 100644
--- a/src/operator/tensor/broadcast_reduce_op_index.cu
+++ b/src/operator/tensor/broadcast_reduce_op_index.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file broadcast_reduce_op.cu
- * \brief GPU Implementation of broadcast and reduce functions.
+ * \file broadcast_reduce_op_index.cu
+ * \brief GPU Implementation of broadcast and reduce functions based on index.
*/
#include "./broadcast_reduce_op.h"
diff --git a/src/operator/tensor/broadcast_reduce_op_value.cc
b/src/operator/tensor/broadcast_reduce_op_value.cc
index c3bc9cf..1fdbb89 100644
--- a/src/operator/tensor/broadcast_reduce_op_value.cc
+++ b/src/operator/tensor/broadcast_reduce_op_value.cc
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file broadcast_reduce_op.cc
- * \brief CPU Implementation of broadcast and reduce functions.
+ * \file broadcast_reduce_op_value.cc
+ * \brief CPU Implementation of broadcast and reduce functions based on value.
*/
#include "./broadcast_reduce_op.h"
diff --git a/src/operator/tensor/broadcast_reduce_op_value.cu
b/src/operator/tensor/broadcast_reduce_op_value.cu
index 12ddcdd..881f520 100644
--- a/src/operator/tensor/broadcast_reduce_op_value.cu
+++ b/src/operator/tensor/broadcast_reduce_op_value.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file broadcast_reduce_op.cu
- * \brief GPU Implementation of broadcast and reduce functions.
+ * \file broadcast_reduce_op_value.cu
+ * \brief GPU Implementation of broadcast and reduce functions based on value.
*/
#include "./broadcast_reduce_op.h"
diff --git a/src/operator/tensor/cast_storage-inl.cuh
b/src/operator/tensor/cast_storage-inl.cuh
index a5b4df5..39e5226 100644
--- a/src/operator/tensor/cast_storage-inl.cuh
+++ b/src/operator/tensor/cast_storage-inl.cuh
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file cast_storage-inl.cuh
- * \brief implementation of cast_storage op on GPU
+ * \brief GPU implementation of cast_storage op
*/
#ifndef MXNET_OPERATOR_TENSOR_CAST_STORAGE_INL_CUH_
#define MXNET_OPERATOR_TENSOR_CAST_STORAGE_INL_CUH_
diff --git a/src/operator/tensor/cast_storage-inl.h
b/src/operator/tensor/cast_storage-inl.h
index f905bf8..cdb6246 100644
--- a/src/operator/tensor/cast_storage-inl.h
+++ b/src/operator/tensor/cast_storage-inl.h
@@ -19,7 +19,7 @@
/*!
* \file cast_storage-inl.h
- * \brief cast_storage implementation for dense and sparse tensors
+ * \brief CPU implementation of cast_storage operator for dense and sparse
tensors
*/
#ifndef MXNET_OPERATOR_TENSOR_CAST_STORAGE_INL_H_
#define MXNET_OPERATOR_TENSOR_CAST_STORAGE_INL_H_
diff --git a/src/operator/tensor/control_flow_op.cu
b/src/operator/tensor/control_flow_op.cu
index 7c34a65..6371b62 100644
--- a/src/operator/tensor/control_flow_op.cu
+++ b/src/operator/tensor/control_flow_op.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file control_flow_op.cu
- * \brief
+ * \brief GPU implementation of control flow
*/
#include "./control_flow_op.h"
diff --git a/src/operator/tensor/diag_op-inl.h
b/src/operator/tensor/diag_op-inl.h
index deab256..23123cf 100644
--- a/src/operator/tensor/diag_op-inl.h
+++ b/src/operator/tensor/diag_op-inl.h
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file diag_op-inl.h
-* \brief CPU Implementation of the diag op
+* \brief Function definition of the diag op
* \author Istvan Fehervari, Zhijingcheng Yu
*/
diff --git a/src/operator/tensor/diag_op.cc b/src/operator/tensor/diag_op.cc
index cd5be9d..9dcdb63 100644
--- a/src/operator/tensor/diag_op.cc
+++ b/src/operator/tensor/diag_op.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file diag_op.cc
-* \brief
+* \brief CPU implementation of diag operator
* \author Istvan Fehervari, Zhijingcheng Yu
*/
diff --git a/src/operator/tensor/diag_op.cu b/src/operator/tensor/diag_op.cu
index a3928f7..c7db3d9 100644
--- a/src/operator/tensor/diag_op.cu
+++ b/src/operator/tensor/diag_op.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file diag_op.cu
-* \brief GPU Implementation of the diag op
+* \brief GPU Implementation of the diag operator
* \author Istvan Fehervari
*/
diff --git a/src/operator/tensor/dot-inl.cuh b/src/operator/tensor/dot-inl.cuh
index 6c94ad1..d6fed4a 100644
--- a/src/operator/tensor/dot-inl.cuh
+++ b/src/operator/tensor/dot-inl.cuh
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file dot-inl.cuh
- * \brief implementation of matrix dot op on GPU
+ * \brief GPU specific function definition of matrix dot operator
*/
#ifndef MXNET_OPERATOR_TENSOR_DOT_INL_CUH_
#define MXNET_OPERATOR_TENSOR_DOT_INL_CUH_
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op-inl.cuh
b/src/operator/tensor/elemwise_binary_broadcast_op-inl.cuh
index 1998576..d02004d 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op-inl.cuh
+++ b/src/operator/tensor/elemwise_binary_broadcast_op-inl.cuh
@@ -17,6 +17,10 @@
* under the License.
*/
+/*!
+ * \file elemwise_binary_broadcast_op-inl.cuh
+ * \brief CUDA specific Function definition of elementwise binary broadcast
operators
+ */
#ifndef MXNET_OPERATOR_TENSOR_ELEMWISE_BINARY_BROADCAST_OP_CUH_
#define MXNET_OPERATOR_TENSOR_ELEMWISE_BINARY_BROADCAST_OP_CUH_
#include <mxnet/operator_util.h>
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op.h
b/src/operator/tensor/elemwise_binary_broadcast_op.h
index 8fd2cb4..391c351 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op.h
+++ b/src/operator/tensor/elemwise_binary_broadcast_op.h
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2015 by Contributors
- * \file elementwise_binary_broadcast_op.h
- * \brief Function definition of elementwise unary operators
+ * \file elemwise_binary_broadcast_op.h
+ * \brief Function definition of elementwise binary broadcast operators
*/
#ifndef MXNET_OPERATOR_TENSOR_ELEMWISE_BINARY_BROADCAST_OP_H_
#define MXNET_OPERATOR_TENSOR_ELEMWISE_BINARY_BROADCAST_OP_H_
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
index 7301ece..8583702 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cc
- * \brief CPU Implementation of unary function.
+ * \brief CPU Implementation of binary function.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
index a00330d..6231d03 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_basic.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \brief GPU Implementation of binary function.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
index 8fc3c48..842007e 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_broadcast_op_extended.cc
- * \brief CPU Implementation of unary function.
+ * \brief CPU Implementation of extended functions for elementwise binary
broadcast operator.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cu
b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cu
index 27a764c..ea527be 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cu
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \brief GPU Implementation of extended functions for elementwise binary
broadcast operator.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_logic.cc
b/src/operator/tensor/elemwise_binary_broadcast_op_logic.cc
index 3cb3ba3..cd433e0 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_logic.cc
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_logic.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_broadcast_op_logic.cc
- * \brief CPU Implementation of unary function.
+ * \brief CPU Implementation of elementwise binary broadcast logical operators.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_logic.cu
b/src/operator/tensor/elemwise_binary_broadcast_op_logic.cu
index d6b01aa..0a12212 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_logic.cu
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_logic.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2016 by Contributors
* \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \brief GPU Implementation of elementwise binary broadcast logical operators.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_op-inl.h
b/src/operator/tensor/elemwise_binary_op-inl.h
index 72a02ff..42f907f 100644
--- a/src/operator/tensor/elemwise_binary_op-inl.h
+++ b/src/operator/tensor/elemwise_binary_op-inl.h
@@ -18,7 +18,7 @@
*/
/*!
- * \file elemwise_binary_op.h
+ * \file elemwise_binary_op-inl.h
* \brief Function definition of elementwise binary operators
*/
#ifndef MXNET_OPERATOR_TENSOR_ELEMWISE_BINARY_OP_INL_H_
diff --git a/src/operator/tensor/elemwise_binary_op.cc
b/src/operator/tensor/elemwise_binary_op.cc
index 9ccbacc..173d65f 100644
--- a/src/operator/tensor/elemwise_binary_op.cc
+++ b/src/operator/tensor/elemwise_binary_op.cc
@@ -16,6 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
+
+/*!
+ * Copyright (c) 2016 by Contributors
+ * \file elemwise_binary_op.cc
+ * \brief CPU implementation of elementwise binary operators
+ */
+
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_op_basic.cc
b/src/operator/tensor/elemwise_binary_op_basic.cc
index 339290d..f7599ad 100644
--- a/src/operator/tensor/elemwise_binary_op_basic.cc
+++ b/src/operator/tensor/elemwise_binary_op_basic.cc
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cc
- * \brief CPU Implementation of unary function.
+ * \file elemwise_binary_op_basic.cc
+ * \brief CPU Implementation of basic elementwise binary broadcast operators
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op-inl.h"
diff --git a/src/operator/tensor/elemwise_binary_op_basic.cu
b/src/operator/tensor/elemwise_binary_op_basic.cu
index 981e7ab..f88b8eb 100644
--- a/src/operator/tensor/elemwise_binary_op_basic.cu
+++ b/src/operator/tensor/elemwise_binary_op_basic.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \file elemwise_binary_op_basic.cu
+ * \brief GPU Implementation of basic elementwise binary broadcast operators
*/
#include <cub/cub.cuh>
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_op_extended.cu
b/src/operator/tensor/elemwise_binary_op_extended.cu
index 54eceb2..585d379 100644
--- a/src/operator/tensor/elemwise_binary_op_extended.cu
+++ b/src/operator/tensor/elemwise_binary_op_extended.cu
@@ -19,7 +19,7 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
+ * \file elemwise_binary_op_extended.cu
* \brief GPU Implementation of unary function.
*/
#include "./elemwise_unary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_op_logic.cc
b/src/operator/tensor/elemwise_binary_op_logic.cc
index 5c0b442..a6f61c2 100644
--- a/src/operator/tensor/elemwise_binary_op_logic.cc
+++ b/src/operator/tensor/elemwise_binary_op_logic.cc
@@ -19,7 +19,7 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cc
+ * \file elemwise_binary_op_logic.cc
* \brief CPU Implementation of unary function.
*/
#include "./elemwise_unary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_op_logic.cu
b/src/operator/tensor/elemwise_binary_op_logic.cu
index 456622d..e36e697 100644
--- a/src/operator/tensor/elemwise_binary_op_logic.cu
+++ b/src/operator/tensor/elemwise_binary_op_logic.cu
@@ -19,7 +19,7 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
+ * \file elemwise_binary_op_logic.cu
* \brief GPU Implementation of unary function.
*/
#include "./elemwise_unary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_basic.cc
b/src/operator/tensor/elemwise_binary_scalar_op_basic.cc
index 6118ddf..1eb3da6 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_basic.cc
+++ b/src/operator/tensor/elemwise_binary_scalar_op_basic.cc
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cc
- * \brief CPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_basic.cc
+ * \brief CPU Implementation of basic binary scalar functions.
*/
#include "../../common/utils.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_basic.cu
b/src/operator/tensor/elemwise_binary_scalar_op_basic.cu
index 51b3866..3c83920 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_basic.cu
+++ b/src/operator/tensor/elemwise_binary_scalar_op_basic.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_basic.cu
+ * \brief CPU Implementation of basic binary scalar functions.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
b/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
index a0c4149..dbe3c4f 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
+++ b/src/operator/tensor/elemwise_binary_scalar_op_extended.cc
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cc
- * \brief CPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_extended.cc
+ * \brief CPU Implementation of extended binary scalar functions.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_extended.cu
b/src/operator/tensor/elemwise_binary_scalar_op_extended.cu
index 9688472..2bd52d7 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_extended.cu
+++ b/src/operator/tensor/elemwise_binary_scalar_op_extended.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_extended.cu
+ * \brief GPU Implementation of extended binary scalar functions.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_logic.cc
b/src/operator/tensor/elemwise_binary_scalar_op_logic.cc
index 07473a1..17e7615 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_logic.cc
+++ b/src/operator/tensor/elemwise_binary_scalar_op_logic.cc
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cc
- * \brief CPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_logic.cc
+ * \brief CPU Implementation of binary scalar logic functions.
*/
#include "./elemwise_unary_op.h"
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_binary_scalar_op_logic.cu
b/src/operator/tensor/elemwise_binary_scalar_op_logic.cu
index 8ec8b73..6c393e0 100644
--- a/src/operator/tensor/elemwise_binary_scalar_op_logic.cu
+++ b/src/operator/tensor/elemwise_binary_scalar_op_logic.cu
@@ -19,8 +19,8 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file elemwise_binary_scalar_op.cu
- * \brief GPU Implementation of unary function.
+ * \file elemwise_binary_scalar_op_logic.cu
+ * \brief GPU Implementation of binary scalar logic functions.
*/
#include "elemwise_binary_scalar_op.h"
diff --git a/src/operator/tensor/elemwise_scatter_op.cc
b/src/operator/tensor/elemwise_scatter_op.cc
index 959faf7..dd6da0c 100644
--- a/src/operator/tensor/elemwise_scatter_op.cc
+++ b/src/operator/tensor/elemwise_scatter_op.cc
@@ -16,6 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
+
+/*!
+ * \file elemwise_scatter_op.cc
+ * \brief CPU implementation of elementwise scatter operators
+ */
#include "./elemwise_binary_op-inl.h"
#include "./elemwise_binary_scalar_op.h"
#include "./elemwise_scatter_op.h"
diff --git a/src/operator/tensor/elemwise_scatter_op.cu
b/src/operator/tensor/elemwise_scatter_op.cu
index acb7edf..913aa95 100644
--- a/src/operator/tensor/elemwise_scatter_op.cu
+++ b/src/operator/tensor/elemwise_scatter_op.cu
@@ -16,6 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
+
+ /*!
+ * \file elemwise_scatter_op.cu
+ * \brief GPU implementation of elementwise scatter operators
+ */
#include "./elemwise_binary_scalar_op.h"
#include "./elemwise_scatter_op.h"
diff --git a/src/operator/tensor/elemwise_sum.cc
b/src/operator/tensor/elemwise_sum.cc
index 1666537..85b58b6 100644
--- a/src/operator/tensor/elemwise_sum.cc
+++ b/src/operator/tensor/elemwise_sum.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file elemwise_sum.cc
- * \brief elementwise sum operator
+ * \brief CPU implementation of elementwise sum operator
*/
#include "./elemwise_sum.h"
#include "../../ndarray/ndarray_function.h"
diff --git a/src/operator/tensor/elemwise_sum.cu
b/src/operator/tensor/elemwise_sum.cu
index e2b41e3..f9a2482 100644
--- a/src/operator/tensor/elemwise_sum.cu
+++ b/src/operator/tensor/elemwise_sum.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file elemwise_sum.cu
- * \brief elementwise sum operator
+ * \brief GPU implementation of elementwise sum operator
*/
#include "./elemwise_sum.h"
#include "../../ndarray/ndarray_function.h"
diff --git a/src/operator/tensor/elemwise_sum.h
b/src/operator/tensor/elemwise_sum.h
index acf73e7..08f57d1 100644
--- a/src/operator/tensor/elemwise_sum.h
+++ b/src/operator/tensor/elemwise_sum.h
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file elemwise_sum.h
- * \brief elementwise sum
+ * \brief Function definition of elementwise sum
* \author Bing Xu
*/
#ifndef MXNET_OPERATOR_TENSOR_ELEMWISE_SUM_H_
diff --git a/src/operator/tensor/elemwise_unary_op_basic.cc
b/src/operator/tensor/elemwise_unary_op_basic.cc
index 49ae976..a541085 100644
--- a/src/operator/tensor/elemwise_unary_op_basic.cc
+++ b/src/operator/tensor/elemwise_unary_op_basic.cc
@@ -19,7 +19,7 @@
/*!
* \file elemwise_unary_op_basic.cc
- * \brief CPU Implementation of unary function.
+ * \brief CPU Implementation of elementwise unary function.
*/
#include <mxnet/base.h>
#include "elemwise_unary_op.h"
diff --git a/src/operator/tensor/elemwise_unary_op_basic.cu
b/src/operator/tensor/elemwise_unary_op_basic.cu
index 8e2a099..19b8d3e 100644
--- a/src/operator/tensor/elemwise_unary_op_basic.cu
+++ b/src/operator/tensor/elemwise_unary_op_basic.cu
@@ -18,8 +18,8 @@
*/
/*!
- * \file elemwise_unary_op_trig.cu
- * \brief GPU Implementation of unary trigometric functions.
+ * \file elemwise_unary_op_basic.cu
+ * \brief GPU Implementation of unary functions.
*/
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/elemwise_unary_op_trig.cc
b/src/operator/tensor/elemwise_unary_op_trig.cc
index 288719f..28a11cc 100644
--- a/src/operator/tensor/elemwise_unary_op_trig.cc
+++ b/src/operator/tensor/elemwise_unary_op_trig.cc
@@ -19,7 +19,7 @@
/*!
* \file elemwise_unary_op_trig.cc
- * \brief CPU Implementation of unary trigometric functions.
+ * \brief CPU Implementation of unary trigonometric functions.
*/
#include <mxnet/base.h>
#include "elemwise_unary_op.h"
diff --git a/src/operator/tensor/elemwise_unary_op_trig.cu
b/src/operator/tensor/elemwise_unary_op_trig.cu
index 90f248b..8e28b9c 100644
--- a/src/operator/tensor/elemwise_unary_op_trig.cu
+++ b/src/operator/tensor/elemwise_unary_op_trig.cu
@@ -18,8 +18,8 @@
*/
/*!
- * \file elemwise_unary_op.cu
- * \brief GPU Implementation of unary function.
+ * \file elemwise_unary_op_trig.cu
+ * \brief GPU Implementation of unary trigonometric function.
*/
#include "./elemwise_binary_op.h"
diff --git a/src/operator/tensor/histogram-inl.h
b/src/operator/tensor/histogram-inl.h
index 08620e8..40acb55 100644
--- a/src/operator/tensor/histogram-inl.h
+++ b/src/operator/tensor/histogram-inl.h
@@ -17,6 +17,10 @@
* under the License.
*/
+/*!
+ * \file histogram-inl.h
+ * \brief Function definition of histogram operator
+*/
#ifndef MXNET_OPERATOR_TENSOR_HISTOGRAM_INL_H_
#define MXNET_OPERATOR_TENSOR_HISTOGRAM_INL_H_
diff --git a/src/operator/tensor/histogram.cc b/src/operator/tensor/histogram.cc
index ac28606..3c4eaa1 100644
--- a/src/operator/tensor/histogram.cc
+++ b/src/operator/tensor/histogram.cc
@@ -17,6 +17,10 @@
* under the License.
*/
+/*!
+ * \file histogram.cc
+ * \brief CPU implementation of histogram operator
+*/
#include "./histogram-inl.h"
namespace mxnet {
diff --git a/src/operator/tensor/histogram.cu b/src/operator/tensor/histogram.cu
index c3c836a..b811aba 100644
--- a/src/operator/tensor/histogram.cu
+++ b/src/operator/tensor/histogram.cu
@@ -17,6 +17,10 @@
* under the License.
*/
+/*!
+ * \file histogram.cu
+ * \brief GPU implementation of histogram operator
+*/
#include "./histogram-inl.h"
#include "./util/tensor_util-inl.cuh"
diff --git a/src/operator/tensor/indexing_op.cc
b/src/operator/tensor/indexing_op.cc
index 710b502..de0ede3 100644
--- a/src/operator/tensor/indexing_op.cc
+++ b/src/operator/tensor/indexing_op.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file indexing_op.cc
- * \brief
+ * \brief CPU implementation of indexing operator
* \author Siyi Li, Chi Zhang
*/
diff --git a/src/operator/tensor/indexing_op.cu
b/src/operator/tensor/indexing_op.cu
index bdc7f6e..16cc697 100644
--- a/src/operator/tensor/indexing_op.cu
+++ b/src/operator/tensor/indexing_op.cu
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file indexing_op.cu
- * \brief
+ * \brief GPU implementation of indexing operator
* \author Siyi Li, Chi Zhang
*/
diff --git a/src/operator/tensor/indexing_op.h
b/src/operator/tensor/indexing_op.h
index 5282a7e..2a419e7 100644
--- a/src/operator/tensor/indexing_op.h
+++ b/src/operator/tensor/indexing_op.h
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file indexing_op.h
- * \brief
+ * \brief Function definition of indexing operator
* \author Bing Xu, Siyi Li, Chi Zhang, Haibin Lin
*/
#ifndef MXNET_OPERATOR_TENSOR_INDEXING_OP_H_
diff --git a/src/operator/tensor/la_op.cc b/src/operator/tensor/la_op.cc
index b177165..e54e068 100644
--- a/src/operator/tensor/la_op.cc
+++ b/src/operator/tensor/la_op.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file la_op.cc
- * \brief CPU-Operators for advanced linear algebra.
+ * \brief CPU implementation of Operators for advanced linear algebra.
*/
#include "./la_op.h"
#include "./la_op_inline.h"
diff --git a/src/operator/tensor/la_op.cu b/src/operator/tensor/la_op.cu
index d736845..da81c04 100644
--- a/src/operator/tensor/la_op.cu
+++ b/src/operator/tensor/la_op.cu
@@ -19,7 +19,7 @@
/*!
* \file la_op.cu
- * \brief GPU-Operators for advanced linear algebra.
+ * \brief GPU implementation of Operators for advanced linear algebra.
*/
#include "./la_op.h"
#include "./la_op_inline.h"
diff --git a/src/operator/tensor/la_op.h b/src/operator/tensor/la_op.h
index 8e2acd7..433789c 100644
--- a/src/operator/tensor/la_op.h
+++ b/src/operator/tensor/la_op.h
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2017 by Contributors
* \file la_op.h
- * \brief Operators for advanced linear algebra.
+ * \brief Function definition of Operators for advanced linear algebra.
*/
#ifndef MXNET_OPERATOR_TENSOR_LA_OP_H_
#define MXNET_OPERATOR_TENSOR_LA_OP_H_
diff --git a/src/operator/tensor/ordering_op.cc
b/src/operator/tensor/ordering_op.cc
index 189ea19..fb00299 100644
--- a/src/operator/tensor/ordering_op.cc
+++ b/src/operator/tensor/ordering_op.cc
@@ -19,7 +19,7 @@
/*!
* Copyright (c) 2016 by Contributors
- * \file ordering.cc
+ * \file ordering_op.cc
* \brief CPU Implementation of the ordering operations
*/
// this will be invoked by gcc and compile CPU version
diff --git a/src/operator/tensor/ordering_op.cu
b/src/operator/tensor/ordering_op.cu
index d783614..8ffcd6e 100644
--- a/src/operator/tensor/ordering_op.cu
+++ b/src/operator/tensor/ordering_op.cu
@@ -19,7 +19,7 @@
/*!
* Copyright (c) 2015 by Contributors
- * \file matrix_op.cu
+ * \file ordering_op.cu
* \brief GPU Implementation of matrix operations
*/
// this will be invoked by gcc and compile GPU version
diff --git a/src/operator/tensor/ravel.cc b/src/operator/tensor/ravel.cc
index 94e3894..7bbfac5 100644
--- a/src/operator/tensor/ravel.cc
+++ b/src/operator/tensor/ravel.cc
@@ -20,7 +20,7 @@
/*!
* Copyright (c) 2018 by Contributors
* \file ravel.cc
- * \brief CPU-operators for ravel/unravel.
+ * \brief CPU implementation of operators for ravel/unravel.
*/
#include "./ravel.h"
diff --git a/src/operator/tensor/ravel.cu b/src/operator/tensor/ravel.cu
index cae5048..860fd23 100644
--- a/src/operator/tensor/ravel.cu
+++ b/src/operator/tensor/ravel.cu
@@ -19,7 +19,7 @@
/*!
* \file ravel.cu
- * \brief GPU-Operators for ravel/unravel.
+ * \brief GPU implementation of Operators for ravel/unravel.
*/
#include "./ravel.h"
diff --git a/src/operator/tensor/sparse_retain-inl.h
b/src/operator/tensor/sparse_retain-inl.h
index 5a8aee8..52401be 100644
--- a/src/operator/tensor/sparse_retain-inl.h
+++ b/src/operator/tensor/sparse_retain-inl.h
@@ -19,7 +19,7 @@
/*!
* \file sparse_retain-inl.h
- * \brief
+ * \brief Function definition of sparse_retain operator
*/
#ifndef MXNET_OPERATOR_TENSOR_SPARSE_RETAIN_INL_H_
#define MXNET_OPERATOR_TENSOR_SPARSE_RETAIN_INL_H_
diff --git a/src/operator/tensor/sparse_retain.cc
b/src/operator/tensor/sparse_retain.cc
index f8fc325..8630457 100644
--- a/src/operator/tensor/sparse_retain.cc
+++ b/src/operator/tensor/sparse_retain.cc
@@ -19,7 +19,7 @@
/*!
* \file sparse_retain.cc
- * \brief
+ * \brief CPU implementation of sparse_retain operator
*/
#include "./sparse_retain-inl.h"
diff --git a/src/operator/tensor/sparse_retain.cu
b/src/operator/tensor/sparse_retain.cu
index 6b4ac1b..bff8b8b 100644
--- a/src/operator/tensor/sparse_retain.cu
+++ b/src/operator/tensor/sparse_retain.cu
@@ -19,7 +19,7 @@
/*!
* \file sparse_retain.cu
- * \brief
+ * \brief GPU implementation of sparse_retain operator
*/
#include "./sparse_retain-inl.h"