From 4c1ecfa71a6b763ea0c2fdb6bf3f0cac73ca9558 Mon Sep 17 00:00:00 2001 From: Sheng Zha Date: Fri, 6 Aug 2021 14:49:45 -0400 Subject: [PATCH 1/3] add old copyright checker Signed-off-by: Sheng Zha --- tools/license_header.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/tools/license_header.py b/tools/license_header.py index e46934459ea9..de468a0943a8 100755 --- a/tools/license_header.py +++ b/tools/license_header.py @@ -161,6 +161,13 @@ def is_mxnet_root(path: str) -> bool: 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 From a78b8d5c1e29f5b0fdb734bd8574c2b924026379 Mon Sep 17 00:00:00 2001 From: Sheng Zha Date: Fri, 6 Aug 2021 14:53:48 -0400 Subject: [PATCH 2/3] add removal function for old copyright Signed-off-by: Sheng Zha --- tools/license_header.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/license_header.py b/tools/license_header.py index de468a0943a8..423be25741e7 100755 --- a/tools/license_header.py +++ b/tools/license_header.py @@ -257,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 @@ -269,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 @@ -311,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', @@ -320,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() @@ -340,5 +342,6 @@ def main(): foreach(file_add_license, files) return 0 + if __name__ == '__main__': sys.exit(main()) From 67b04fb4f620ee971881917147571b0875776035 Mon Sep 17 00:00:00 2001 From: Sheng Zha Date: Fri, 6 Aug 2021 22:18:46 -0400 Subject: [PATCH 3/3] fix remaining files Signed-off-by: Sheng Zha --- 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 - example/extensions/lib_custom_op/transposecsr_lib.cc | 1 - example/extensions/lib_custom_op/transposerowsp_lib.cc | 1 - example/extensions/lib_pass/pass_lib.cc | 1 - example/extensions/lib_subgraph/subgraph_lib.cc | 1 - example/multi_threaded_inference/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 - .../src/main/native/org_apache_mxnet_init_native_c_api.cc | 1 - scala-package/native/src/main/native/jni_helper_func.h | 1 - .../native/src/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 - 94 files changed, 94 deletions(-) diff --git a/R-package/src/base.h b/R-package/src/base.h index 8645d8576b0e..58fd0129e79b 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 20380b4d986d..f614af9ed9fd 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 a2394433f77c..b2e067befb85 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 ae64a1761966..f131b240a82b 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 4be6e15fce0b..9599e175e335 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 324ec3c1e452..b4d2a55522c6 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 b9e82da0f079..115e44f196fa 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 c72ea92ce30f..22566b6550a1 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 238c1bc3da05..7e68508b3e17 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 fe8de4d512ba..28333270d3f0 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 5f668c19a388..92b7b3a3a597 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 abd1b827b05e..bcc2aee1f0b5 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 cbc9a665e9cb..934eef6897cc 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 0409d3ba8887..4fa5796d0254 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 fb0551ee1c32..60437eb14b4f 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 317e82568012..982c5326a22e 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 fb128fa91053..57aa72e68bf3 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 2fe629b20ed3..12a4531afd53 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 a513565377fd..d6ced70f42ed 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 d0f1bea15f00..19375c0f81e8 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 890ab2bf0062..21ca54014109 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 4cb28819de02..7e45ef56ab95 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 34725b9dfa81..356591f8bf8e 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 7d2d620bd886..09fa8061fef6 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 67f984fce0ee..0080be1e7306 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 cffd1c7576e5..b9381a830a88 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 d015d8b4acc9..6dbb197dae49 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 b3a0a9dbef6e..c8af6a476a52 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 76e7ce836f18..bd392b66ab8d 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 0a9a41234758..793f0e87d9dd 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 17746d1fa596..b54cc0ae2c01 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 4f3011c17caa..52cdae772a68 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 b2b442fd8a88..20e06a851814 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 9f289f0e248b..e8dad12d6053 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 ac842874fea6..118c10ae12d9 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 b15f19ca3eb1..44a10828a366 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 46fe2cbd28d0..8e94637908be 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 853c519a73d4..c09b156758d1 100644 --- a/cpp-package/scripts/OpWrapperGenerator.py +++ b/cpp-package/scripts/OpWrapperGenerator.py @@ -393,7 +393,6 @@ def ParseAllOps(): 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 f6e549878a42..6f613a1990c2 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 1be3deda0bc0..cf4a3e3af1af 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 0b2c6f64789c..b8360b383b7c 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 47efd7b13f60..a33c6e368c2a 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 ea8140778874..3525cf4787b4 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 93cba1bfb8b1..2b8c0783664a 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 9a4c29ab127d..5264523db82e 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 b9ee2186dc92..5c113cda0faa 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 7bdc036445da..a9a234499b61 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 8b1864feea93..ebbe9b5d634c 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 ae40659437df..34389e2080ad 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 b6c4f93e5156..15b5ee6cc03d 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 6a75439f3e4e..f2a3b8bc9b5d 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 6243b5dc8c88..55c2dbcf0ac6 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 dd445efbd659..53513a17d6c8 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 211d8c44d518..33bdc0ba7633 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 552b9dce9f3d..550db31bfa9d 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 f97b76519e0e..47d246f4439f 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 * \author Haoran Wang diff --git a/plugin/caffe/caffe_loss-inl.h b/plugin/caffe/caffe_loss-inl.h index 98c714612dca..058d544f1947 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 c2d1c1b9bab9..dd9bb9179da4 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 ff81e1c1ffa6..6c2a688c9305 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 b4ab0926199c..af33f70c2595 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 db80f4a90f74..416beb1e8026 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 7d4017b33ad5..5f970bccc5d7 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 823948a8aa2f..03badda65ca2 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 228e3727daed..b9a08d028f38 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 b0915fd40579..8547aad8b13b 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 b318041eb6b9..e04357bf30b7 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 6a6b03f9c2fb..eb1f66d5b9ba 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 8a9d85b06465..89f832ccdfae 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 04bee24974bf..3aaaa2f13902 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 2138bd8f1335..deb090f66629 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 110a58156a26..bdfb2f42e61a 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 ccb7145f36af..68c519c7c9f1 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 3ec9a000acfd..a1c5ff578da7 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 6a33e706ff2f..350765fdb888 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 386f0e31fb43..2cc16aef85f3 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 4ab792c4dd58..658669fb419c 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 d743da5fd922..caf9eb19911a 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 9fcbedce74f1..3fb4b252fff2 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 aac36a375a9e..9e108d242f11 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 3ee20fc9d3fe..7562a12a3c9d 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 b689521bcad1..7923fab9c6cd 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 a30e94dda09b..2b7642270ec3 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 26eea3dd062b..3e7d1da0dd31 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 893d08502c3a..e4486eb13649 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 f842b1d52018..3cc166d16a61 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 e1e3a53e656c..1bd470737d08 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 ac7fb8b071b9..23a571514c8f 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 62798d7780f9..2daee316da12 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 3d364a76dbb2..ed854f35f0ca 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 d26894c21ea7..d3aff0513dbd 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 74c2b546f161..53be30afa435 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 66ddddd771f8..cba08aa547e5 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 ce8d4ebd7a71..cc3501251dc7 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 4f91a4f67c09..ba224b18801c 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