From f765e8acfaa5c89929a5fa965019d5918cfd793e Mon Sep 17 00:00:00 2001 From: ciyong Date: Fri, 24 Apr 2020 10:48:41 +0800 Subject: [PATCH] Update Apache License for mshadow (#18109) (#18133) * Add Apache License for mshadow * update cpp-package license * udpate license for mx-theme in top-level LICENSE * Enable RAT License check for mshadow, and keep the rest of 3rdparty unchanged. * add license header --- 3rdparty/mshadow/CHANGES.md | 17 +++++++++++++++ 3rdparty/mshadow/LICENSE | 2 -- 3rdparty/mshadow/README.md | 17 +++++++++++++++ 3rdparty/mshadow/doc/Doxyfile | 17 +++++++++++++++ 3rdparty/mshadow/doc/README.md | 17 +++++++++++++++ 3rdparty/mshadow/doc/mkdoc.sh | 18 ++++++++++++++++ 3rdparty/mshadow/guide/Makefile | 17 +++++++++++++++ 3rdparty/mshadow/guide/README.md | 17 +++++++++++++++ 3rdparty/mshadow/guide/basic.cpp | 19 +++++++++++++++++ 3rdparty/mshadow/guide/basic_stream.cu | 19 +++++++++++++++++ 3rdparty/mshadow/guide/config.mk | 17 +++++++++++++++ 3rdparty/mshadow/guide/defop.cpp | 19 +++++++++++++++++ 3rdparty/mshadow/guide/exp-template/Makefile | 17 +++++++++++++++ 3rdparty/mshadow/guide/exp-template/README.md | 17 +++++++++++++++ .../mshadow/guide/exp-template/exp_lazy.cpp | 19 +++++++++++++++++ .../guide/exp-template/exp_template.cpp | 19 +++++++++++++++++ .../guide/exp-template/exp_template_op.cpp | 19 +++++++++++++++++ 3rdparty/mshadow/guide/mshadow-ps/Makefile | 17 +++++++++++++++ 3rdparty/mshadow/guide/mshadow-ps/README.md | 17 +++++++++++++++ 3rdparty/mshadow/guide/mshadow-ps/config.mk | 17 +++++++++++++++ 3rdparty/mshadow/guide/mshadow-ps/dbstr.h | 19 +++++++++++++++++ .../guide/mshadow-ps/dist_async_sum-inl.h | 19 +++++++++++++++++ .../guide/mshadow-ps/dist_async_sum.cpp | 19 +++++++++++++++++ 3rdparty/mshadow/guide/mshadow-ps/local.sh | 18 ++++++++++++++++ .../mshadow/guide/mshadow-ps/local_sum-inl.h | 19 +++++++++++++++++ .../mshadow/guide/mshadow-ps/local_sum.cpp | 19 +++++++++++++++++ .../mshadow/guide/mshadow-ps/local_sum.cu | 19 +++++++++++++++++ 3rdparty/mshadow/guide/neuralnet/Makefile | 17 +++++++++++++++ 3rdparty/mshadow/guide/neuralnet/README.md | 17 +++++++++++++++ 3rdparty/mshadow/guide/neuralnet/config.mk | 17 +++++++++++++++ 3rdparty/mshadow/guide/neuralnet/convnet.cu | 19 +++++++++++++++++ 3rdparty/mshadow/guide/neuralnet/nnet.cu | 19 +++++++++++++++++ 3rdparty/mshadow/guide/neuralnet/nnet_ps.cu | 19 +++++++++++++++++ 3rdparty/mshadow/guide/neuralnet/util.h | 19 +++++++++++++++++ 3rdparty/mshadow/make/README.md | 17 +++++++++++++++ 3rdparty/mshadow/make/mshadow.mk | 17 +++++++++++++++ 3rdparty/mshadow/mshadow-ps/README.md | 17 +++++++++++++++ 3rdparty/mshadow/mshadow-ps/mshadow_ps.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow-ps/ps_dist-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow-ps/ps_local-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow-ps/ps_rabit-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow-ps/thread.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow-ps/thread_util.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/README.md | 17 +++++++++++++++ 3rdparty/mshadow/mshadow/base.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/cuda/reduce.cuh | 19 +++++++++++++++++ .../mshadow/mshadow/cuda/tensor_gpu-inl.cuh | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/dot_engine-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/expr_engine-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/expr_scalar-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/expression.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/broadcast.h | 19 +++++++++++++++++ .../mshadow/extension/broadcast_with_axis.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/channel_pool.h | 19 +++++++++++++++++ .../mshadow/extension/channel_unpool.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/choose.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/complex.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/concat.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/crop.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/fill.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/flip.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/implicit_gemm.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/mask.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/mirror.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/one_hot.h | 19 +++++++++++++++++ .../mshadow/extension/pack_col2patch.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/pad.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/range.h | 19 +++++++++++++++++ .../mshadow/extension/reduce_with_axis.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/reduceto1d.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/reshape.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/slice.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/slice_ex.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/spatial_pool.h | 19 +++++++++++++++++ .../mshadow/extension/spatial_unpool.h | 19 +++++++++++++++++ .../extension/spatial_upsampling_nearest.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/swapaxis.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/extension/take.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/take_grad.h | 19 +++++++++++++++++ .../mshadow/mshadow/extension/transpose.h | 19 +++++++++++++++++ .../mshadow/extension/unpack_patch2col.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/half.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/io.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/logging.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/packet-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/packet/plain-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/packet/sse-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/random.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/stream_gpu-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/tensor.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/tensor_container.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/tensor_cpu-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/mshadow/tensor_gpu-inl.h | 19 +++++++++++++++++ 3rdparty/mshadow/scripts/travis_script.sh | 17 +++++++++++++++ 3rdparty/mshadow/test/Makefile | 17 +++++++++++++++ 3rdparty/mshadow/test/pairtest.cu | 21 ++++++++++++++++++- 3rdparty/mshadow/test/pool.cu | 21 ++++++++++++++++++- 3rdparty/mshadow/test/reshape.cu | 21 ++++++++++++++++++- 3rdparty/mshadow/test/test.cu | 19 +++++++++++++++++ 3rdparty/mshadow/test/test.h | 19 +++++++++++++++++ 3rdparty/mshadow/test/unpack.cu | 21 ++++++++++++++++++- LICENSE | 2 ++ cpp-package/LICENSE | 2 -- .../apache_rat_license_check/rat-excludes | 11 +++++++++- 105 files changed, 1891 insertions(+), 9 deletions(-) diff --git a/3rdparty/mshadow/CHANGES.md b/3rdparty/mshadow/CHANGES.md index 03bb16936acd..9d76d7aa8d52 100644 --- a/3rdparty/mshadow/CHANGES.md +++ b/3rdparty/mshadow/CHANGES.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Change Log ===== diff --git a/3rdparty/mshadow/LICENSE b/3rdparty/mshadow/LICENSE index ebf9611d76cd..13e990c523fb 100644 --- a/3rdparty/mshadow/LICENSE +++ b/3rdparty/mshadow/LICENSE @@ -1,5 +1,3 @@ -Copyright (c) 2014 by Contributors - Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at diff --git a/3rdparty/mshadow/README.md b/3rdparty/mshadow/README.md index cc18964a65f7..6ff6cad06d0d 100644 --- a/3rdparty/mshadow/README.md +++ b/3rdparty/mshadow/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + mshadow: Matrix Shadow ====== [![Build Status](https://travis-ci.org/dmlc/mshadow.svg?branch=master)](https://travis-ci.org/dmlc/mshadow) diff --git a/3rdparty/mshadow/doc/Doxyfile b/3rdparty/mshadow/doc/Doxyfile index 3e83d471844c..eb9d16f0bf94 100644 --- a/3rdparty/mshadow/doc/Doxyfile +++ b/3rdparty/mshadow/doc/Doxyfile @@ -1,5 +1,22 @@ # Doxyfile 1.8.8 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. # diff --git a/3rdparty/mshadow/doc/README.md b/3rdparty/mshadow/doc/README.md index 2fed3444a38c..d8c31f69723e 100644 --- a/3rdparty/mshadow/doc/README.md +++ b/3rdparty/mshadow/doc/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + MShadow Documentation ===== This is the documentation for mshadow: A Lightweight CPU/GPU Matrix/Tensor Template Library in C++/CUDA. diff --git a/3rdparty/mshadow/doc/mkdoc.sh b/3rdparty/mshadow/doc/mkdoc.sh index 3ee3d71b8ce8..e325c39c7149 100755 --- a/3rdparty/mshadow/doc/mkdoc.sh +++ b/3rdparty/mshadow/doc/mkdoc.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + cd .. doxygen doc/Doxyfile cd doc diff --git a/3rdparty/mshadow/guide/Makefile b/3rdparty/mshadow/guide/Makefile index bad7a8e94b1d..9c14a90ab0a5 100644 --- a/3rdparty/mshadow/guide/Makefile +++ b/3rdparty/mshadow/guide/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set LD_LIBRARY_PATH export CC = gcc export CXX = g++ diff --git a/3rdparty/mshadow/guide/README.md b/3rdparty/mshadow/guide/README.md index 3f2e6819b7ec..db99dc249d41 100644 --- a/3rdparty/mshadow/guide/README.md +++ b/3rdparty/mshadow/guide/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Tutorial of mshadow ===== This is a beginner's tutorial for mshadow. If you like mshadow and have ideas to improve this tutorial, you are more than welcome to contribute :) diff --git a/3rdparty/mshadow/guide/basic.cpp b/3rdparty/mshadow/guide/basic.cpp index 8e90ac966053..a7b2c3671409 100644 --- a/3rdparty/mshadow/guide/basic.cpp +++ b/3rdparty/mshadow/guide/basic.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // header file to use mshadow #include "mshadow/tensor.h" // this namespace contains all data structures, functions diff --git a/3rdparty/mshadow/guide/basic_stream.cu b/3rdparty/mshadow/guide/basic_stream.cu index 930fc54710f7..89d59e65d056 100644 --- a/3rdparty/mshadow/guide/basic_stream.cu +++ b/3rdparty/mshadow/guide/basic_stream.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // header file to use mshadow #include "mshadow/tensor.h" // this namespace contains all data structures, functions diff --git a/3rdparty/mshadow/guide/config.mk b/3rdparty/mshadow/guide/config.mk index 26431bb06b3f..ccc88cbb54b4 100644 --- a/3rdparty/mshadow/guide/config.mk +++ b/3rdparty/mshadow/guide/config.mk @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #--------------------------------------------------------------------------------------- # mshadow: the configuration compile script # diff --git a/3rdparty/mshadow/guide/defop.cpp b/3rdparty/mshadow/guide/defop.cpp index 8aa1b5c8f371..39714f8fd4ad 100644 --- a/3rdparty/mshadow/guide/defop.cpp +++ b/3rdparty/mshadow/guide/defop.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include // header file to use mshadow #include "mshadow/tensor.h" diff --git a/3rdparty/mshadow/guide/exp-template/Makefile b/3rdparty/mshadow/guide/exp-template/Makefile index 90639896f751..402fd2267e7d 100644 --- a/3rdparty/mshadow/guide/exp-template/Makefile +++ b/3rdparty/mshadow/guide/exp-template/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set LD_LIBRARY_PATH export CC = gcc export CXX = g++ diff --git a/3rdparty/mshadow/guide/exp-template/README.md b/3rdparty/mshadow/guide/exp-template/README.md index 46e0019e9583..389a427a5cb7 100644 --- a/3rdparty/mshadow/guide/exp-template/README.md +++ b/3rdparty/mshadow/guide/exp-template/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Expression Template Tutorial ==== This page explains how mshadow works. The main trick behind mshadow is called [Expression Template](http://en.wikipedia.org/wiki/Expression_templates). diff --git a/3rdparty/mshadow/guide/exp-template/exp_lazy.cpp b/3rdparty/mshadow/guide/exp-template/exp_lazy.cpp index 4e6a6b14b9de..c7af13c9dbea 100644 --- a/3rdparty/mshadow/guide/exp-template/exp_lazy.cpp +++ b/3rdparty/mshadow/guide/exp-template/exp_lazy.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // Example Lazy evaluation code // for simplicity, we use struct and make all members public #include diff --git a/3rdparty/mshadow/guide/exp-template/exp_template.cpp b/3rdparty/mshadow/guide/exp-template/exp_template.cpp index 556b10316a3b..50b08f49d91c 100644 --- a/3rdparty/mshadow/guide/exp-template/exp_template.cpp +++ b/3rdparty/mshadow/guide/exp-template/exp_template.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // Example code, expression template, and more length equations // for simplicity, we use struct and make all members public #include diff --git a/3rdparty/mshadow/guide/exp-template/exp_template_op.cpp b/3rdparty/mshadow/guide/exp-template/exp_template_op.cpp index ecc1be804f98..71a3df395d94 100644 --- a/3rdparty/mshadow/guide/exp-template/exp_template_op.cpp +++ b/3rdparty/mshadow/guide/exp-template/exp_template_op.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // Example code, expression template // with binary operator definition and extension // for simplicity, we use struct and make all members public diff --git a/3rdparty/mshadow/guide/mshadow-ps/Makefile b/3rdparty/mshadow/guide/mshadow-ps/Makefile index 58d64a304009..41e9fb121d2f 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/Makefile +++ b/3rdparty/mshadow/guide/mshadow-ps/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set LD_LIBRARY_PATH export CC = gcc export CXX = g++ diff --git a/3rdparty/mshadow/guide/mshadow-ps/README.md b/3rdparty/mshadow/guide/mshadow-ps/README.md index 146c7f04498e..d651ca60619f 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/README.md +++ b/3rdparty/mshadow/guide/mshadow-ps/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + mshadow-ps ==== ### Parameter Server Interface for GPU Tensor diff --git a/3rdparty/mshadow/guide/mshadow-ps/config.mk b/3rdparty/mshadow/guide/mshadow-ps/config.mk index ed7af28a5096..b2b965770e20 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/config.mk +++ b/3rdparty/mshadow/guide/mshadow-ps/config.mk @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #--------------------------------------------------------------------------------------- # mshadow: the configuration compile script # diff --git a/3rdparty/mshadow/guide/mshadow-ps/dbstr.h b/3rdparty/mshadow/guide/mshadow-ps/dbstr.h index 59a7135cd540..a4aab47efa87 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/dbstr.h +++ b/3rdparty/mshadow/guide/mshadow-ps/dbstr.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #pragma once #include #include diff --git a/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum-inl.h b/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum-inl.h index 9b60460e3c44..bb53614f0552 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum-inl.h +++ b/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /** * @brief Simple test of KVLayer */ diff --git a/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum.cpp b/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum.cpp index 11891053fd4b..b157cbefbcfa 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum.cpp +++ b/3rdparty/mshadow/guide/mshadow-ps/dist_async_sum.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "./dist_async_sum-inl.h" int CreateServerNode(int argc, char *argv[]) { diff --git a/3rdparty/mshadow/guide/mshadow-ps/local.sh b/3rdparty/mshadow/guide/mshadow-ps/local.sh index a965ea86805f..1a47d1756777 100755 --- a/3rdparty/mshadow/guide/mshadow-ps/local.sh +++ b/3rdparty/mshadow/guide/mshadow-ps/local.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set -x # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../third_party/lib if [ $# -lt 3 ]; then diff --git a/3rdparty/mshadow/guide/mshadow-ps/local_sum-inl.h b/3rdparty/mshadow/guide/mshadow-ps/local_sum-inl.h index cfd503706c76..97ef22116d57 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/local_sum-inl.h +++ b/3rdparty/mshadow/guide/mshadow-ps/local_sum-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // This is an example demonstrating the usage of mshadow ps #include // use openmp to launch multiple threads diff --git a/3rdparty/mshadow/guide/mshadow-ps/local_sum.cpp b/3rdparty/mshadow/guide/mshadow-ps/local_sum.cpp index 7f0eed0df42e..c8752d0936f6 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/local_sum.cpp +++ b/3rdparty/mshadow/guide/mshadow-ps/local_sum.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "./local_sum-inl.h" int main(int argc, char *argv[]) { return Run(argc, argv); diff --git a/3rdparty/mshadow/guide/mshadow-ps/local_sum.cu b/3rdparty/mshadow/guide/mshadow-ps/local_sum.cu index 6e839601a265..a474d1dd887c 100644 --- a/3rdparty/mshadow/guide/mshadow-ps/local_sum.cu +++ b/3rdparty/mshadow/guide/mshadow-ps/local_sum.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "./local_sum-inl.h" int main(int argc, char *argv[]) { return Run(argc, argv); diff --git a/3rdparty/mshadow/guide/neuralnet/Makefile b/3rdparty/mshadow/guide/neuralnet/Makefile index 826384b5f3b0..33e0ebf06038 100644 --- a/3rdparty/mshadow/guide/neuralnet/Makefile +++ b/3rdparty/mshadow/guide/neuralnet/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set LD_LIBRARY_PATH export CC = gcc export CXX = g++ diff --git a/3rdparty/mshadow/guide/neuralnet/README.md b/3rdparty/mshadow/guide/neuralnet/README.md index dd181e758c65..2379a85b5a9a 100644 --- a/3rdparty/mshadow/guide/neuralnet/README.md +++ b/3rdparty/mshadow/guide/neuralnet/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Example Neural Net code with MShadow ==== diff --git a/3rdparty/mshadow/guide/neuralnet/config.mk b/3rdparty/mshadow/guide/neuralnet/config.mk index 6c10b79903bf..03c20cb2eb47 100644 --- a/3rdparty/mshadow/guide/neuralnet/config.mk +++ b/3rdparty/mshadow/guide/neuralnet/config.mk @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #--------------------------------------------------------------------------------------- # mshadow: the configuration compile script # diff --git a/3rdparty/mshadow/guide/neuralnet/convnet.cu b/3rdparty/mshadow/guide/neuralnet/convnet.cu index 5276338ec71c..8b41ebd15047 100644 --- a/3rdparty/mshadow/guide/neuralnet/convnet.cu +++ b/3rdparty/mshadow/guide/neuralnet/convnet.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // this implements a simple convolution neural net: conv-maxpool-fullc #include // header file to use mshadow diff --git a/3rdparty/mshadow/guide/neuralnet/nnet.cu b/3rdparty/mshadow/guide/neuralnet/nnet.cu index 6ef8b0db3f64..477a04ad941a 100644 --- a/3rdparty/mshadow/guide/neuralnet/nnet.cu +++ b/3rdparty/mshadow/guide/neuralnet/nnet.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // this implements a simple two layer neural net #include #include diff --git a/3rdparty/mshadow/guide/neuralnet/nnet_ps.cu b/3rdparty/mshadow/guide/neuralnet/nnet_ps.cu index 5c03fb10daab..98fe7ef726ec 100644 --- a/3rdparty/mshadow/guide/neuralnet/nnet_ps.cu +++ b/3rdparty/mshadow/guide/neuralnet/nnet_ps.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + // this implements a simple two layer Multi-GPU neural net // this implementation uses mshadow-ps to get gradient aggregation // between cards diff --git a/3rdparty/mshadow/guide/neuralnet/util.h b/3rdparty/mshadow/guide/neuralnet/util.h index f58203c7667a..a14e27c4839a 100644 --- a/3rdparty/mshadow/guide/neuralnet/util.h +++ b/3rdparty/mshadow/guide/neuralnet/util.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #pragma once #include #include diff --git a/3rdparty/mshadow/make/README.md b/3rdparty/mshadow/make/README.md index 6ef24d6d467c..fbe6f1abb961 100644 --- a/3rdparty/mshadow/make/README.md +++ b/3rdparty/mshadow/make/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Makefile Configuration of MShadow ===== MShadow is a template library, you only need to include mshadow to use it. So this folder is not used to build mshadow library file. diff --git a/3rdparty/mshadow/make/mshadow.mk b/3rdparty/mshadow/make/mshadow.mk index 86155eaaadcf..85704ed42525 100644 --- a/3rdparty/mshadow/make/mshadow.mk +++ b/3rdparty/mshadow/make/mshadow.mk @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #--------------------------------------------------------------------------------------- # mshadow configuration script # diff --git a/3rdparty/mshadow/mshadow-ps/README.md b/3rdparty/mshadow/mshadow-ps/README.md index 9c90cc9f3c9d..39adad24e685 100644 --- a/3rdparty/mshadow/mshadow-ps/README.md +++ b/3rdparty/mshadow/mshadow-ps/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + mshadow-ps ==== This folder contains mshadow-ps parameter server interface for mshadow GPU/CPU Tensor. See [guide on mshadow-ps](../guide/mshadow-ps) for introduction of the interface. diff --git a/3rdparty/mshadow/mshadow-ps/mshadow_ps.h b/3rdparty/mshadow/mshadow-ps/mshadow_ps.h index a00e79aefda2..f2280788c3a3 100644 --- a/3rdparty/mshadow/mshadow-ps/mshadow_ps.h +++ b/3rdparty/mshadow/mshadow-ps/mshadow_ps.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file mshadow_ps.h diff --git a/3rdparty/mshadow/mshadow-ps/ps_dist-inl.h b/3rdparty/mshadow/mshadow-ps/ps_dist-inl.h index 9bce0e13adbc..dc76155996a3 100644 --- a/3rdparty/mshadow/mshadow-ps/ps_dist-inl.h +++ b/3rdparty/mshadow/mshadow-ps/ps_dist-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file ps_dist-inl.h diff --git a/3rdparty/mshadow/mshadow-ps/ps_local-inl.h b/3rdparty/mshadow/mshadow-ps/ps_local-inl.h index ee4c55d92487..d78155ea794c 100644 --- a/3rdparty/mshadow/mshadow-ps/ps_local-inl.h +++ b/3rdparty/mshadow/mshadow-ps/ps_local-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file ps_local-inl.h diff --git a/3rdparty/mshadow/mshadow-ps/ps_rabit-inl.h b/3rdparty/mshadow/mshadow-ps/ps_rabit-inl.h index 238932e38982..69722fc9c67a 100644 --- a/3rdparty/mshadow/mshadow-ps/ps_rabit-inl.h +++ b/3rdparty/mshadow/mshadow-ps/ps_rabit-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file ps_rabit-inl.h diff --git a/3rdparty/mshadow/mshadow-ps/thread.h b/3rdparty/mshadow/mshadow-ps/thread.h index a80dffc22fb6..dd176c9b8968 100644 --- a/3rdparty/mshadow/mshadow-ps/thread.h +++ b/3rdparty/mshadow/mshadow-ps/thread.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright by Contributors * \file thread.h diff --git a/3rdparty/mshadow/mshadow-ps/thread_util.h b/3rdparty/mshadow/mshadow-ps/thread_util.h index 185cfcfa0728..4665536597ec 100644 --- a/3rdparty/mshadow/mshadow-ps/thread_util.h +++ b/3rdparty/mshadow/mshadow-ps/thread_util.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright by Contributors * \file thread_util.h diff --git a/3rdparty/mshadow/mshadow/README.md b/3rdparty/mshadow/mshadow/README.md index 86276af013e2..cfb9a5f41ddc 100644 --- a/3rdparty/mshadow/mshadow/README.md +++ b/3rdparty/mshadow/mshadow/README.md @@ -1,3 +1,20 @@ + + + + + + + + + + + + + + + + + Code Guide ==== This readme contains notes about code in mshadow. MShadow generally follows Google's C++ Style. diff --git a/3rdparty/mshadow/mshadow/base.h b/3rdparty/mshadow/mshadow/base.h index 2e658cfff113..6469bbc34f37 100755 --- a/3rdparty/mshadow/mshadow/base.h +++ b/3rdparty/mshadow/mshadow/base.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file base.h diff --git a/3rdparty/mshadow/mshadow/cuda/reduce.cuh b/3rdparty/mshadow/mshadow/cuda/reduce.cuh index 921d5ad5e0c0..b3d9c163bc00 100644 --- a/3rdparty/mshadow/mshadow/cuda/reduce.cuh +++ b/3rdparty/mshadow/mshadow/cuda/reduce.cuh @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file reduce.cuh diff --git a/3rdparty/mshadow/mshadow/cuda/tensor_gpu-inl.cuh b/3rdparty/mshadow/mshadow/cuda/tensor_gpu-inl.cuh index 3ebe83cff146..a64d786f0a6d 100755 --- a/3rdparty/mshadow/mshadow/cuda/tensor_gpu-inl.cuh +++ b/3rdparty/mshadow/mshadow/cuda/tensor_gpu-inl.cuh @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file tensor_gpu-inl.cuh diff --git a/3rdparty/mshadow/mshadow/dot_engine-inl.h b/3rdparty/mshadow/mshadow/dot_engine-inl.h index d9abf298f93d..225821e13f5a 100644 --- a/3rdparty/mshadow/mshadow/dot_engine-inl.h +++ b/3rdparty/mshadow/mshadow/dot_engine-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file dot_engine-inl.h diff --git a/3rdparty/mshadow/mshadow/expr_engine-inl.h b/3rdparty/mshadow/mshadow/expr_engine-inl.h index 6421ebcff812..a1b70acc1e28 100644 --- a/3rdparty/mshadow/mshadow/expr_engine-inl.h +++ b/3rdparty/mshadow/mshadow/expr_engine-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file expr_engine-inl.h diff --git a/3rdparty/mshadow/mshadow/expr_scalar-inl.h b/3rdparty/mshadow/mshadow/expr_scalar-inl.h index 1ddaba412543..64d39f6bba23 100644 --- a/3rdparty/mshadow/mshadow/expr_scalar-inl.h +++ b/3rdparty/mshadow/mshadow/expr_scalar-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file expr_scalar-inl.h diff --git a/3rdparty/mshadow/mshadow/expression.h b/3rdparty/mshadow/mshadow/expression.h index 77f943165088..6e5cca8bc7e3 100644 --- a/3rdparty/mshadow/mshadow/expression.h +++ b/3rdparty/mshadow/mshadow/expression.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file expression.h diff --git a/3rdparty/mshadow/mshadow/extension.h b/3rdparty/mshadow/mshadow/extension.h index 7af0f56f7699..d12a85e2d576 100644 --- a/3rdparty/mshadow/mshadow/extension.h +++ b/3rdparty/mshadow/mshadow/extension.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright by Contributors * \file extension.h diff --git a/3rdparty/mshadow/mshadow/extension/broadcast.h b/3rdparty/mshadow/mshadow/extension/broadcast.h index ea138ccd9e4d..88ffcf243460 100644 --- a/3rdparty/mshadow/mshadow/extension/broadcast.h +++ b/3rdparty/mshadow/mshadow/extension/broadcast.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file broadcast.h diff --git a/3rdparty/mshadow/mshadow/extension/broadcast_with_axis.h b/3rdparty/mshadow/mshadow/extension/broadcast_with_axis.h index 49605af67d32..1fc348c875ca 100644 --- a/3rdparty/mshadow/mshadow/extension/broadcast_with_axis.h +++ b/3rdparty/mshadow/mshadow/extension/broadcast_with_axis.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2016 by Contributors * \file broadcast_with_axis.h diff --git a/3rdparty/mshadow/mshadow/extension/channel_pool.h b/3rdparty/mshadow/mshadow/extension/channel_pool.h index 60d1112f4a61..f796e950a7fc 100644 --- a/3rdparty/mshadow/mshadow/extension/channel_pool.h +++ b/3rdparty/mshadow/mshadow/extension/channel_pool.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file channel_pool.h diff --git a/3rdparty/mshadow/mshadow/extension/channel_unpool.h b/3rdparty/mshadow/mshadow/extension/channel_unpool.h index 00ba279c1760..48f5cc4072cc 100644 --- a/3rdparty/mshadow/mshadow/extension/channel_unpool.h +++ b/3rdparty/mshadow/mshadow/extension/channel_unpool.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file channel_pool.h diff --git a/3rdparty/mshadow/mshadow/extension/choose.h b/3rdparty/mshadow/mshadow/extension/choose.h index b1391724d400..e0fcda1c12e9 100644 --- a/3rdparty/mshadow/mshadow/extension/choose.h +++ b/3rdparty/mshadow/mshadow/extension/choose.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file choose.h diff --git a/3rdparty/mshadow/mshadow/extension/complex.h b/3rdparty/mshadow/mshadow/extension/complex.h index 8e79b7eb819c..c2eea8a1043c 100644 --- a/3rdparty/mshadow/mshadow/extension/complex.h +++ b/3rdparty/mshadow/mshadow/extension/complex.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2016 by Contributors * \file complex.h diff --git a/3rdparty/mshadow/mshadow/extension/concat.h b/3rdparty/mshadow/mshadow/extension/concat.h index c51b1dcb0a26..387d38ede404 100644 --- a/3rdparty/mshadow/mshadow/extension/concat.h +++ b/3rdparty/mshadow/mshadow/extension/concat.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file concat.h diff --git a/3rdparty/mshadow/mshadow/extension/crop.h b/3rdparty/mshadow/mshadow/extension/crop.h index 80096a2d22d3..5c53d7a41e9d 100644 --- a/3rdparty/mshadow/mshadow/extension/crop.h +++ b/3rdparty/mshadow/mshadow/extension/crop.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file crop.h diff --git a/3rdparty/mshadow/mshadow/extension/fill.h b/3rdparty/mshadow/mshadow/extension/fill.h index 4ac62c1673e5..a63b1c44472a 100644 --- a/3rdparty/mshadow/mshadow/extension/fill.h +++ b/3rdparty/mshadow/mshadow/extension/fill.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file fill.h diff --git a/3rdparty/mshadow/mshadow/extension/flip.h b/3rdparty/mshadow/mshadow/extension/flip.h index 17d1894530fc..b6f400a231dc 100644 --- a/3rdparty/mshadow/mshadow/extension/flip.h +++ b/3rdparty/mshadow/mshadow/extension/flip.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2016 by Contributors * \file flip.h diff --git a/3rdparty/mshadow/mshadow/extension/implicit_gemm.h b/3rdparty/mshadow/mshadow/extension/implicit_gemm.h index b4b88ea326c8..27e993f3c34c 100644 --- a/3rdparty/mshadow/mshadow/extension/implicit_gemm.h +++ b/3rdparty/mshadow/mshadow/extension/implicit_gemm.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file implicit_gemm.h diff --git a/3rdparty/mshadow/mshadow/extension/mask.h b/3rdparty/mshadow/mshadow/extension/mask.h index 0fd4cc6db72e..0662d96b49f6 100644 --- a/3rdparty/mshadow/mshadow/extension/mask.h +++ b/3rdparty/mshadow/mshadow/extension/mask.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2016 by Contributors * \file mask.h diff --git a/3rdparty/mshadow/mshadow/extension/mirror.h b/3rdparty/mshadow/mshadow/extension/mirror.h index 9e9edc9b6f70..af3595010832 100644 --- a/3rdparty/mshadow/mshadow/extension/mirror.h +++ b/3rdparty/mshadow/mshadow/extension/mirror.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file mirror.h diff --git a/3rdparty/mshadow/mshadow/extension/one_hot.h b/3rdparty/mshadow/mshadow/extension/one_hot.h index 326d4c3560eb..3432918736c2 100644 --- a/3rdparty/mshadow/mshadow/extension/one_hot.h +++ b/3rdparty/mshadow/mshadow/extension/one_hot.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file one_hot.h diff --git a/3rdparty/mshadow/mshadow/extension/pack_col2patch.h b/3rdparty/mshadow/mshadow/extension/pack_col2patch.h index 37f1a699ead5..9887c13c3042 100644 --- a/3rdparty/mshadow/mshadow/extension/pack_col2patch.h +++ b/3rdparty/mshadow/mshadow/extension/pack_col2patch.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file pack_col2patch.h diff --git a/3rdparty/mshadow/mshadow/extension/pad.h b/3rdparty/mshadow/mshadow/extension/pad.h index 6622a022acc8..eb0464259ac3 100644 --- a/3rdparty/mshadow/mshadow/extension/pad.h +++ b/3rdparty/mshadow/mshadow/extension/pad.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file pad.h diff --git a/3rdparty/mshadow/mshadow/extension/range.h b/3rdparty/mshadow/mshadow/extension/range.h index ab49b6e3cf18..21bcb89a3ab5 100644 --- a/3rdparty/mshadow/mshadow/extension/range.h +++ b/3rdparty/mshadow/mshadow/extension/range.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file range.h diff --git a/3rdparty/mshadow/mshadow/extension/reduce_with_axis.h b/3rdparty/mshadow/mshadow/extension/reduce_with_axis.h index 26b6156ad6f9..abd20d593e73 100644 --- a/3rdparty/mshadow/mshadow/extension/reduce_with_axis.h +++ b/3rdparty/mshadow/mshadow/extension/reduce_with_axis.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file reduce_with_axis.h diff --git a/3rdparty/mshadow/mshadow/extension/reduceto1d.h b/3rdparty/mshadow/mshadow/extension/reduceto1d.h index 09a478ab311e..825efd742875 100644 --- a/3rdparty/mshadow/mshadow/extension/reduceto1d.h +++ b/3rdparty/mshadow/mshadow/extension/reduceto1d.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file reduceto1d.h diff --git a/3rdparty/mshadow/mshadow/extension/reshape.h b/3rdparty/mshadow/mshadow/extension/reshape.h index b310fe69291a..0578084f0936 100644 --- a/3rdparty/mshadow/mshadow/extension/reshape.h +++ b/3rdparty/mshadow/mshadow/extension/reshape.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file reshape.h diff --git a/3rdparty/mshadow/mshadow/extension/slice.h b/3rdparty/mshadow/mshadow/extension/slice.h index d0c266284639..038818f03c3e 100644 --- a/3rdparty/mshadow/mshadow/extension/slice.h +++ b/3rdparty/mshadow/mshadow/extension/slice.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file slice.h diff --git a/3rdparty/mshadow/mshadow/extension/slice_ex.h b/3rdparty/mshadow/mshadow/extension/slice_ex.h index 7f464097fb3b..2789503ff57a 100644 --- a/3rdparty/mshadow/mshadow/extension/slice_ex.h +++ b/3rdparty/mshadow/mshadow/extension/slice_ex.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file slice.h diff --git a/3rdparty/mshadow/mshadow/extension/spatial_pool.h b/3rdparty/mshadow/mshadow/extension/spatial_pool.h index c833fb40ad58..ecb400b11517 100644 --- a/3rdparty/mshadow/mshadow/extension/spatial_pool.h +++ b/3rdparty/mshadow/mshadow/extension/spatial_pool.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file spatial_pool.h diff --git a/3rdparty/mshadow/mshadow/extension/spatial_unpool.h b/3rdparty/mshadow/mshadow/extension/spatial_unpool.h index e9ca2dfd035b..58b21a7cfb70 100644 --- a/3rdparty/mshadow/mshadow/extension/spatial_unpool.h +++ b/3rdparty/mshadow/mshadow/extension/spatial_unpool.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file spatial_unpool.h diff --git a/3rdparty/mshadow/mshadow/extension/spatial_upsampling_nearest.h b/3rdparty/mshadow/mshadow/extension/spatial_upsampling_nearest.h index 534fbdd9ebe0..97f0870a7c39 100644 --- a/3rdparty/mshadow/mshadow/extension/spatial_upsampling_nearest.h +++ b/3rdparty/mshadow/mshadow/extension/spatial_upsampling_nearest.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file spatial_upsampling.h diff --git a/3rdparty/mshadow/mshadow/extension/swapaxis.h b/3rdparty/mshadow/mshadow/extension/swapaxis.h index b79aba441175..a4407a0caca4 100644 --- a/3rdparty/mshadow/mshadow/extension/swapaxis.h +++ b/3rdparty/mshadow/mshadow/extension/swapaxis.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file swapaxis.h diff --git a/3rdparty/mshadow/mshadow/extension/take.h b/3rdparty/mshadow/mshadow/extension/take.h index 76c4f4729491..b14029c76441 100644 --- a/3rdparty/mshadow/mshadow/extension/take.h +++ b/3rdparty/mshadow/mshadow/extension/take.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file take.h diff --git a/3rdparty/mshadow/mshadow/extension/take_grad.h b/3rdparty/mshadow/mshadow/extension/take_grad.h index 4479b3e0cd9d..f749e43e4cc6 100644 --- a/3rdparty/mshadow/mshadow/extension/take_grad.h +++ b/3rdparty/mshadow/mshadow/extension/take_grad.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file take_grad.h diff --git a/3rdparty/mshadow/mshadow/extension/transpose.h b/3rdparty/mshadow/mshadow/extension/transpose.h index 6640153f2100..1834b457d876 100644 --- a/3rdparty/mshadow/mshadow/extension/transpose.h +++ b/3rdparty/mshadow/mshadow/extension/transpose.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2016 by Contributors * \file transpose.h diff --git a/3rdparty/mshadow/mshadow/extension/unpack_patch2col.h b/3rdparty/mshadow/mshadow/extension/unpack_patch2col.h index ed473f81d496..621f8807975a 100644 --- a/3rdparty/mshadow/mshadow/extension/unpack_patch2col.h +++ b/3rdparty/mshadow/mshadow/extension/unpack_patch2col.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file unpack_patch2col.h diff --git a/3rdparty/mshadow/mshadow/half.h b/3rdparty/mshadow/mshadow/half.h index 1cc53ae0460f..f2abab8c1bc8 100644 --- a/3rdparty/mshadow/mshadow/half.h +++ b/3rdparty/mshadow/mshadow/half.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file half.h diff --git a/3rdparty/mshadow/mshadow/io.h b/3rdparty/mshadow/mshadow/io.h index 2d0efc3aa56b..073c49442708 100644 --- a/3rdparty/mshadow/mshadow/io.h +++ b/3rdparty/mshadow/mshadow/io.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file io.h diff --git a/3rdparty/mshadow/mshadow/logging.h b/3rdparty/mshadow/mshadow/logging.h index 5fc56aff3bae..666ca587b3bc 100644 --- a/3rdparty/mshadow/mshadow/logging.h +++ b/3rdparty/mshadow/mshadow/logging.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2015 by Contributors * \file logging.h diff --git a/3rdparty/mshadow/mshadow/packet-inl.h b/3rdparty/mshadow/mshadow/packet-inl.h index 58cbc4005aaf..1b3d11a34114 100644 --- a/3rdparty/mshadow/mshadow/packet-inl.h +++ b/3rdparty/mshadow/mshadow/packet-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file packet-inl.h diff --git a/3rdparty/mshadow/mshadow/packet/plain-inl.h b/3rdparty/mshadow/mshadow/packet/plain-inl.h index de28ad7b4894..ddcc4a76e185 100644 --- a/3rdparty/mshadow/mshadow/packet/plain-inl.h +++ b/3rdparty/mshadow/mshadow/packet/plain-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file plain-inl.h diff --git a/3rdparty/mshadow/mshadow/packet/sse-inl.h b/3rdparty/mshadow/mshadow/packet/sse-inl.h index 923a5f60de38..f104d5ed94a4 100644 --- a/3rdparty/mshadow/mshadow/packet/sse-inl.h +++ b/3rdparty/mshadow/mshadow/packet/sse-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file sse-inl.h diff --git a/3rdparty/mshadow/mshadow/random.h b/3rdparty/mshadow/mshadow/random.h index c136f4f67809..32526f0c78af 100644 --- a/3rdparty/mshadow/mshadow/random.h +++ b/3rdparty/mshadow/mshadow/random.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file random.h diff --git a/3rdparty/mshadow/mshadow/stream_gpu-inl.h b/3rdparty/mshadow/mshadow/stream_gpu-inl.h index 603da9767e81..39987712bcdf 100644 --- a/3rdparty/mshadow/mshadow/stream_gpu-inl.h +++ b/3rdparty/mshadow/mshadow/stream_gpu-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file stream_gpu-inl.h diff --git a/3rdparty/mshadow/mshadow/tensor.h b/3rdparty/mshadow/mshadow/tensor.h index 0add5a87d63b..8dd57e20cd67 100755 --- a/3rdparty/mshadow/mshadow/tensor.h +++ b/3rdparty/mshadow/mshadow/tensor.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file tensor.h diff --git a/3rdparty/mshadow/mshadow/tensor_container.h b/3rdparty/mshadow/mshadow/tensor_container.h index 8dee1de10eb9..4717434e1de7 100644 --- a/3rdparty/mshadow/mshadow/tensor_container.h +++ b/3rdparty/mshadow/mshadow/tensor_container.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file tensor_container.h diff --git a/3rdparty/mshadow/mshadow/tensor_cpu-inl.h b/3rdparty/mshadow/mshadow/tensor_cpu-inl.h index 7531dd93faaf..a1c9db0e1c34 100755 --- a/3rdparty/mshadow/mshadow/tensor_cpu-inl.h +++ b/3rdparty/mshadow/mshadow/tensor_cpu-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file tensor_cpu-inl.h diff --git a/3rdparty/mshadow/mshadow/tensor_gpu-inl.h b/3rdparty/mshadow/mshadow/tensor_gpu-inl.h index 009e5d6530ff..e7dde2776f43 100755 --- a/3rdparty/mshadow/mshadow/tensor_gpu-inl.h +++ b/3rdparty/mshadow/mshadow/tensor_gpu-inl.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + /*! * Copyright (c) 2014 by Contributors * \file tensor_gpu-inl.h diff --git a/3rdparty/mshadow/scripts/travis_script.sh b/3rdparty/mshadow/scripts/travis_script.sh index c0220eb6c589..d801a25b2db0 100755 --- a/3rdparty/mshadow/scripts/travis_script.sh +++ b/3rdparty/mshadow/scripts/travis_script.sh @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # main script of travis if [ ${TASK} == "lint" ]; then python3 dmlc-core/scripts/lint.py mshadow all mshadow mshadow-ps || exit -1 diff --git a/3rdparty/mshadow/test/Makefile b/3rdparty/mshadow/test/Makefile index dc2d0552deb4..b493cd7f7e13 100644 --- a/3rdparty/mshadow/test/Makefile +++ b/3rdparty/mshadow/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # set LD_LIBRARY_PATH export CC = gcc export CXX = g++ diff --git a/3rdparty/mshadow/test/pairtest.cu b/3rdparty/mshadow/test/pairtest.cu index 56b0380747a7..1f9538c45d0c 100644 --- a/3rdparty/mshadow/test/pairtest.cu +++ b/3rdparty/mshadow/test/pairtest.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "mshadow/tensor.h" #include "old/tensor.h" #include "assert.h" @@ -102,4 +121,4 @@ int main(int argc, char** argv) { } else { RunTask(); } -} \ No newline at end of file +} diff --git a/3rdparty/mshadow/test/pool.cu b/3rdparty/mshadow/test/pool.cu index 9641d53c9c45..c809a1109b22 100644 --- a/3rdparty/mshadow/test/pool.cu +++ b/3rdparty/mshadow/test/pool.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "mshadow/tensor.h" #include "old/tensor.h" #include "assert.h" @@ -66,4 +85,4 @@ int main(int argc, char** argv) { } else { RunTask(); } -} \ No newline at end of file +} diff --git a/3rdparty/mshadow/test/reshape.cu b/3rdparty/mshadow/test/reshape.cu index c1ad52e07c40..b8b944ca3c5a 100644 --- a/3rdparty/mshadow/test/reshape.cu +++ b/3rdparty/mshadow/test/reshape.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "mshadow/tensor.h" #include "old/tensor.h" #include "assert.h" @@ -71,4 +90,4 @@ int main(int argc, char** argv) { } else { RunTask(); } -} \ No newline at end of file +} diff --git a/3rdparty/mshadow/test/test.cu b/3rdparty/mshadow/test/test.cu index 13f26dcfd6ea..71cb40e1c82b 100644 --- a/3rdparty/mshadow/test/test.cu +++ b/3rdparty/mshadow/test/test.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "test.h" using namespace mshadow; diff --git a/3rdparty/mshadow/test/test.h b/3rdparty/mshadow/test/test.h index 2cfc515957ca..27a542baf386 100644 --- a/3rdparty/mshadow/test/test.h +++ b/3rdparty/mshadow/test/test.h @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #ifndef TEST_H #define TEST_H diff --git a/3rdparty/mshadow/test/unpack.cu b/3rdparty/mshadow/test/unpack.cu index dd0c2b9c5821..aea883702625 100644 --- a/3rdparty/mshadow/test/unpack.cu +++ b/3rdparty/mshadow/test/unpack.cu @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include "mshadow/tensor.h" #include "old/tensor.h" #include "assert.h" @@ -82,4 +101,4 @@ int main(int argc, char** argv) { } else { RunTask(); } -} \ No newline at end of file +} diff --git a/LICENSE b/LICENSE index 893e52b3de18..235fbc30e50d 100644 --- a/LICENSE +++ b/LICENSE @@ -307,6 +307,8 @@ Licensed MIT © Zeno Rocha 10. clipboard.min.js - Refer to https://zenorocha.github.io/clipboard.js Licensed MIT © Zeno Rocha + 11. mx-theme - For details, see docs/python_docs/themes/mx-theme/LICENSE + Copyright (c) 2016 myyasuda ======================================================================================= diff --git a/cpp-package/LICENSE b/cpp-package/LICENSE index 2525650c621b..13e990c523fb 100644 --- a/cpp-package/LICENSE +++ b/cpp-package/LICENSE @@ -1,5 +1,3 @@ -Copyright (c) 2015 by Contributors - Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at diff --git a/tests/nightly/apache_rat_license_check/rat-excludes b/tests/nightly/apache_rat_license_check/rat-excludes index 9ec4b7925bab..88c12b2c5415 100755 --- a/tests/nightly/apache_rat_license_check/rat-excludes +++ b/tests/nightly/apache_rat_license_check/rat-excludes @@ -31,7 +31,16 @@ _includes/* .*ipynb .*json .*txt -3rdparty/* +ctc_include/* +dlpack/* +dmlc-core/* +googletest/* +mkldnn/* +nvidia_cub/* +onnx-tensorrt/* +openmp/* +ps-lite/* +tvm/* R-package/* trunk/* .*\\.m