You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2021/08/10 00:25:35 UTC

[incubator-mxnet] branch v1.9.x updated: [v1.9.x] Add copyright detection and removal in license checker (#20498)

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

zhasheng pushed a commit to branch v1.9.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.9.x by this push:
     new 13df0d7  [v1.9.x] Add copyright detection and removal in license checker (#20498)
13df0d7 is described below

commit 13df0d7839e5e48f62d012f766bf2ed924eaecac
Author: Sheng Zha <sz...@users.noreply.github.com>
AuthorDate: Mon Aug 9 20:23:12 2021 -0400

    [v1.9.x] Add copyright detection and removal in license checker (#20498)
    
    * add old copyright checker
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
    
    * add removal function for old copyright
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
    
    * fix remaining files
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
---
 R-package/src/base.h                               |  1 -
 R-package/src/executor.cc                          |  1 -
 R-package/src/executor.h                           |  1 -
 R-package/src/export.cc                            |  1 -
 R-package/src/export.h                             |  1 -
 R-package/src/im2rec.cc                            |  1 -
 R-package/src/im2rec.h                             |  1 -
 R-package/src/io.cc                                |  1 -
 R-package/src/io.h                                 |  1 -
 R-package/src/kvstore.cc                           |  1 -
 R-package/src/kvstore.h                            |  1 -
 R-package/src/mxnet.cc                             |  1 -
 R-package/src/name.h                               |  1 -
 R-package/src/ndarray.cc                           |  1 -
 R-package/src/ndarray.h                            |  1 -
 R-package/src/symbol.cc                            |  1 -
 R-package/src/symbol.h                             |  1 -
 amalgamation/dmlc-minimum0.cc                      |  1 -
 cpp-package/include/mxnet-cpp/MxNetCpp.h           |  1 -
 cpp-package/include/mxnet-cpp/base.h               |  1 -
 cpp-package/include/mxnet-cpp/contrib.h            |  1 -
 cpp-package/include/mxnet-cpp/executor.h           |  1 -
 cpp-package/include/mxnet-cpp/initializer.h        |  1 -
 cpp-package/include/mxnet-cpp/io.h                 |  1 -
 cpp-package/include/mxnet-cpp/kvstore.h            |  1 -
 cpp-package/include/mxnet-cpp/lr_scheduler.h       |  1 -
 cpp-package/include/mxnet-cpp/metric.h             |  1 -
 cpp-package/include/mxnet-cpp/model.h              |  1 -
 cpp-package/include/mxnet-cpp/monitor.h            |  1 -
 cpp-package/include/mxnet-cpp/ndarray.h            |  1 -
 cpp-package/include/mxnet-cpp/op_map.h             |  1 -
 cpp-package/include/mxnet-cpp/op_suppl.h           |  1 -
 cpp-package/include/mxnet-cpp/op_util.h            |  1 -
 cpp-package/include/mxnet-cpp/operator.h           |  1 -
 cpp-package/include/mxnet-cpp/optimizer.h          |  1 -
 cpp-package/include/mxnet-cpp/shape.h              |  1 -
 cpp-package/include/mxnet-cpp/symbol.h             |  1 -
 cpp-package/scripts/OpWrapperGenerator.py          |  1 -
 cpp-package/scripts/lint.py                        |  1 -
 example/extensions/lib_api/init_lib.cc             |  1 -
 example/extensions/lib_api/libtest.cc              |  1 -
 example/extensions/lib_custom_op/gemm_lib.cc       |  1 -
 example/extensions/lib_custom_op/relu_lib.cu       |  1 -
 .../extensions/lib_custom_op/transposecsr_lib.cc   |  1 -
 .../extensions/lib_custom_op/transposerowsp_lib.cc |  1 -
 example/extensions/lib_pass/pass_lib.cc            |  1 -
 example/extensions/lib_subgraph/subgraph_lib.cc    |  1 -
 .../multi_threaded_inference.cc                    |  1 -
 example/rnn/large_word_lm/LogUniformGenerator.cc   |  1 -
 example/rnn/large_word_lm/LogUniformGenerator.h    |  1 -
 plugin/caffe/caffe_blob.cc                         |  1 -
 plugin/caffe/caffe_blob.h                          |  1 -
 plugin/caffe/caffe_common.cc                       |  1 -
 plugin/caffe/caffe_common.h                        |  1 -
 plugin/caffe/caffe_data_iter.cc                    |  1 -
 plugin/caffe/caffe_fieldentry.h                    |  1 -
 plugin/caffe/caffe_loss-inl.h                      |  1 -
 plugin/caffe/caffe_loss.cc                         |  1 -
 plugin/caffe/caffe_loss.cu                         |  1 -
 plugin/caffe/caffe_op-inl.h                        |  1 -
 plugin/caffe/caffe_op.cc                           |  1 -
 plugin/caffe/caffe_op.cu                           |  1 -
 plugin/caffe/caffe_stream.cc                       |  1 -
 plugin/caffe/caffe_stream.h                        |  1 -
 plugin/opencv/cv_api.cc                            |  1 -
 plugin/opencv/cv_api.h                             |  1 -
 plugin/sframe/iter_sframe.cc                       |  1 -
 plugin/torch/torch_base.cc                         |  1 -
 plugin/torch/torch_base.h                          |  1 -
 plugin/torch/torch_criterion-inl.h                 |  1 -
 plugin/torch/torch_criterion.cc                    |  1 -
 plugin/torch/torch_criterion.cu                    |  1 -
 plugin/torch/torch_function.cc                     |  1 -
 plugin/torch/torch_function.h                      |  1 -
 plugin/torch/torch_module-inl.h                    |  1 -
 plugin/torch/torch_module.cc                       |  1 -
 plugin/torch/torch_module.cu                       |  1 -
 plugin/warpctc/warpctc-inl.h                       |  1 -
 plugin/warpctc/warpctc.cc                          |  1 -
 plugin/warpctc/warpctc.cu                          |  1 -
 .../native/org_apache_mxnet_init_native_c_api.cc   |  1 -
 .../native/src/main/native/jni_helper_func.h       |  1 -
 .../main/native/org_apache_mxnet_native_c_api.cc   |  1 -
 tests/cpp/engine/engine_shutdown_test.cc           |  1 -
 tests/cpp/engine/thread_local_test.cc              |  1 -
 tests/cpp/engine/threaded_engine_test.cc           |  1 -
 tests/cpp/include/test_op.h                        |  1 -
 tests/cpp/include/test_perf.h                      |  1 -
 tests/cpp/include/test_util.h                      |  1 -
 tests/cpp/kvstore/gpu_topology_test.cc             |  1 -
 tests/cpp/operator/batchnorm_test.cc               |  1 -
 tests/cpp/operator/krprod_test.cc                  |  1 -
 tests/cpp/storage/storage_test.cc                  |  1 -
 tests/cpp/test_main.cc                             |  1 -
 tools/license_header.py                            | 33 ++++++++++++++--------
 95 files changed, 22 insertions(+), 105 deletions(-)

diff --git a/R-package/src/base.h b/R-package/src/base.h
index 8645d85..58fd012 100644
--- a/R-package/src/base.h
+++ b/R-package/src/base.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file base.h
  * \brief Rcpp interface of MXNet
  *  All the interface is done through C API,
diff --git a/R-package/src/executor.cc b/R-package/src/executor.cc
index 20380b4..f614af9 100644
--- a/R-package/src/executor.cc
+++ b/R-package/src/executor.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file executor.h
  * \brief Rcpp Symbol of MXNet.
  */
diff --git a/R-package/src/executor.h b/R-package/src/executor.h
index a239443..b2e067b 100644
--- a/R-package/src/executor.h
+++ b/R-package/src/executor.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file executor.h
  * \brief Rcpp Symbolic Execution interface of MXNet
  */
diff --git a/R-package/src/export.cc b/R-package/src/export.cc
index ae64a17..f131b24 100644
--- a/R-package/src/export.cc
+++ b/R-package/src/export.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file export.cc
  * \brief Exporter module to export document and wrapper functions.
  */
diff --git a/R-package/src/export.h b/R-package/src/export.h
index 4be6e15..9599e17 100644
--- a/R-package/src/export.h
+++ b/R-package/src/export.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file export.h
  * \brief Export module that takes charge of code generation and document
  *  Generation for functions exported from R-side
diff --git a/R-package/src/im2rec.cc b/R-package/src/im2rec.cc
index 324ec3c..b4d2a55 100644
--- a/R-package/src/im2rec.cc
+++ b/R-package/src/im2rec.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2017 by Contributors
  * \file export.h
  * \brief Export module that takes charge of code generation and document
  *  Generation for functions exported from R-side
diff --git a/R-package/src/im2rec.h b/R-package/src/im2rec.h
index b9e82da..115e44f 100644
--- a/R-package/src/im2rec.h
+++ b/R-package/src/im2rec.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2017 by Contributors
  * \file export.h
  * \brief Export module that takes charge of code generation and document
  *  Generation for functions exported from R-side
diff --git a/R-package/src/io.cc b/R-package/src/io.cc
index c72ea92..22566b6 100644
--- a/R-package/src/io.cc
+++ b/R-package/src/io.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file io.cc
  * \brief Rcpp IO module of mxnet.
  */
diff --git a/R-package/src/io.h b/R-package/src/io.h
index 238c1bc..7e68508 100644
--- a/R-package/src/io.h
+++ b/R-package/src/io.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file io.h
  * \brief Rcpp Data Loading and Iteration Interface of MXNet.
  */
diff --git a/R-package/src/kvstore.cc b/R-package/src/kvstore.cc
index fe8de4d..2833327 100644
--- a/R-package/src/kvstore.cc
+++ b/R-package/src/kvstore.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file kvstore.cc
  * \brief Rcpp NDArray of MXNet.
  */
diff --git a/R-package/src/kvstore.h b/R-package/src/kvstore.h
index 5f668c1..92b7b3a 100644
--- a/R-package/src/kvstore.h
+++ b/R-package/src/kvstore.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file kvstore.h
  * \brief Rcpp Parameter Store interface of MXNet
  */
diff --git a/R-package/src/mxnet.cc b/R-package/src/mxnet.cc
index abd1b82..bcc2aee 100644
--- a/R-package/src/mxnet.cc
+++ b/R-package/src/mxnet.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file mxnet.cc
  * \brief The registry of all module functions and objects
  */
diff --git a/R-package/src/name.h b/R-package/src/name.h
index cbc9a66..934eef6 100644
--- a/R-package/src/name.h
+++ b/R-package/src/name.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file name.h
  * \brief Name manager to get default names.
  */
diff --git a/R-package/src/ndarray.cc b/R-package/src/ndarray.cc
index 0409d3b..4fa5796 100644
--- a/R-package/src/ndarray.cc
+++ b/R-package/src/ndarray.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file ndarray.cc
  * \brief Rcpp NDArray of MXNet.
  */
diff --git a/R-package/src/ndarray.h b/R-package/src/ndarray.h
index fb0551e..60437eb 100644
--- a/R-package/src/ndarray.h
+++ b/R-package/src/ndarray.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file ndarray.h
  * \brief Rcpp NDArray interface of MXNet
  */
diff --git a/R-package/src/symbol.cc b/R-package/src/symbol.cc
index 317e825..982c532 100644
--- a/R-package/src/symbol.cc
+++ b/R-package/src/symbol.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file symbol.cc
  * \brief Rcpp Symbol of MXNet.
  */
diff --git a/R-package/src/symbol.h b/R-package/src/symbol.h
index fb128fa..57aa72e 100644
--- a/R-package/src/symbol.h
+++ b/R-package/src/symbol.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file symbol.h
  * \brief Rcpp Symbolic construction interface of MXNet
  */
diff --git a/amalgamation/dmlc-minimum0.cc b/amalgamation/dmlc-minimum0.cc
index 2fe629b..12a4531 100644
--- a/amalgamation/dmlc-minimum0.cc
+++ b/amalgamation/dmlc-minimum0.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright 2015 by Contributors.
  * \brief Mininum DMLC library Amalgamation, used for easy plugin of dmlc lib.
  *  Normally this is not needed.
  */
diff --git a/cpp-package/include/mxnet-cpp/MxNetCpp.h b/cpp-package/include/mxnet-cpp/MxNetCpp.h
index a513565..d6ced70 100644
--- a/cpp-package/include/mxnet-cpp/MxNetCpp.h
+++ b/cpp-package/include/mxnet-cpp/MxNetCpp.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2016 by Contributors
  * \file MxNetCpp.h
  * \brief meta include file for mxnet.cpp
  * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/base.h b/cpp-package/include/mxnet-cpp/base.h
index d0f1bea..19375c0 100644
--- a/cpp-package/include/mxnet-cpp/base.h
+++ b/cpp-package/include/mxnet-cpp/base.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file base.h
 * \brief base definitions for mxnetcpp
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/contrib.h b/cpp-package/include/mxnet-cpp/contrib.h
index 890ab2b..21ca540 100644
--- a/cpp-package/include/mxnet-cpp/contrib.h
+++ b/cpp-package/include/mxnet-cpp/contrib.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2019 by Contributors
 * \file contrib.h
 * \brief utility function to enable some contrib features
 * \author Haohuan Wang
diff --git a/cpp-package/include/mxnet-cpp/executor.h b/cpp-package/include/mxnet-cpp/executor.h
index 4cb2881..7e45ef5 100644
--- a/cpp-package/include/mxnet-cpp/executor.h
+++ b/cpp-package/include/mxnet-cpp/executor.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file executor.h
 * \brief executor definition
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/initializer.h b/cpp-package/include/mxnet-cpp/initializer.h
index 34725b9..356591f 100644
--- a/cpp-package/include/mxnet-cpp/initializer.h
+++ b/cpp-package/include/mxnet-cpp/initializer.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2016 by Contributors
  * \file initializer.h
  * \brief random initializer
  * \author Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/io.h b/cpp-package/include/mxnet-cpp/io.h
index 7d2d620..09fa806 100644
--- a/cpp-package/include/mxnet-cpp/io.h
+++ b/cpp-package/include/mxnet-cpp/io.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file operator.h
 * \brief definition of io, such as DataIter
 * \author Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/kvstore.h b/cpp-package/include/mxnet-cpp/kvstore.h
index 67f984f..0080be1 100644
--- a/cpp-package/include/mxnet-cpp/kvstore.h
+++ b/cpp-package/include/mxnet-cpp/kvstore.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file kvstore.h
 * \brief definition of kvstore
 * \author Chuntao Hong
diff --git a/cpp-package/include/mxnet-cpp/lr_scheduler.h b/cpp-package/include/mxnet-cpp/lr_scheduler.h
index cffd1c7..b9381a8 100644
--- a/cpp-package/include/mxnet-cpp/lr_scheduler.h
+++ b/cpp-package/include/mxnet-cpp/lr_scheduler.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2017 by Contributors
 * \file lr_scheduler.h
 * \brief Scheduling learning rate
 */
diff --git a/cpp-package/include/mxnet-cpp/metric.h b/cpp-package/include/mxnet-cpp/metric.h
index d015d8b..6dbb197 100644
--- a/cpp-package/include/mxnet-cpp/metric.h
+++ b/cpp-package/include/mxnet-cpp/metric.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file base.h
 * \brief metrics defined
 * \author Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/model.h b/cpp-package/include/mxnet-cpp/model.h
index b3a0a9d..c8af6a4 100644
--- a/cpp-package/include/mxnet-cpp/model.h
+++ b/cpp-package/include/mxnet-cpp/model.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file model.h
 * \brief MXNET.cpp model module
 * \author Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/monitor.h b/cpp-package/include/mxnet-cpp/monitor.h
index 76e7ce8..bd392b6 100644
--- a/cpp-package/include/mxnet-cpp/monitor.h
+++ b/cpp-package/include/mxnet-cpp/monitor.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2017 by Contributors
 * \file monitor.h
 * \brief monitor definition
 * \author Xin Li
diff --git a/cpp-package/include/mxnet-cpp/ndarray.h b/cpp-package/include/mxnet-cpp/ndarray.h
index 0a9a412..793f0e8 100644
--- a/cpp-package/include/mxnet-cpp/ndarray.h
+++ b/cpp-package/include/mxnet-cpp/ndarray.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file ndarray.h
 * \brief definition of ndarray
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/op_map.h b/cpp-package/include/mxnet-cpp/op_map.h
index 17746d1..b54cc0a 100644
--- a/cpp-package/include/mxnet-cpp/op_map.h
+++ b/cpp-package/include/mxnet-cpp/op_map.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file op_map.h
 * \brief definition of OpMap
 * \author Chuntao Hong
diff --git a/cpp-package/include/mxnet-cpp/op_suppl.h b/cpp-package/include/mxnet-cpp/op_suppl.h
index 4f3011c..52cdae7 100644
--- a/cpp-package/include/mxnet-cpp/op_suppl.h
+++ b/cpp-package/include/mxnet-cpp/op_suppl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file op_suppl.h
 * \brief A supplement and amendment of the operators from op.h
 * \author Zhang Chen, zhubuntu, Xin Li
diff --git a/cpp-package/include/mxnet-cpp/op_util.h b/cpp-package/include/mxnet-cpp/op_util.h
index b2b442f..20e06a8 100644
--- a/cpp-package/include/mxnet-cpp/op_util.h
+++ b/cpp-package/include/mxnet-cpp/op_util.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2017 by Contributors
 * \file op_util.h
 * \brief operator helper functions
 * \author Chris Olivier
diff --git a/cpp-package/include/mxnet-cpp/operator.h b/cpp-package/include/mxnet-cpp/operator.h
index 9f289f0..e8dad12 100644
--- a/cpp-package/include/mxnet-cpp/operator.h
+++ b/cpp-package/include/mxnet-cpp/operator.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file operator.h
 * \brief definition of operator
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/optimizer.h b/cpp-package/include/mxnet-cpp/optimizer.h
index ac84287..118c10a 100644
--- a/cpp-package/include/mxnet-cpp/optimizer.h
+++ b/cpp-package/include/mxnet-cpp/optimizer.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file optimizer.h
 * \brief definition of optimizer
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/shape.h b/cpp-package/include/mxnet-cpp/shape.h
index b15f19c..44a1082 100644
--- a/cpp-package/include/mxnet-cpp/shape.h
+++ b/cpp-package/include/mxnet-cpp/shape.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file shape.h
 * \brief definition of shape
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/include/mxnet-cpp/symbol.h b/cpp-package/include/mxnet-cpp/symbol.h
index 46fe2cb..8e94637 100644
--- a/cpp-package/include/mxnet-cpp/symbol.h
+++ b/cpp-package/include/mxnet-cpp/symbol.h
@@ -18,7 +18,6 @@
  */
 
 /*!
-*  Copyright (c) 2016 by Contributors
 * \file symbol.h
 * \brief definition of symbol
 * \author Chuntao Hong, Zhang Chen
diff --git a/cpp-package/scripts/OpWrapperGenerator.py b/cpp-package/scripts/OpWrapperGenerator.py
index 853c519..c09b156 100644
--- a/cpp-package/scripts/OpWrapperGenerator.py
+++ b/cpp-package/scripts/OpWrapperGenerator.py
@@ -393,7 +393,6 @@ if __name__ == "__main__":
     try:
         # generate file header
         patternStr = ("/*!\n"
-                      "*  Copyright (c) 2016 by Contributors\n"
                       "* \\file op.h\n"
                       "* \\brief definition of all the operators\n"
                       "* \\author Chuntao Hong, Xin Li\n"
diff --git a/cpp-package/scripts/lint.py b/cpp-package/scripts/lint.py
index f6e5498..6f613a1 100644
--- a/cpp-package/scripts/lint.py
+++ b/cpp-package/scripts/lint.py
@@ -19,7 +19,6 @@
 
 # pylint: disable=protected-access, unused-variable, locally-disabled, redefined-variable-type
 """Lint helper to generate lint summary of source.
-Copyright by Contributors
 """
 from __future__ import print_function
 import codecs
diff --git a/example/extensions/lib_api/init_lib.cc b/example/extensions/lib_api/init_lib.cc
index 1be3ded..cf4a3e3 100644
--- a/example/extensions/lib_api/init_lib.cc
+++ b/example/extensions/lib_api/init_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file init_lib.cc
  * \brief Sample library file
  */
diff --git a/example/extensions/lib_api/libtest.cc b/example/extensions/lib_api/libtest.cc
index 0b2c6f6..b8360b3 100644
--- a/example/extensions/lib_api/libtest.cc
+++ b/example/extensions/lib_api/libtest.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file libtest.cc
  * \brief This test checks if the library is implemented correctly
  * and does not involve dynamic loading of library into MXNet
diff --git a/example/extensions/lib_custom_op/gemm_lib.cc b/example/extensions/lib_custom_op/gemm_lib.cc
index 47efd7b..a33c6e3 100644
--- a/example/extensions/lib_custom_op/gemm_lib.cc
+++ b/example/extensions/lib_custom_op/gemm_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2019 by Contributors
  * \file gemm_lib.cc
  * \brief Sample 2D gemm custom operator implementation library file
  */
diff --git a/example/extensions/lib_custom_op/relu_lib.cu b/example/extensions/lib_custom_op/relu_lib.cu
index ea81407..3525cf4 100644
--- a/example/extensions/lib_custom_op/relu_lib.cu
+++ b/example/extensions/lib_custom_op/relu_lib.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2020 by Contributors
  * \file relu_lib.cu
  * \brief simple custom relu and noisy relu operator implemented using CUDA function
  */
diff --git a/example/extensions/lib_custom_op/transposecsr_lib.cc b/example/extensions/lib_custom_op/transposecsr_lib.cc
index 93cba1b..2b8c078 100644
--- a/example/extensions/lib_custom_op/transposecsr_lib.cc
+++ b/example/extensions/lib_custom_op/transposecsr_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2020 by Contributors
  * \file transsparse_lib.cc
  * \brief Sample 2D transpose custom operator.
  */
diff --git a/example/extensions/lib_custom_op/transposerowsp_lib.cc b/example/extensions/lib_custom_op/transposerowsp_lib.cc
index 9a4c29a..5264523 100644
--- a/example/extensions/lib_custom_op/transposerowsp_lib.cc
+++ b/example/extensions/lib_custom_op/transposerowsp_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2020 by Contributors
  * \file transsparse_lib.cc
  * \brief Sample 2D transpose custom operator.
  */
diff --git a/example/extensions/lib_pass/pass_lib.cc b/example/extensions/lib_pass/pass_lib.cc
index b9ee218..5c113cd 100644
--- a/example/extensions/lib_pass/pass_lib.cc
+++ b/example/extensions/lib_pass/pass_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2019 by Contributors
  * \file subgraph_lib.cc
  * \brief subgraph operator implementation library file
  */
diff --git a/example/extensions/lib_subgraph/subgraph_lib.cc b/example/extensions/lib_subgraph/subgraph_lib.cc
index 7bdc036..a9a2344 100644
--- a/example/extensions/lib_subgraph/subgraph_lib.cc
+++ b/example/extensions/lib_subgraph/subgraph_lib.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2019 by Contributors
  * \file subgraph_lib.cc
  * \brief subgraph operator implementation library file
  */
diff --git a/example/multi_threaded_inference/multi_threaded_inference.cc b/example/multi_threaded_inference/multi_threaded_inference.cc
index 8b1864f..ebbe9b5 100644
--- a/example/multi_threaded_inference/multi_threaded_inference.cc
+++ b/example/multi_threaded_inference/multi_threaded_inference.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file multi_threaded_inference.cc
  * \brief Multi Threaded inference example with CachedOp
 */
diff --git a/example/rnn/large_word_lm/LogUniformGenerator.cc b/example/rnn/large_word_lm/LogUniformGenerator.cc
index ae40659..34389e2 100644
--- a/example/rnn/large_word_lm/LogUniformGenerator.cc
+++ b/example/rnn/large_word_lm/LogUniformGenerator.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2018 by Contributors
  * \file LogUniformGenerator.cc
  * \brief log uniform distribution generator
 */
diff --git a/example/rnn/large_word_lm/LogUniformGenerator.h b/example/rnn/large_word_lm/LogUniformGenerator.h
index b6c4f93..15b5ee6 100644
--- a/example/rnn/large_word_lm/LogUniformGenerator.h
+++ b/example/rnn/large_word_lm/LogUniformGenerator.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2018 by Contributors
  * \file LogUniformGenerator.h
  * \brief log uniform distribution generator
 */
diff --git a/plugin/caffe/caffe_blob.cc b/plugin/caffe/caffe_blob.cc
index 6a75439..f2a3b8b 100644
--- a/plugin/caffe/caffe_blob.cc
+++ b/plugin/caffe/caffe_blob.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_blob.cc
  * \brief Implementations of SetDataGradToBlob given various device/dimension
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_blob.h b/plugin/caffe/caffe_blob.h
index 6243b5d..55c2dbc 100644
--- a/plugin/caffe/caffe_blob.h
+++ b/plugin/caffe/caffe_blob.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_blob.h
  * \brief conversion between tensor and caffeBlob
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_common.cc b/plugin/caffe/caffe_common.cc
index dd445ef..53513a1 100644
--- a/plugin/caffe/caffe_common.cc
+++ b/plugin/caffe/caffe_common.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_common.h
  * \brief Common functions for caffeOp and caffeLoss symbols
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_common.h b/plugin/caffe/caffe_common.h
index 211d8c4..33bdc0b 100644
--- a/plugin/caffe/caffe_common.h
+++ b/plugin/caffe/caffe_common.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_common.h
  * \brief Common functions for caffeOp and caffeLoss symbols
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_data_iter.cc b/plugin/caffe/caffe_data_iter.cc
index 552b9dc..550db31 100644
--- a/plugin/caffe/caffe_data_iter.cc
+++ b/plugin/caffe/caffe_data_iter.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file caffe_data_iter.cc
  * \brief register mnist iterator
 */
diff --git a/plugin/caffe/caffe_fieldentry.h b/plugin/caffe/caffe_fieldentry.h
index f97b765..47d246f 100644
--- a/plugin/caffe/caffe_fieldentry.h
+++ b/plugin/caffe/caffe_fieldentry.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_fieldentry.h
  * \brief Implement FieldEntry<caffe::LayerParameter>
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_loss-inl.h b/plugin/caffe/caffe_loss-inl.h
index 98c7146..058d544 100644
--- a/plugin/caffe/caffe_loss-inl.h
+++ b/plugin/caffe/caffe_loss-inl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_loss-inl.h
  * \brief Caffe Operator
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_loss.cc b/plugin/caffe/caffe_loss.cc
index c2d1c1b..dd9bb91 100644
--- a/plugin/caffe/caffe_loss.cc
+++ b/plugin/caffe/caffe_loss.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_loss.cc
  * \brief caffe loss
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_loss.cu b/plugin/caffe/caffe_loss.cu
index ff81e1c..6c2a688 100644
--- a/plugin/caffe/caffe_loss.cu
+++ b/plugin/caffe/caffe_loss.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_loss_gpu.cc
  * \brief caffe loss
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_op-inl.h b/plugin/caffe/caffe_op-inl.h
index b4ab092..af33f70 100644
--- a/plugin/caffe/caffe_op-inl.h
+++ b/plugin/caffe/caffe_op-inl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_op-inl.h
  * \brief Caffe Operator
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_op.cc b/plugin/caffe/caffe_op.cc
index db80f4a..416beb1 100644
--- a/plugin/caffe/caffe_op.cc
+++ b/plugin/caffe/caffe_op.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_op.cc
  * \brief caffe operator
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_op.cu b/plugin/caffe/caffe_op.cu
index 7d4017b..5f970bc 100644
--- a/plugin/caffe/caffe_op.cu
+++ b/plugin/caffe/caffe_op.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_operator_gpu.cc
  * \brief caffe operator
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_stream.cc b/plugin/caffe/caffe_stream.cc
index 823948a..03badda 100644
--- a/plugin/caffe/caffe_stream.cc
+++ b/plugin/caffe/caffe_stream.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_stream.cc
  * \brief define stream opertors >> and <<
  * \author Haoran Wang
diff --git a/plugin/caffe/caffe_stream.h b/plugin/caffe/caffe_stream.h
index 228e372..b9a08d0 100644
--- a/plugin/caffe/caffe_stream.h
+++ b/plugin/caffe/caffe_stream.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file caffe_stream.h
  * \brief define stream opertors >> and <<
  * \author Haoran Wang
diff --git a/plugin/opencv/cv_api.cc b/plugin/opencv/cv_api.cc
index b0915fd..8547aad 100644
--- a/plugin/opencv/cv_api.cc
+++ b/plugin/opencv/cv_api.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2016 by Contributors
  * \file cv_api.h
  * \brief C API for opencv
  * \author Junyuan Xie
diff --git a/plugin/opencv/cv_api.h b/plugin/opencv/cv_api.h
index b318041..e04357b 100644
--- a/plugin/opencv/cv_api.h
+++ b/plugin/opencv/cv_api.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2016 by Contributors
  * \file cv_api.h
  * \brief C API for opencv
  * \author Junyuan Xie
diff --git a/plugin/sframe/iter_sframe.cc b/plugin/sframe/iter_sframe.cc
index 6a6b03f..eb1f66d 100644
--- a/plugin/sframe/iter_sframe.cc
+++ b/plugin/sframe/iter_sframe.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file iter_sframe_image.cc
  * \brief
  * \author Bing Xu
diff --git a/plugin/torch/torch_base.cc b/plugin/torch/torch_base.cc
index 8a9d85b..89f832c 100644
--- a/plugin/torch/torch_base.cc
+++ b/plugin/torch/torch_base.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file torch_base.cc
  * \brief torch_state
  * \author Junyuan Xie
diff --git a/plugin/torch/torch_base.h b/plugin/torch/torch_base.h
index 04bee24..3aaaa2f 100644
--- a/plugin/torch/torch_base.h
+++ b/plugin/torch/torch_base.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file torch_base.h
  * \brief Torch interface.
  * \author Junyuan Xie
diff --git a/plugin/torch/torch_criterion-inl.h b/plugin/torch/torch_criterion-inl.h
index 2138bd8..deb090f 100644
--- a/plugin/torch/torch_criterion-inl.h
+++ b/plugin/torch/torch_criterion-inl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file torch_module-inl.h
  * \brief torch module operator
  * \author Min Lin
diff --git a/plugin/torch/torch_criterion.cc b/plugin/torch/torch_criterion.cc
index 110a581..bdfb2f4 100644
--- a/plugin/torch/torch_criterion.cc
+++ b/plugin/torch/torch_criterion.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file activation.cc
  * \brief activation op
  * \author Junyuan Xie
diff --git a/plugin/torch/torch_criterion.cu b/plugin/torch/torch_criterion.cu
index ccb7145..68c519c 100644
--- a/plugin/torch/torch_criterion.cu
+++ b/plugin/torch/torch_criterion.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file activation.cc
  * \brief activation op
  * \author Bing Xu
diff --git a/plugin/torch/torch_function.cc b/plugin/torch/torch_function.cc
index 3ec9a00..a1c5ff5 100644
--- a/plugin/torch/torch_function.cc
+++ b/plugin/torch/torch_function.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2016 by Contributors
  * \file torch_base.cc
  * \brief torch_state
  * \author Junyuan Xie
diff --git a/plugin/torch/torch_function.h b/plugin/torch/torch_function.h
index 6a33e70..350765f 100644
--- a/plugin/torch/torch_function.h
+++ b/plugin/torch/torch_function.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file torch_function.h
  * \brief Torch interface.
  * \author Junyuan Xie
diff --git a/plugin/torch/torch_module-inl.h b/plugin/torch/torch_module-inl.h
index 386f0e3..2cc16ae 100644
--- a/plugin/torch/torch_module-inl.h
+++ b/plugin/torch/torch_module-inl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file torch_module-inl.h
  * \brief torch module operator
  * \author Min Lin
diff --git a/plugin/torch/torch_module.cc b/plugin/torch/torch_module.cc
index 4ab792c..658669f 100644
--- a/plugin/torch/torch_module.cc
+++ b/plugin/torch/torch_module.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file activation.cc
  * \brief activation op
  * \author Bing Xu
diff --git a/plugin/torch/torch_module.cu b/plugin/torch/torch_module.cu
index d743da5..caf9eb1 100644
--- a/plugin/torch/torch_module.cu
+++ b/plugin/torch/torch_module.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file activation.cc
  * \brief activation op
  * \author Bing Xu
diff --git a/plugin/warpctc/warpctc-inl.h b/plugin/warpctc/warpctc-inl.h
index 9fcbedc..3fb4b25 100644
--- a/plugin/warpctc/warpctc-inl.h
+++ b/plugin/warpctc/warpctc-inl.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file warpctc-inl.h
  * \brief warpctc operator
  * \author Liang Xiang
diff --git a/plugin/warpctc/warpctc.cc b/plugin/warpctc/warpctc.cc
index aac36a3..9e108d2 100644
--- a/plugin/warpctc/warpctc.cc
+++ b/plugin/warpctc/warpctc.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file warpctc.cc
  * \brief warpctc op
  * \author Liang Xiang
diff --git a/plugin/warpctc/warpctc.cu b/plugin/warpctc/warpctc.cu
index 3ee20fc..7562a12 100644
--- a/plugin/warpctc/warpctc.cu
+++ b/plugin/warpctc/warpctc.cu
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2015 by Contributors
  * \file warpctc.cc
  * \brief warpctc op
  * \author Liang Xiang
diff --git a/scala-package/init-native/src/main/native/org_apache_mxnet_init_native_c_api.cc b/scala-package/init-native/src/main/native/org_apache_mxnet_init_native_c_api.cc
index b689521..7923fab 100644
--- a/scala-package/init-native/src/main/native/org_apache_mxnet_init_native_c_api.cc
+++ b/scala-package/init-native/src/main/native/org_apache_mxnet_init_native_c_api.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file org_apache_mxnet_native_c_api.cc
  * \brief JNI function implementations
  */
diff --git a/scala-package/native/src/main/native/jni_helper_func.h b/scala-package/native/src/main/native/jni_helper_func.h
index a30e94d..2b76422 100644
--- a/scala-package/native/src/main/native/jni_helper_func.h
+++ b/scala-package/native/src/main/native/jni_helper_func.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file jni_helper_func.h
  * \brief Helper functions for operating JVM objects
  */
diff --git a/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc b/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc
index 26eea3d..3e7d1da 100644
--- a/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc
+++ b/scala-package/native/src/main/native/org_apache_mxnet_native_c_api.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2015 by Contributors
  * \file org_apache_mxnet_native_c_api.cc
  * \brief JNI function implementations
  */
diff --git a/tests/cpp/engine/engine_shutdown_test.cc b/tests/cpp/engine/engine_shutdown_test.cc
index 893d085..e4486eb 100644
--- a/tests/cpp/engine/engine_shutdown_test.cc
+++ b/tests/cpp/engine/engine_shutdown_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2019 by Contributors
  * \file engine_shutdown_test.cc
  * \brief Tests engine shutdown for possible crashes
 */
diff --git a/tests/cpp/engine/thread_local_test.cc b/tests/cpp/engine/thread_local_test.cc
index f842b1d..3cc166d 100644
--- a/tests/cpp/engine/thread_local_test.cc
+++ b/tests/cpp/engine/thread_local_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2019 by Contributors
  * \file engine_thread_local_test.cc
  * \brief Tests thread safety and lifetime of thread local store
 */
diff --git a/tests/cpp/engine/threaded_engine_test.cc b/tests/cpp/engine/threaded_engine_test.cc
index e1e3a53..1bd4707 100644
--- a/tests/cpp/engine/threaded_engine_test.cc
+++ b/tests/cpp/engine/threaded_engine_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file threaded_engine_test.cc
  * \brief threaded engine tests
 */
diff --git a/tests/cpp/include/test_op.h b/tests/cpp/include/test_op.h
index ac7fb8b..23a5715 100644
--- a/tests/cpp/include/test_op.h
+++ b/tests/cpp/include/test_op.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file test_op.h
  * \brief operator unit test utility functions
  * \author Chris Olivier
diff --git a/tests/cpp/include/test_perf.h b/tests/cpp/include/test_perf.h
index 62798d7..2daee31 100644
--- a/tests/cpp/include/test_perf.h
+++ b/tests/cpp/include/test_perf.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file test_perf.h
  * \brief operator unit test utility functions
  * \author Chris Olivier
diff --git a/tests/cpp/include/test_util.h b/tests/cpp/include/test_util.h
index 3d364a7..ed854f3 100644
--- a/tests/cpp/include/test_util.h
+++ b/tests/cpp/include/test_util.h
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file test_util.h
  * \brief unit test performance analysis functions
  * \author Chris Olivier
diff --git a/tests/cpp/kvstore/gpu_topology_test.cc b/tests/cpp/kvstore/gpu_topology_test.cc
index d26894c..d3aff05 100644
--- a/tests/cpp/kvstore/gpu_topology_test.cc
+++ b/tests/cpp/kvstore/gpu_topology_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2018 by Contributors
  * \file gpu_topology_test.cc
  * \brief gpu topology tests
 */
diff --git a/tests/cpp/operator/batchnorm_test.cc b/tests/cpp/operator/batchnorm_test.cc
index 74c2b54..53be30a 100644
--- a/tests/cpp/operator/batchnorm_test.cc
+++ b/tests/cpp/operator/batchnorm_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2018 by Contributors
  * \file batchnorm_test.cc
  * \brief batchnorm operator unit tests and utility functions
  * \author Chris Olivier
diff --git a/tests/cpp/operator/krprod_test.cc b/tests/cpp/operator/krprod_test.cc
index 66ddddd..cba08aa 100644
--- a/tests/cpp/operator/krprod_test.cc
+++ b/tests/cpp/operator/krprod_test.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- *  Copyright (c) 2017 by Contributors
  *  \file krprod_test.cc
  *  \brief Test Khatri-Rao product
  *  \author Jencir Lee
diff --git a/tests/cpp/storage/storage_test.cc b/tests/cpp/storage/storage_test.cc
index ce8d4eb..cc35012 100644
--- a/tests/cpp/storage/storage_test.cc
+++ b/tests/cpp/storage/storage_test.cc
@@ -17,7 +17,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file storage_test.cc
  * \brief cpu/gpu storage tests
 */
diff --git a/tests/cpp/test_main.cc b/tests/cpp/test_main.cc
index 4f91a4f..ba224b1 100644
--- a/tests/cpp/test_main.cc
+++ b/tests/cpp/test_main.cc
@@ -18,7 +18,6 @@
  */
 
 /*!
- * Copyright (c) 2017 by Contributors
  * \file test_main.cc
  * \brief operator unit test utility functions
  * \author Chris Olivier
diff --git a/tools/license_header.py b/tools/license_header.py
index e469344..423be25 100755
--- a/tools/license_header.py
+++ b/tools/license_header.py
@@ -161,6 +161,13 @@ def get_mxnet_root():
     return curpath
 
 
+def _lines_have_old_license(lines):
+    for l in lines:
+        if _OLD_LICENSE.match(l):
+            return True
+    return False
+
+
 def _lines_have_multiple_license(lines):
     has_apache_license = False
     has_other_license = False
@@ -188,14 +195,15 @@ def file_have_valid_license(fname):
         lines = f.readlines()
     if not lines:
         return True
-    if (_lines_have_apache_license(lines) and (not _lines_have_multiple_license(lines))):
-        return True
-    elif _lines_have_multiple_license(lines):
-        if _file_listed_in_top_level_license(fname):
-            return True
-        else:
+    elif _lines_have_apache_license(lines):
+        has_issue = False
+        if _lines_have_old_license(lines):
+            has_issue = True
+            logging.error("File %s has old license", fname)
+        if _lines_have_multiple_license(lines) and not _file_listed_in_top_level_license(fname):
+            has_issue = True
             logging.error("File %s has multiple license", fname)
-            return False
+        return not has_issue
     else:
         if _file_listed_in_top_level_license(fname):
             return True
@@ -249,10 +257,10 @@ def file_has_license(fname):
 def file_add_license(fname):
     if not should_have_license(fname):
         return
+    if file_have_valid_license(fname):
+        return
     with open(fname, 'r', encoding="utf-8") as f:
         lines = f.readlines()
-    if _lines_have_apache_license(lines):
-        return
     _, ext = os.path.splitext(fname)
     with open(fname, 'w', encoding="utf-8") as f:
         # shebang line
@@ -261,6 +269,8 @@ def file_add_license(fname):
             del lines[0]
         f.write(_get_license(_LANGS[ext]))
         for l in lines:
+            if _OLD_LICENSE.match(l):
+                continue
             f.write(l.rstrip()+'\n')
     logging.info('added license header to ' + fname)
     return
@@ -303,7 +313,7 @@ def main():
     parser.add_argument(
         'action', nargs=1, type=str,
         choices=['add', 'check'], default='add',
-        help = 'add or check')
+        help='add or check')
 
     parser.add_argument(
         'file', nargs='*', type=str, action='append',
@@ -312,7 +322,7 @@ def main():
     args = parser.parse_args()
     action = args.action[0]
     files = list(chain(*args.file))
-    if not files and action =='check':
+    if not files and action == 'check':
         if under_git():
             logging.info("Git detected: Using files under version control")
             files = git_files()
@@ -332,5 +342,6 @@ def main():
         foreach(file_add_license, files)
     return 0
 
+
 if __name__ == '__main__':
     sys.exit(main())