You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2021/11/02 22:34:44 UTC
[incubator-mxnet] branch v1.x updated: [v1.x] License updates
(#20709)
This is an automated email from the ASF dual-hosted git repository.
manuseth pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.x by this push:
new bde1625 [v1.x] License updates (#20709)
bde1625 is described below
commit bde1625c3c183caa12d7265271a000ef20a71d91
Author: Joe Evans <jo...@gmail.com>
AuthorDate: Tue Nov 2 15:32:24 2021 -0700
[v1.x] License updates (#20709)
* Remove Apache-2.0 license header from ONNX files that were originally BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE.
* Remove 3rdparty/mkldnn/src/common/primitive_hashing.hpp from LICENSE under Boost License section, since it is clearly Apache 2.0 licensed.
* Clarify Caffe license to BSD 2-clause with Caffe extensions.
* Clarify Caffe license to BSD 2-clause with Caffe extensions.
* Remove duplicate file, should only be in BSD 3-clause section.
* Update LICENSE with latest from 3rdparty/mkldnn/THIRD-PARTY-PROGRAMS
* Sort files under MIT license. Remove references to generic licenses.
* Remove incorrectly added Apache header on MIT-licensed files.
* Sort lines in ASF-2.0 licensed list.
* Add license text in licenses/ to fulfill binary distribution requirements.
* Remove copyright by contributors line from ASF-licensed file.
* Fix rat-excludes and licensecheck exclude list.
* Error out and fail if license_header.py tool detects multiple licenses in a file.
* Move LayerNormCPUKernel function to own file, since it is licensed under MIT. Update LICENSE to reflect this.
* Remove LayerNormCPUKernel from layer_norm.cc, it is now in layer_norm_cpu.h.
* Add header guard, fix first line to pass lint.
* Update skywalking-eyes config based on current LICENSE, add layer_norm_cpu.h to whitelist.
* Rename license file for layer_norm_cpu.h
---
.licenserc.yaml | 23 +-
LICENSE | 75 +--
licenses/LICENSE.bfloat16.txt | 9 +
licenses/LICENSE.blockingconcurrentqueue.txt | 26 +
LICENSE => licenses/LICENSE.builtin_fp16.txt | 307 ++++-----
licenses/LICENSE.clang.txt | 63 ++
licenses/LICENSE.cma.txt | 22 +
licenses/LICENSE.cmakeincludes.txt | 30 +
licenses/LICENSE.coco.txt | 18 +
licenses/LICENSE.concurrentqueue.txt | 22 +
LICENSE => licenses/LICENSE.ctc_include.txt | 159 +----
licenses/LICENSE.deformable_im2col.txt | 52 ++
LICENSE => licenses/LICENSE.dlpack.txt | 163 +----
licenses/LICENSE.erfinv.txt | 31 +
licenses/LICENSE.findeigen3.txt | 22 +
licenses/LICENSE.findjemalloc.txt | 31 +
licenses/LICENSE.findpythonlibsnew.txt | 33 +
LICENSE => licenses/LICENSE.gmock_gen.txt | 161 +----
licenses/LICENSE.googlemock.txt | 28 +
licenses/LICENSE.googletest.txt | 28 +
licenses/LICENSE.im2col.txt | 49 ++
licenses/LICENSE.intgemm.txt | 70 ++
licenses/LICENSE.layer_norm_cpu.txt | 27 +
licenses/LICENSE.mersenne.txt | 30 +
licenses/LICENSE.mkldnn.txt | 742 +++++++++++++++++++++
licenses/LICENSE.moderngpu.txt | 23 +
.../LICENSE.modulated_deformable_convolution.txt | 21 +
licenses/LICENSE.modulated_deformable_im2col.txt | 52 ++
licenses/LICENSE.mshadow.txt | 11 +
licenses/LICENSE.mx2onnx.txt | 26 +
licenses/LICENSE.np_einsum.txt | 32 +
licenses/LICENSE.nvidia_cub.txt | 24 +
licenses/LICENSE.onnx-tensorrt.txt | 22 +
licenses/LICENSE.onnx.txt | 22 +
LICENSE => licenses/LICENSE.openmp.txt | 359 +++++-----
licenses/LICENSE.picojson.txt | 25 +
licenses/LICENSE.pool.txt | 49 ++
LICENSE => licenses/LICENSE.ps-lite.txt | 165 +----
licenses/LICENSE.rang.txt | 24 +
licenses/LICENSE.tree_lstm.txt | 21 +
LICENSE => licenses/LICENSE.tvm.txt | 198 ++----
python/mxnet/onnx/mx2onnx/LICENSE | 44 --
python/mxnet/onnx/mx2onnx/_export_onnx.py | 22 +-
.../_op_translations/_op_translations_opset12.py | 24 +-
.../_op_translations/_op_translations_opset13.py | 24 +-
rat-excludes | 6 +
.../contrib/modulated_deformable_convolution-inl.h | 19 -
.../contrib/modulated_deformable_convolution.cc | 19 -
.../contrib/modulated_deformable_convolution.cu | 19 -
src/operator/nn/layer_norm.cc | 102 +--
src/operator/nn/layer_norm_cpu.h | 109 +++
src/operator/special_functions-inl.h | 1 -
tools/license_header.py | 7 +-
53 files changed, 2217 insertions(+), 1474 deletions(-)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 89a403a5..00fd913 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -49,25 +49,30 @@ header:
- 'cmake/Modules/FindJeMalloc.cmake'
# files licensed under bsd 2-clause
- 'example/ssd/dataset/pycocotools/coco.py'
+ # files licensed under bsd 2-clause + caffe
+ - 'src/operator/nn/pool.cuh'
+ - 'src/operator/nn/pool.h'
+ - 'src/operator/nn/im2col.cuh'
+ - 'src/operator/nn/im2col.h'
+ - 'src/operator/contrib/nn/deformable_im2col.cuh'
+ - 'src/operator/contrib/nn/deformable_im2col.h'
+ - 'src/operator/contrib/nn/modulated_deformable_im2col.cuh'
+ - 'src/operator/contrib/nn/modulated_deformable_im2col.h'
# files licensed under bsd 3-clause
- 'cmake/upstream/FindCUDAToolkit.cmake'
- 'cmake/upstream/select_compute_arch.cmake'
+ - 'python/mxnet/onnx/mx2onnx/_export_onnx.py'
+ - 'python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py'
+ - 'python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py'
- 'src/operator/contrib/erfinv-inl.h'
- 'src/operator/numpy/np_einsum_op-inl.h'
- 'src/operator/numpy/np_einsum_op.cc'
- 'src/operator/numpy/np_einsum_path_op-inl.h'
- # files licensed under caffe/mit license
+ # files licensed under mit license
- 'src/operator/contrib/modulated_deformable_convolution-inl.h'
- 'src/operator/contrib/modulated_deformable_convolution.cc'
- 'src/operator/contrib/modulated_deformable_convolution.cu'
- - 'src/operator/contrib/nn/deformable_im2col.cuh'
- - 'src/operator/contrib/nn/deformable_im2col.h'
- - 'src/operator/contrib/nn/modulated_deformable_im2col.cuh'
- - 'src/operator/contrib/nn/modulated_deformable_im2col.h'
- - 'src/operator/nn/im2col.cuh'
- - 'src/operator/nn/im2col.h'
- - 'src/operator/nn/pool.cuh'
- - 'src/operator/nn/pool.h'
+ - 'src/operator/nn/layer_norm_cpu.h'
# symlinks
- 'include/dlpack' # symlink to 3rdparty/dlpack/include/dlpack
- 'include/dmlc' # symlink to 3rdparty/dmlc-core/include/dmlc
diff --git a/LICENSE b/LICENSE
index c2005d8..fecd6ef 100644
--- a/LICENSE
+++ b/LICENSE
@@ -207,8 +207,7 @@
The Apache MXNET (incubating) project contains subcomponents with separate
copyright notices and license terms. Your use of the source code for the
these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
+ licenses. See licenses/ for text of these licenses.
If a folder hierarchy is listed as subcomponent, separate listings of
further subcomponents (files or folder hierarchies) part of the hierarchy
@@ -220,25 +219,24 @@
3rdparty/ctc_include
3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
+ 3rdparty/googletest/googlemock/scripts/generator
3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
+ 3rdparty/mkldnn/doc/assets/mathjax
+ 3rdparty/mkldnn/tests/benchdnn
3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
+ 3rdparty/ps-lite
+ 3rdparty/tvm
+ 3rdparty/tvm/3rdparty/dlpack
+ 3rdparty/tvm/3rdparty/dmlc-core
+ 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc
+ include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
+ include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
+ include/mkldnn (header symlinks to 3rdparty/mkldnn)
+ include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
+ include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
src/operator/contrib/deformable_convolution-inl.h
src/operator/contrib/deformable_convolution.cc
src/operator/contrib/deformable_convolution.cu
@@ -251,29 +249,33 @@
src/operator/contrib/psroi_pooling.cc
src/operator/contrib/psroi_pooling.cu
src/operator/nn/mkldnn/mkldnn_base-inl.h
+ src/operator/special_functions-inl.h
=======================================================================================
MIT license
=======================================================================================
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
+ 3rdparty/intgemm
3rdparty/onnx-tensorrt
3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
+ 3rdparty/tvm/3rdparty/cma
3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
+ example/gluon/tree_lstm
src/operator/contrib/modulated_deformable_convolution-inl.h
src/operator/contrib/modulated_deformable_convolution.cc
src/operator/contrib/modulated_deformable_convolution.cu
+ src/operator/nn/layer_norm_cpu.h
=======================================================================================
3-clause BSD license
=======================================================================================
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
+ 3rdparty/mkldnn/cmake/FindACL.cmake (see licenses/LICENSE.mkldnn.txt)
+ 3rdparty/mkldnn/cmake/FindBLAS.cmake (see licenses/LICENSE.mkldnn.txt)
+ 3rdparty/mkldnn/cmake/FindOpenCL.cmake (see licenses/LICENSE.mkldnn.txt)
+ 3rdparty/mkldnn/src/common/ittnotify (see licenses/LICENSE.mkldnn.txt)
+ 3rdparty/mkldnn/src/cpu/x64/xbyak (see licenses/LICENSE.mkldnn.txt)
+ 3rdparty/mkldnn/tests/gtests/gtest (see licenses/LICENSE.mkldnn.txt)
3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
3rdparty/ctc_include/contrib/moderngpu
3rdparty/nvidia_cub
@@ -282,6 +284,9 @@
3rdparty/googletest/googletest
cmake/upstream/FindCUDAToolkit.cmake
cmake/upstream/select_compute_arch.cmake
+ python/mxnet/onnx/mx2onnx/_export_onnx.py
+ python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
+ python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
src/operator/contrib/erfinv-inl.h
src/operator/numpy/np_einsum_op-inl.h
src/operator/numpy/np_einsum_path_op-inl.h
@@ -292,11 +297,10 @@
=======================================================================================
3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
+ 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake
3rdparty/tvm/3rdparty/picojson/picojson.h
example/ssd/dataset/pycocotools/coco.py
+ include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
=======================================================================================
Apache-2.0 license + LLVM Exceptions
@@ -305,7 +309,7 @@
3rdparty/openmp
=======================================================================================
- Caffe Licensing Model
+ 2-clause BSD license + Caffe Copyright Notice and Disclaimer
=======================================================================================
src/operator/nn/pool.h
@@ -325,25 +329,10 @@
include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
=======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
Boost Software License, Version 1.0
=======================================================================================
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
+ 3rdparty/intgemm/test/3rd_party/catch.hpp
cmake/Modules/FindJeMalloc.cmake
=======================================================================================
diff --git a/licenses/LICENSE.bfloat16.txt b/licenses/LICENSE.bfloat16.txt
new file mode 100644
index 0000000..ce537b4
--- /dev/null
+++ b/licenses/LICENSE.bfloat16.txt
@@ -0,0 +1,9 @@
+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
+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.
\ No newline at end of file
diff --git a/licenses/LICENSE.blockingconcurrentqueue.txt b/licenses/LICENSE.blockingconcurrentqueue.txt
new file mode 100644
index 0000000..d08e53a
--- /dev/null
+++ b/licenses/LICENSE.blockingconcurrentqueue.txt
@@ -0,0 +1,26 @@
+©2015-2016 Cameron Desrochers. Distributed under the terms of the simplified
+BSD license, available at the top of concurrentqueue.h.
+
+Uses Jeff Preshing's semaphore implementation (under the terms of its
+separate zlib license, embedded below).
+
+
+zlib license
+------------
+Copyright (c) 2015 Jeff Preshing
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgement in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
diff --git a/LICENSE b/licenses/LICENSE.builtin_fp16.txt
similarity index 53%
copy from LICENSE
copy to licenses/LICENSE.builtin_fp16.txt
index c2005d8..508c7f7 100644
--- a/LICENSE
+++ b/licenses/LICENSE.builtin_fp16.txt
@@ -1,11 +1,14 @@
+==============================================================================
+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
+==============================================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- 1. Definitions.
+ 1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
@@ -64,14 +67,14 @@
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
- 2. Grant of Copyright License. Subject to the terms and conditions of
+ 2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
- 3. Grant of Patent License. Subject to the terms and conditions of
+ 3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
@@ -87,7 +90,7 @@
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
- 4. Redistribution. You may reproduce and distribute copies of the
+ 4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
@@ -128,7 +131,7 @@
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
- 5. Submission of Contributions. Unless You explicitly state otherwise,
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
@@ -136,12 +139,12 @@
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
- 6. Trademarks. This License does not grant permission to use the trade
+ 6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
- 7. Disclaimer of Warranty. Unless required by applicable law or
+ 7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
@@ -151,7 +154,7 @@
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
- 8. Limitation of Liability. In no event and under no legal theory,
+ 8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
@@ -163,7 +166,7 @@
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
- 9. Accepting Warranty or Additional Liability. While redistributing
+ 9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
@@ -174,9 +177,9 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- APPENDIX: How to apply the Apache License to your work.
+ APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
@@ -187,174 +190,122 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright [yyyy] [name of copyright owner]
- 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
+ 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
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.
-
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
+ 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.
+
+---- LLVM Exceptions to the Apache 2.0 License ----
+
+As an exception, if, as a result of your compiling your source code, portions
+of this Software are embedded into an Object form of such source code, you
+may redistribute such embedded portions in such Object form without complying
+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
+
+In addition, if you combine or link compiled forms of this Software with
+software that is licensed under the GPLv2 ("Combined Software") and if a
+court of competent jurisdiction determines that the patent provision (Section
+3), the indemnity provision (Section 9) or other Section of the License
+conflicts with the conditions of the GPLv2, you may retroactively and
+prospectively choose to deem waived or otherwise exclude such Section(s) of
+the License, but only in their entirety and only with respect to the Combined
+Software.
+
+==============================================================================
+Software from third parties included in the LLVM Project:
+==============================================================================
+The LLVM Project contains third party software which is under different license
+terms. All such code will be identified clearly using at least one of two
+mechanisms:
+1) It will be in a separate directory tree with its own `LICENSE.txt` or
+ `LICENSE` file at the top containing the specific license and restrictions
+ which apply to that software, or
+2) It will contain specific license and restriction terms at the top of every
+ file.
+
+==============================================================================
+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
+==============================================================================
+
+The compiler_rt library is dual licensed under both the University of Illinois
+"BSD-Like" license and the MIT license. As a user of this code you may choose
+to use it under either license. As a contributor, you agree to allow your code
+to be used under both.
+
+Full text of the relevant licenses is included below.
+
+==============================================================================
+
+University of Illinois/NCSA
+Open Source License
+
+Copyright (c) 2009-2019 by the contributors listed in CREDITS.TXT
+
+All rights reserved.
+
+Developed by:
+
+ LLVM Team
+
+ University of Illinois at Urbana-Champaign
+
+ http://llvm.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimers.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimers in the
+ documentation and/or other materials provided with the distribution.
+
+ * Neither the names of the LLVM Team, University of Illinois at
+ Urbana-Champaign, nor the names of its contributors may be used to
+ endorse or promote products derived from this Software without specific
+ prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+==============================================================================
+
+Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/licenses/LICENSE.clang.txt b/licenses/LICENSE.clang.txt
new file mode 100644
index 0000000..6c224f8
--- /dev/null
+++ b/licenses/LICENSE.clang.txt
@@ -0,0 +1,63 @@
+==============================================================================
+LLVM Release License
+==============================================================================
+University of Illinois/NCSA
+Open Source License
+
+Copyright (c) 2007-2012 University of Illinois at Urbana-Champaign.
+All rights reserved.
+
+Developed by:
+
+ LLVM Team
+
+ University of Illinois at Urbana-Champaign
+
+ http://llvm.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimers.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimers in the
+ documentation and/or other materials provided with the distribution.
+
+ * Neither the names of the LLVM Team, University of Illinois at
+ Urbana-Champaign, nor the names of its contributors may be used to
+ endorse or promote products derived from this Software without specific
+ prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+==============================================================================
+The LLVM software contains code written by third parties. Such software will
+have its own individual LICENSE.TXT file in the directory in which it appears.
+This file will describe the copyrights, license, and restrictions which apply
+to that code.
+
+The disclaimer of warranty in the University of Illinois Open Source License
+applies to all code in the LLVM Distribution, and nothing in any of the
+other licenses gives permission to use the names of the LLVM Team or the
+University of Illinois to endorse or promote products derived from this
+Software.
+
+The following pieces of software have additional or alternate copyrights,
+licenses, and/or restrictions:
+
+Program Directory
+------- ---------
+<none yet>
+
diff --git a/licenses/LICENSE.cma.txt b/licenses/LICENSE.cma.txt
new file mode 100644
index 0000000..4205858
--- /dev/null
+++ b/licenses/LICENSE.cma.txt
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+COPYRIGHT (C) 2017 Institute of Electronics and Computer Science (EDI), Latvia.
+AUTHOR: Rihards Novickis (rihards.novickis@edi.lv)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/licenses/LICENSE.cmakeincludes.txt b/licenses/LICENSE.cmakeincludes.txt
new file mode 100644
index 0000000..2a8edc9
--- /dev/null
+++ b/licenses/LICENSE.cmakeincludes.txt
@@ -0,0 +1,30 @@
+Copyright 2000-2019 Kitware, Inc. and Contributors
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+* Neither the name of Kitware, Inc. nor the names of Contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/licenses/LICENSE.coco.txt b/licenses/LICENSE.coco.txt
new file mode 100644
index 0000000..2e97508
--- /dev/null
+++ b/licenses/LICENSE.coco.txt
@@ -0,0 +1,18 @@
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, this list of
+conditions and the following disclaimer in the documentation and/or other materials
+provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses/LICENSE.concurrentqueue.txt b/licenses/LICENSE.concurrentqueue.txt
new file mode 100644
index 0000000..4cd7545
--- /dev/null
+++ b/licenses/LICENSE.concurrentqueue.txt
@@ -0,0 +1,22 @@
+Simplified BSD license:
+Copyright (c) 2013-2016, Cameron Desrochers.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, this list of
+conditions and the following disclaimer in the documentation and/or other materials
+provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/LICENSE b/licenses/LICENSE.ctc_include.txt
similarity index 59%
copy from LICENSE
copy to licenses/LICENSE.ctc_include.txt
index c2005d8..4946875 100644
--- a/LICENSE
+++ b/licenses/LICENSE.ctc_include.txt
@@ -1,4 +1,3 @@
-
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -201,160 +200,6 @@
See the License for the specific language governing permissions and
limitations under the License.
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
+ ----
+ Copyright 2015-2016, Baidu USA LLC.
\ No newline at end of file
diff --git a/licenses/LICENSE.deformable_im2col.txt b/licenses/LICENSE.deformable_im2col.txt
new file mode 100644
index 0000000..2b3073e
--- /dev/null
+++ b/licenses/LICENSE.deformable_im2col.txt
@@ -0,0 +1,52 @@
+ ******************* BEGIN Caffe Copyright Notice and Disclaimer ****************
+ *
+ * COPYRIGHT
+ *
+ * All contributions by the University of California:
+ * Copyright (c) 2014-2017 The Regents of the University of California (Regents)
+ * All rights reserved.
+ *
+ * All other contributions:
+ * Copyright (c) 2014-2017, the respective contributors
+ * All rights reserved.
+ *
+ * Caffe uses a shared copyright model: each contributor holds copyright over
+ * their contributions to Caffe. The project versioning records all such
+ * contribution and copyright details. If a contributor wants to further mark
+ * their specific copyright on a particular contribution, they should indicate
+ * their copyright solely in the commit message of the change when it is
+ * committed.
+ *
+ * LICENSE
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * CONTRIBUTION AGREEMENT
+ *
+ * By contributing to the BVLC/caffe repository through pull-request, comment,
+ * or otherwise, the contributor releases their content to the
+ * license and copyright terms herein.
+ *
+ ***************** END Caffe Copyright Notice and Disclaimer ********************
+ *
+ * Copyright (c) 2017 Microsoft
+ * Licensed under The Apache-2.0 License [see LICENSE for details]
+
diff --git a/LICENSE b/licenses/LICENSE.dlpack.txt
similarity index 59%
copy from LICENSE
copy to licenses/LICENSE.dlpack.txt
index c2005d8..20a9c8a 100644
--- a/LICENSE
+++ b/licenses/LICENSE.dlpack.txt
@@ -1,4 +1,3 @@
-
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -179,7 +178,7 @@
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
+ boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
@@ -187,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2017 by Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -200,161 +199,3 @@
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.
-
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
-
diff --git a/licenses/LICENSE.erfinv.txt b/licenses/LICENSE.erfinv.txt
new file mode 100644
index 0000000..21b66cc
--- /dev/null
+++ b/licenses/LICENSE.erfinv.txt
@@ -0,0 +1,31 @@
+Copyright (c) 2001-2002 Enthought, Inc. 2003-2019, SciPy Developers.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/licenses/LICENSE.findeigen3.txt b/licenses/LICENSE.findeigen3.txt
new file mode 100644
index 0000000..f33df5c
--- /dev/null
+++ b/licenses/LICENSE.findeigen3.txt
@@ -0,0 +1,22 @@
+Copyright (c) 2006, 2007 Montel Laurent, <mo...@kde.org>
+Copyright (c) 2008, 2009 Gael Guennebaud, <g....@free.fr>
+Copyright (c) 2009 Benoit Jacob <ja...@gmail.com>
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, this list of
+conditions and the following disclaimer in the documentation and/or other materials
+provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses/LICENSE.findjemalloc.txt b/licenses/LICENSE.findjemalloc.txt
new file mode 100644
index 0000000..7dcf482
--- /dev/null
+++ b/licenses/LICENSE.findjemalloc.txt
@@ -0,0 +1,31 @@
+Copyright (c) 2014 Thomas Heller
+Copyright (c) 2007-2012 Hartmut Kaiser
+Copyright (c) 2010-2011 Matt Anderson
+Copyright (c) 2011 Bryce Lelbach
+
+---
+Distributed under the Boost Software License, Version 1.0.
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
diff --git a/licenses/LICENSE.findpythonlibsnew.txt b/licenses/LICENSE.findpythonlibsnew.txt
new file mode 100644
index 0000000..bec20f0
--- /dev/null
+++ b/licenses/LICENSE.findpythonlibsnew.txt
@@ -0,0 +1,33 @@
+Copyright 2001-2009 Kitware, Inc.
+Copyright 2012 Continuum Analytics, Inc.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+* Neither the names of Kitware, Inc., the Insight Software Consortium,
+nor the names of their contributors may be used to endorse or promote
+products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/LICENSE b/licenses/LICENSE.gmock_gen.txt
similarity index 59%
copy from LICENSE
copy to licenses/LICENSE.gmock_gen.txt
index c2005d8..87ea063 100644
--- a/LICENSE
+++ b/licenses/LICENSE.gmock_gen.txt
@@ -187,7 +187,8 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright [2007] Neal Norwitz
+ Portions Copyright [2007] Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -200,161 +201,3 @@
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.
-
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
-
diff --git a/licenses/LICENSE.googlemock.txt b/licenses/LICENSE.googlemock.txt
new file mode 100644
index 0000000..1941a11
--- /dev/null
+++ b/licenses/LICENSE.googlemock.txt
@@ -0,0 +1,28 @@
+Copyright 2008, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses/LICENSE.googletest.txt b/licenses/LICENSE.googletest.txt
new file mode 100644
index 0000000..1941a11
--- /dev/null
+++ b/licenses/LICENSE.googletest.txt
@@ -0,0 +1,28 @@
+Copyright 2008, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses/LICENSE.im2col.txt b/licenses/LICENSE.im2col.txt
new file mode 100644
index 0000000..ed7bebb
--- /dev/null
+++ b/licenses/LICENSE.im2col.txt
@@ -0,0 +1,49 @@
+ ******************* BEGIN Caffe Copyright Notice and Disclaimer ****************
+ *
+ * COPYRIGHT
+ *
+ * All contributions by the University of California:
+ * Copyright (c) 2014-2017 The Regents of the University of California (Regents)
+ * All rights reserved.
+ *
+ * All other contributions:
+ * Copyright (c) 2014-2017, the respective contributors
+ * All rights reserved.
+ *
+ * Caffe uses a shared copyright model: each contributor holds copyright over
+ * their contributions to Caffe. The project versioning records all such
+ * contribution and copyright details. If a contributor wants to further mark
+ * their specific copyright on a particular contribution, they should indicate
+ * their copyright solely in the commit message of the change when it is
+ * committed.
+ *
+ * LICENSE
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * CONTRIBUTION AGREEMENT
+ *
+ * By contributing to the BVLC/caffe repository through pull-request, comment,
+ * or otherwise, the contributor releases their content to the
+ * license and copyright terms herein.
+ *
+ ***************** END Caffe Copyright Notice and Disclaimer ********************
+
diff --git a/licenses/LICENSE.intgemm.txt b/licenses/LICENSE.intgemm.txt
new file mode 100644
index 0000000..0d57f7b
--- /dev/null
+++ b/licenses/LICENSE.intgemm.txt
@@ -0,0 +1,70 @@
+MIT License
+
+Copyright (c) 2017--2019 University of Edinburgh, Nikolay Bogoychev, Mateusz Chudyk, Kenneth Heafield, and Microsoft Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+
+test/3rd_party/catch.hpp
+Copyright (c) 2019 Two Blue Cubes Ltd. All rights reserved.
+Distributed under the Boost Software License, Version 1.0. (See accompanying
+file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+
+
+The original 16-bit SSE2 code came from:
+
+Sharp Models on Dull Hardware: Fast and Accurate Neural Machine Translation Decoding on the CPU by Jacob Devlin
+https://arxiv.org/abs/1705.01991
+
+Under a license:
+
+Copyright (c) 2017 Microsoft Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
diff --git a/licenses/LICENSE.layer_norm_cpu.txt b/licenses/LICENSE.layer_norm_cpu.txt
new file mode 100644
index 0000000..d299814
--- /dev/null
+++ b/licenses/LICENSE.layer_norm_cpu.txt
@@ -0,0 +1,27 @@
+MIT License
+
+Copyright (c) 2016 Marcin Junczys-Dowmunt, the University of Edinburgh, Adam
+Mickiewicz University
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+
+All or part of this file was contributed by Intel under license:
+ Copyright (C) 2017-2018 Intel Corporation
+ SPDX-License-Identifier: MIT
+
diff --git a/licenses/LICENSE.mersenne.txt b/licenses/LICENSE.mersenne.txt
new file mode 100644
index 0000000..d21dcc3
--- /dev/null
+++ b/licenses/LICENSE.mersenne.txt
@@ -0,0 +1,30 @@
+ Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. The names of its contributors may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/licenses/LICENSE.mkldnn.txt b/licenses/LICENSE.mkldnn.txt
new file mode 100644
index 0000000..454e0e8
--- /dev/null
+++ b/licenses/LICENSE.mkldnn.txt
@@ -0,0 +1,742 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ ============================================================================
+
+ Copyright 2016-2021 Intel Corporation
+ Copyright 2018 YANDEX LLC
+ Copyright 2019-2021 FUJITSU LIMITED
+ Copyright 2020 Arm Limited and affiliates
+ Copyright 2020 Codeplay Software Limited
+ Copyright 2021 Alanna Tempest
+
+ 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
+
+ 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 distribution includes third party software ("third party programs").
+ This third party software, even if included with the distribution of
+ the Intel software, may be governed by separate license terms, including
+ without limitation, third party license terms, other Intel software license
+ terms, and open source software license terms. These separate license terms
+ govern your use of the third party programs as set forth in the
+ "THIRD-PARTY-PROGRAMS" file.
+
+--------------------------------------------------------------------------------
+
+oneAPI Deep Neural Network Library (oneDNN) Third Party Programs File
+
+This file contains the list of third party software ("third party programs")
+contained in the Intel software and their required notices and/or license
+terms. This third party software, even if included with the distribution of
+the Intel software, may be governed by separate license terms, including
+without limitation, third party license terms, other Intel software license
+terms, and open source software license terms. These separate license terms
+govern your use of the third party programs as set forth in in the
+"THIRD-PARTY-PROGRAMS" file.
+
+Third party programs and their corresponding required notices and/or license
+terms are listed below.
+
+--------------------------------------------------------------------------------
+1. XByak (src/cpu/xbyak/)
+Copyright (c) 2007 MITSUNARI Shigeo
+All rights reserved.
+
+3-Clause BSD License
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+Neither the name of the copyright owner nor the names of its contributors may
+be used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ソースコード形式かバイナリ形式か、変更するかしないかを問わず、以下の条件を満た
+す場合に限り、再頒布および使用が許可されます。
+
+ソースコードを再頒布する場合、上記の著作権表示、本条件一覧、および下記免責条項
+を含めること。
+バイナリ形式で再頒布する場合、頒布物に付属のドキュメント等の資料に、上記の著作
+権表示、本条件一覧、および下記免責条項を含めること。
+書面による特別の許可なしに、本ソフトウェアから派生した製品の宣伝または販売促進
+に、著作権者の名前またはコントリビューターの名前を使用してはならない。
+本ソフトウェアは、著作権者およびコントリビューターによって「現状のまま」提供さ
+れており、明示黙示を問わず、商業的な使用可能性、および特定の目的に対する適合性
+に関する暗黙の保証も含め、またそれに限定されない、いかなる保証もありません。
+著作権者もコントリビューターも、事由のいかんを問わず、 損害発生の原因いかんを
+問わず、かつ責任の根拠が契約であるか厳格責任であるか(過失その他の)不法行為で
+あるかを問わず、仮にそのような損害が発生する可能性を知らされていたとしても、
+本ソフトウェアの使用によって発生した(代替品または代用サービスの調達、使用の
+喪失、データの喪失、利益の喪失、業務の中断も含め、またそれに限定されない)直接
+損害、間接損害、偶発的な損害、特別損害、懲罰的損害、または結果損害について、
+一切責任を負わないものとします。
+
+--------------------------------------------------------------------------------
+2. Googletest (tests/gtests/gtest/)
+Copyright 2005, Google Inc.
+Copyright 2006, Google Inc.
+Copyright 2007, Google Inc.
+Copyright 2008, Google Inc.
+Copyright 2015, Google Inc.
+All rights reserved.
+
+3-Clause BSD License
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+3. Instrumentation and Tracing Technology API (src/common/ittnotify/)
+Copyright (c) 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2005-2014 Intel Corporation. All rights reserved.
+
+3-Clause BSD License
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of Intel Corporation nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+4. CMake (cmake/FindOpenCL.cmake, cmake/FindBLAS.cmake, cmake/FindACL.cmake)
+CMake - Cross Platform Makefile Generator
+Copyright 2000-2020 Kitware, Inc. and Contributors
+All rights reserved.
+
+3-Clause BSD License
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+* Neither the name of Kitware, Inc. nor the names of Contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+5. Font Roboto (doc/assets/fonts/Roboto*)
+Copyright 2011 The Roboto Project Authors (https://github.com/google/roboto)
+
+MathJax (doc/assets/mathjax)
+Copyright (c) 2009-2018 The MathJax Consortium
+Copyright (c) 2010-2018 The MathJax Consortium
+Copyright (c) 2011-2015 The MathJax Consortium
+Copyright (c) 2015-2017 Martin Hensel
+
+Xbyak_aarch64 (src/cpu/aarch64/xbyak_aarch64/)
+Copyright 2019-2020 FUJITSU LIMITED
+
+Apache License, Version 2.0
+
+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
+
+ 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.
+
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+--------------------------------------------------------------------------------
+6. Boost C++ Libraries (src/common/primitive_hashing.hpp)
+Copyright 2005-2014 Daniel James.
+
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+--------------------------------------------------------------------------------
+7. Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM)
+Driver (src/gpu/jit/ngen/npack/{elf_structs,hash}.hpp)
+Copyright (c) 2018 Intel Corporation
+
+Intel(R) Graphics Compiler (src/gpu/jit/ngen/npack/neo_structs.hpp)
+Copyright (c) 2019 Intel Corporation
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+--------------------------------------------------------------------------------
+8. Font Awesome (doc/assets/fonts/fontawesome*)
+Copyright Dave Gandy 2016. All rights reserved.
+
+Font Lato (doc/assets/fonts/lato*)
+Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com)
+with Reserved Font Name "Lato"
+
+Font Asana Math (doc/assets/mathjax/fonts/HTML-CSS/Asana-Math)
+Copyright (c) 2007, Apostolos Syropoulos (<asyropoulos@yahoo.com),
+with Reserved Font Name Asana Math.
+
+Copyright (c) 2013, The MathJax Consortium,
+with Reserved Font Name Asana MathJax.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/licenses/LICENSE.moderngpu.txt b/licenses/LICENSE.moderngpu.txt
new file mode 100644
index 0000000..9d6dcb7
--- /dev/null
+++ b/licenses/LICENSE.moderngpu.txt
@@ -0,0 +1,23 @@
+Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the NVIDIA CORPORATION nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/licenses/LICENSE.modulated_deformable_convolution.txt b/licenses/LICENSE.modulated_deformable_convolution.txt
new file mode 100644
index 0000000..c757383
--- /dev/null
+++ b/licenses/LICENSE.modulated_deformable_convolution.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Microsoft
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/licenses/LICENSE.modulated_deformable_im2col.txt b/licenses/LICENSE.modulated_deformable_im2col.txt
new file mode 100644
index 0000000..944d6cb
--- /dev/null
+++ b/licenses/LICENSE.modulated_deformable_im2col.txt
@@ -0,0 +1,52 @@
+ ******************* BEGIN Caffe Copyright Notice and Disclaimer ****************
+ *
+ * COPYRIGHT
+ *
+ * All contributions by the University of California:
+ * Copyright (c) 2014-2017 The Regents of the University of California (Regents)
+ * All rights reserved.
+ *
+ * All other contributions:
+ * Copyright (c) 2014-2017, the respective contributors
+ * All rights reserved.
+ *
+ * Caffe uses a shared copyright model: each contributor holds copyright over
+ * their contributions to Caffe. The project versioning records all such
+ * contribution and copyright details. If a contributor wants to further mark
+ * their specific copyright on a particular contribution, they should indicate
+ * their copyright solely in the commit message of the change when it is
+ * committed.
+ *
+ * LICENSE
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * CONTRIBUTION AGREEMENT
+ *
+ * By contributing to the BVLC/caffe repository through pull-request, comment,
+ * or otherwise, the contributor releases their content to the
+ * license and copyright terms herein.
+ *
+ ***************** END Caffe Copyright Notice and Disclaimer ********************
+ *
+ * Copyright (c) 2018 Microsoft
+ * Licensed under The MIT License [see LICENSE for details]
+
diff --git a/licenses/LICENSE.mshadow.txt b/licenses/LICENSE.mshadow.txt
new file mode 100644
index 0000000..13e990c
--- /dev/null
+++ b/licenses/LICENSE.mshadow.txt
@@ -0,0 +1,11 @@
+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
+
+ 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.
diff --git a/licenses/LICENSE.mx2onnx.txt b/licenses/LICENSE.mx2onnx.txt
new file mode 100644
index 0000000..30ec1c1
--- /dev/null
+++ b/licenses/LICENSE.mx2onnx.txt
@@ -0,0 +1,26 @@
+Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+* Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+* Neither the name of NVIDIA CORPORATION nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/licenses/LICENSE.np_einsum.txt b/licenses/LICENSE.np_einsum.txt
new file mode 100644
index 0000000..86f639e
--- /dev/null
+++ b/licenses/LICENSE.np_einsum.txt
@@ -0,0 +1,32 @@
+Copyright (c) 2005-2019, NumPy Developers.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * Neither the name of the NumPy Developers nor the names of any
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/licenses/LICENSE.nvidia_cub.txt b/licenses/LICENSE.nvidia_cub.txt
new file mode 100644
index 0000000..a678e64
--- /dev/null
+++ b/licenses/LICENSE.nvidia_cub.txt
@@ -0,0 +1,24 @@
+Copyright (c) 2010-2011, Duane Merrill. All rights reserved.
+Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the NVIDIA CORPORATION nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/licenses/LICENSE.onnx-tensorrt.txt b/licenses/LICENSE.onnx-tensorrt.txt
new file mode 100644
index 0000000..1d5d3af
--- /dev/null
+++ b/licenses/LICENSE.onnx-tensorrt.txt
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
+Copyright (c) 2018 Open Neural Network Exchange
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/licenses/LICENSE.onnx.txt b/licenses/LICENSE.onnx.txt
new file mode 100644
index 0000000..717ea2c
--- /dev/null
+++ b/licenses/LICENSE.onnx.txt
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) ONNX Project Contributors
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/LICENSE b/licenses/LICENSE.openmp.txt
similarity index 51%
copy from LICENSE
copy to licenses/LICENSE.openmp.txt
index c2005d8..9907566 100644
--- a/LICENSE
+++ b/licenses/LICENSE.openmp.txt
@@ -1,11 +1,14 @@
+==============================================================================
+The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
+==============================================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- 1. Definitions.
+ 1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
@@ -64,14 +67,14 @@
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
- 2. Grant of Copyright License. Subject to the terms and conditions of
+ 2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
- 3. Grant of Patent License. Subject to the terms and conditions of
+ 3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
@@ -87,7 +90,7 @@
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
- 4. Redistribution. You may reproduce and distribute copies of the
+ 4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
@@ -128,7 +131,7 @@
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
- 5. Submission of Contributions. Unless You explicitly state otherwise,
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
@@ -136,12 +139,12 @@
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
- 6. Trademarks. This License does not grant permission to use the trade
+ 6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
- 7. Disclaimer of Warranty. Unless required by applicable law or
+ 7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
@@ -151,7 +154,7 @@
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
- 8. Limitation of Liability. In no event and under no legal theory,
+ 8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
@@ -163,7 +166,7 @@
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
- 9. Accepting Warranty or Additional Liability. While redistributing
+ 9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
@@ -174,9 +177,9 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- APPENDIX: How to apply the Apache License to your work.
+ APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
@@ -187,174 +190,172 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright [yyyy] [name of copyright owner]
- 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
+ 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
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.
-
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
-
+ 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.
+
+
+---- LLVM Exceptions to the Apache 2.0 License ----
+
+As an exception, if, as a result of your compiling your source code, portions
+of this Software are embedded into an Object form of such source code, you
+may redistribute such embedded portions in such Object form without complying
+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
+
+In addition, if you combine or link compiled forms of this Software with
+software that is licensed under the GPLv2 ("Combined Software") and if a
+court of competent jurisdiction determines that the patent provision (Section
+3), the indemnity provision (Section 9) or other Section of the License
+conflicts with the conditions of the GPLv2, you may retroactively and
+prospectively choose to deem waived or otherwise exclude such Section(s) of
+the License, but only in their entirety and only with respect to the Combined
+Software.
+
+==============================================================================
+Software from third parties included in the LLVM Project:
+==============================================================================
+The LLVM Project contains third party software which is under different license
+terms. All such code will be identified clearly using at least one of two
+mechanisms:
+1) It will be in a separate directory tree with its own `LICENSE.txt` or
+ `LICENSE` file at the top containing the specific license and restrictions
+ which apply to that software, or
+2) It will contain specific license and restriction terms at the top of every
+ file.
+
+==============================================================================
+Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
+==============================================================================
+
+The software contained in this directory tree is dual licensed under both the
+University of Illinois "BSD-Like" license and the MIT license. As a user of
+this code you may choose to use it under either license. As a contributor,
+you agree to allow your code to be used under both. The full text of the
+relevant licenses is included below.
+
+In addition, a license agreement from the copyright/patent holders of the
+software contained in this directory tree is included below.
+
+==============================================================================
+
+University of Illinois/NCSA
+Open Source License
+
+Copyright (c) 1997-2019 Intel Corporation
+
+All rights reserved.
+
+Developed by:
+ OpenMP Runtime Team
+ Intel Corporation
+ http://www.openmprtl.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal with
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimers.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimers in the
+ documentation and/or other materials provided with the distribution.
+
+ * Neither the names of Intel Corporation OpenMP Runtime Team nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this Software without specific prior written permission.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
+SOFTWARE.
+
+==============================================================================
+
+Copyright (c) 1997-2019 Intel Corporation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+==============================================================================
+
+Intel Corporation
+
+Software Grant License Agreement ("Agreement")
+
+Except for the license granted herein to you, Intel Corporation ("Intel") reserves
+all right, title, and interest in and to the Software (defined below).
+
+Definition
+
+"Software" means the code and documentation as well as any original work of
+authorship, including any modifications or additions to an existing work, that
+is intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
+inclusion in, or documentation of, any of the products owned or managed by LLVM
+(the "Work"). For the purposes of this definition, "submitted" means any form of
+electronic, verbal, or written communication sent to LLVM or its
+representatives, including but not limited to communication on electronic
+mailing lists, source code control systems, and issue tracking systems that are
+managed by, or on behalf of, LLVM for the purpose of discussing and improving
+the Work, but excluding communication that is conspicuously marked otherwise.
+
+1. Grant of Copyright License. Subject to the terms and conditions of this
+ Agreement, Intel hereby grants to you and to recipients of the Software
+ distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+ royalty-free, irrevocable copyright license to reproduce, prepare derivative
+ works of, publicly display, publicly perform, sublicense, and distribute the
+ Software and such derivative works.
+
+2. Grant of Patent License. Subject to the terms and conditions of this
+ Agreement, Intel hereby grants you and to recipients of the Software
+ distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
+ royalty-free, irrevocable (except as stated in this section) patent license
+ to make, have made, use, offer to sell, sell, import, and otherwise transfer
+ the Work, where such license applies only to those patent claims licensable
+ by Intel that are necessarily infringed by Intel's Software alone or by
+ combination of the Software with the Work to which such Software was
+ submitted. If any entity institutes patent litigation against Intel or any
+ other entity (including a cross-claim or counterclaim in a lawsuit) alleging
+ that Intel's Software, or the Work to which Intel has contributed constitutes
+ direct or contributory patent infringement, then any patent licenses granted
+ to that entity under this Agreement for the Software or Work shall terminate
+ as of the date such litigation is filed.
+
+Unless required by applicable law or agreed to in writing, the software is
+provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+either express or implied, including, without limitation, any warranties or
+conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE.
+
+==============================================================================
diff --git a/licenses/LICENSE.picojson.txt b/licenses/LICENSE.picojson.txt
new file mode 100644
index 0000000..5373d53
--- /dev/null
+++ b/licenses/LICENSE.picojson.txt
@@ -0,0 +1,25 @@
+Copyright 2009-2010 Cybozu Labs, Inc.
+Copyright 2011-2014 Kazuho Oku
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/licenses/LICENSE.pool.txt b/licenses/LICENSE.pool.txt
new file mode 100644
index 0000000..ed7bebb
--- /dev/null
+++ b/licenses/LICENSE.pool.txt
@@ -0,0 +1,49 @@
+ ******************* BEGIN Caffe Copyright Notice and Disclaimer ****************
+ *
+ * COPYRIGHT
+ *
+ * All contributions by the University of California:
+ * Copyright (c) 2014-2017 The Regents of the University of California (Regents)
+ * All rights reserved.
+ *
+ * All other contributions:
+ * Copyright (c) 2014-2017, the respective contributors
+ * All rights reserved.
+ *
+ * Caffe uses a shared copyright model: each contributor holds copyright over
+ * their contributions to Caffe. The project versioning records all such
+ * contribution and copyright details. If a contributor wants to further mark
+ * their specific copyright on a particular contribution, they should indicate
+ * their copyright solely in the commit message of the change when it is
+ * committed.
+ *
+ * LICENSE
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * CONTRIBUTION AGREEMENT
+ *
+ * By contributing to the BVLC/caffe repository through pull-request, comment,
+ * or otherwise, the contributor releases their content to the
+ * license and copyright terms herein.
+ *
+ ***************** END Caffe Copyright Notice and Disclaimer ********************
+
diff --git a/LICENSE b/licenses/LICENSE.ps-lite.txt
similarity index 58%
copy from LICENSE
copy to licenses/LICENSE.ps-lite.txt
index c2005d8..dec0d20 100644
--- a/LICENSE
+++ b/licenses/LICENSE.ps-lite.txt
@@ -1,5 +1,4 @@
-
- Apache License
+Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -179,7 +178,7 @@
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
+ boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
@@ -187,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2015 Carnegie Mellon University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -200,161 +199,3 @@
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.
-
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
-
diff --git a/licenses/LICENSE.rang.txt b/licenses/LICENSE.rang.txt
new file mode 100644
index 0000000..cf1ab25
--- /dev/null
+++ b/licenses/LICENSE.rang.txt
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org>
diff --git a/licenses/LICENSE.tree_lstm.txt b/licenses/LICENSE.tree_lstm.txt
new file mode 100644
index 0000000..441cb8a
--- /dev/null
+++ b/licenses/LICENSE.tree_lstm.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017 Riddhiman Dasgupta, Sheng Zha
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/LICENSE b/licenses/LICENSE.tvm.txt
similarity index 59%
copy from LICENSE
copy to licenses/LICENSE.tvm.txt
index c2005d8..4985691 100644
--- a/LICENSE
+++ b/licenses/LICENSE.tvm.txt
@@ -1,4 +1,3 @@
-
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -179,7 +178,7 @@
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
+ boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
@@ -187,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -201,160 +200,41 @@
See the License for the specific language governing permissions and
limitations under the License.
- ======================================================================================
- Apache MXNET (incubating) Subcomponents:
-
- The Apache MXNET (incubating) project contains subcomponents with separate
- copyright notices and license terms. Your use of the source code for the
- these subcomponents is subject to the terms and conditions of the following
- licenses. If not stated otherwise, their copyright notices and license terms
- are available at the path of the subcomponent.
-
- If a folder hierarchy is listed as subcomponent, separate listings of
- further subcomponents (files or folder hierarchies) part of the hierarchy
- take precedence.
-
- =======================================================================================
- Apache-2.0 license
- =======================================================================================
-
- 3rdparty/ctc_include
- 3rdparty/dlpack
- include/dlpack (header symlinks to 3rdparty/dlpack/include/dlpack)
- 3rdparty/dmlc-core
- include/dmlc (header symlinks to 3rdparty/dmlc-core/include/dmlc)
- 3rdparty/mshadow
- include/mshadow (header symlinks to 3rdparty/mshadow/mshadow)
- 3rdparty/tvm
- 3rdparty/tvm/3rdparty/dmlc-core
- 3rdparty/tvm/3rdparty/dlpack
- include/nnvm (header symlinks to 3rdparty/tvm/nnvm/include/nnvm)
- 3rdparty/ps-lite
- 3rdparty/mkldnn
- include/mkldnn (header symlinks to 3rdparty/mkldnn)
- 3rdparty/googletest/googlemock/scripts/generator
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/benchmark
- 3rdparty/onnx-tensorrt/third_party/onnx/tools/protoc-gen-mypy.py
- 3rdparty/mkldnn/tests/benchdnn (Copy of the License available at top of current file)
- src/operator/special_functions-inl.h Cephes Library Functions (Copy of the License available at top of current file)
- 3rdparty/mkldnn/doc/assets/mathjax (Copy of the License available at top of current file)
- 3rdparty/tvm/3rdparty/bfloat16/bfloat16.cc (Copy of the License available at top of current file)
- src/operator/contrib/deformable_convolution-inl.h
- src/operator/contrib/deformable_convolution.cc
- src/operator/contrib/deformable_convolution.cu
- src/operator/contrib/deformable_psroi_pooling-inl.h
- src/operator/contrib/deformable_psroi_pooling.cc
- src/operator/contrib/deformable_psroi_pooling.cu
- src/operator/contrib/multi_proposal-inl.h
- src/operator/contrib/multi_proposal.cc
- src/operator/contrib/multi_proposal.cu
- src/operator/contrib/psroi_pooling.cc
- src/operator/contrib/psroi_pooling.cu
- src/operator/nn/mkldnn/mkldnn_base-inl.h
-
- =======================================================================================
- MIT license
- =======================================================================================
-
- example/gluon/tree_lstm
- 3rdparty/tvm/3rdparty/cma
- 3rdparty/onnx-tensorrt
- 3rdparty/onnx-tensorrt/third_party/onnx
- 3rdparty/intgemm
- 3rdparty/tvm/3rdparty/compiler-rt/builtin_fp16.h
- src/operator/contrib/modulated_deformable_convolution-inl.h
- src/operator/contrib/modulated_deformable_convolution.cc
- src/operator/contrib/modulated_deformable_convolution.cu
-
- =======================================================================================
- 3-clause BSD license
- =======================================================================================
-
- 3rdparty/mkldnn/src/cpu/x64/xbyak
- 3rdparty/mkldnn/tests/gtests/gtest
- 3rdparty/mkldnn/cmake/FindOpenCL.cmake (Copy of the License available at licenses/BSD3-cmake)
- 3rdparty/mkldnn/src/cpu/x64/jit_utils/jitprofiling/
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/ctc_include/contrib/moderngpu
- 3rdparty/nvidia_cub
- 3rdparty/nvidia_cub/test/mersenne.h
- 3rdparty/googletest/googlemock
- 3rdparty/googletest/googletest
- cmake/upstream/FindCUDAToolkit.cmake
- cmake/upstream/select_compute_arch.cmake
- src/operator/contrib/erfinv-inl.h
- src/operator/numpy/np_einsum_op-inl.h
- src/operator/numpy/np_einsum_path_op-inl.h
- src/operator/numpy/np_einsum_op.cc
-
- =======================================================================================
- 2-clause BSD license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
- include/dmlc/concurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/concurrentqueue.h)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindEigen3.cmake (Copy of the License available at licenses/BSD2)
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/FindPythonLibsNew.cmake
- 3rdparty/tvm/3rdparty/picojson/picojson.h
- example/ssd/dataset/pycocotools/coco.py
-
- =======================================================================================
- Apache-2.0 license + LLVM Exceptions
- =======================================================================================
-
- 3rdparty/openmp
-
- =======================================================================================
- Caffe Licensing Model
- =======================================================================================
-
- src/operator/nn/pool.h
- src/operator/nn/pool.cuh
- src/operator/nn/im2col.h
- src/operator/nn/im2col.cuh
- src/operator/contrib/nn/deformable_im2col.h
- src/operator/contrib/nn/deformable_im2col.cuh
- src/operator/contrib/nn/modulated_deformable_im2col.h
- src/operator/contrib/nn/modulated_deformable_im2col.cuh
-
- =======================================================================================
- 2-clause BSD license + zlib license
- =======================================================================================
-
- 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
- include/dmlc/blockingconcurrentqueue.h (symlink to 3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h)
-
- =======================================================================================
- Apache-2.0 license + 3-clause BSD license
- =======================================================================================
-
- python/mxnet/onnx/mx2onnx/_export_onnx.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
- python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
-
- =======================================================================================
- Apache-2.0 license + MIT License
- =======================================================================================
-
- src/operator/nn/layer_norm.cc (function LayerNormCPUKernel is adapated from MIT-licensed code)
-
- =======================================================================================
- Boost Software License, Version 1.0
- =======================================================================================
-
- 3rdparty/intgemm/test/3rd_party/catch.hpp (Copy of the License available at licenses/BOOST1_0)
- 3rdparty/mkldnn/src/common/primitive_hashing.hpp
- cmake/Modules/FindJeMalloc.cmake
-
- =======================================================================================
- LLVM Release License
- =======================================================================================
-
- 3rdparty/onnx-tensorrt/third_party/onnx/third_party/pybind11/tools/clang
-
- =======================================================================================
- Unlicense
- =======================================================================================
-
- 3rdparty/tvm/3rdparty/rang
+------------------------------------------------------------------------------------
+This product bundles various third-party components under other open source licenses.
+This section summarizes those components and their licenses. See licenses/
+for text of these licenses.
+
+
+Apache Software Foundation License 2.0
+--------------------------------------
+
+3rdparty/bfloat16/bfloat16.cc
+3rdparty/dlpack
+3rdparty/dmlc-core
+
+
+BSD 2-clause License
+--------------------
+
+3rdparty/picojson
+3rdparty/dmlc-core/include/dmlc/concurrentqueue.h
+
+
+BSD 2-clause License + zlib License
+-----------------------------------
+
+3rdparty/dmlc-core/include/dmlc/blockingconcurrentqueue.h
+
+
+MIT License
+-----------
+
+3rdparty/cma
+3rdparty/compiler-rt/builtin_fp16.h
+
+
+The Unlicense
+-------------
+3rdparty/rang
diff --git a/python/mxnet/onnx/mx2onnx/LICENSE b/python/mxnet/onnx/mx2onnx/LICENSE
deleted file mode 100644
index 3abe1ee..0000000
--- a/python/mxnet/onnx/mx2onnx/LICENSE
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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.
-#
-# Based on
-# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/#
-# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of NVIDIA CORPORATION nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/python/mxnet/onnx/mx2onnx/_export_onnx.py b/python/mxnet/onnx/mx2onnx/_export_onnx.py
index 73843bd..90f9962 100644
--- a/python/mxnet/onnx/mx2onnx/_export_onnx.py
+++ b/python/mxnet/onnx/mx2onnx/_export_onnx.py
@@ -1,22 +1,3 @@
-# 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.
-#
-# Based on
-# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/mx2onnx_converter.py#
# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -43,6 +24,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Based on
+# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/mx2onnx_converter.py
+
# coding: utf-8
# pylint: disable=invalid-name,too-many-locals,no-self-use,too-many-arguments,
# pylint: disable=maybe-no-member,too-many-nested-blocks,logging-not-lazy
diff --git a/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py b/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
index c037ffa..9e7f5a0 100644
--- a/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
+++ b/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset12.py
@@ -1,23 +1,3 @@
-# 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.
-#
-# Based on
-# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/
-# mx2onnx_converter_functions.py
# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -44,6 +24,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Based on
+# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/
+# mx2onnx_converter_functions.py
+
# coding: utf-8
# pylint: disable=too-many-locals,no-else-return,too-many-lines
# pylint: disable=anomalous-backslash-in-string,eval-used
diff --git a/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py b/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
index 9f2386f..06e9582 100644
--- a/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
+++ b/python/mxnet/onnx/mx2onnx/_op_translations/_op_translations_opset13.py
@@ -1,23 +1,3 @@
-# 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.
-#
-# Based on
-# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/
-# mx2onnx_converter_functions.py
# Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -44,6 +24,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Based on
+# https://github.com/NVIDIA/mxnet_to_onnx/blob/master/mx2onnx_converter/
+# mx2onnx_converter_functions.py
+
# coding: utf-8
# pylint: disable=too-many-locals,no-else-return,too-many-lines
# pylint: disable=anomalous-backslash-in-string,eval-used
diff --git a/rat-excludes b/rat-excludes
index 069d527..d9fe55b 100644
--- a/rat-excludes
+++ b/rat-excludes
@@ -120,6 +120,9 @@ CODEOWNERS
.asf.yaml
# Incorporated third-party source files that carry its own license, captured in licenses/
+_export_onnx.py
+_op_translations_opset12.py
+_op_translations_opset13.py
pool.h
pool.cuh
erfinv-inl.h
@@ -127,6 +130,9 @@ im2col.cuh
im2col.h
deformable_im2col.cuh
deformable_im2col.h
+modulated_deformable_convolution-inl.h
+modulated_deformable_convolution.cc
+modulated_deformable_convolution.cu
modulated_deformable_im2col.cuh
modulated_deformable_im2col.h
FindCUDAToolkit.cmake
diff --git a/src/operator/contrib/modulated_deformable_convolution-inl.h b/src/operator/contrib/modulated_deformable_convolution-inl.h
index 6ec5d88..3363b22 100644
--- a/src/operator/contrib/modulated_deformable_convolution-inl.h
+++ b/src/operator/contrib/modulated_deformable_convolution-inl.h
@@ -1,22 +1,3 @@
-/*
- * 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) 2018 Microsoft
* Licensed under The MIT License [see LICENSE for details]
diff --git a/src/operator/contrib/modulated_deformable_convolution.cc b/src/operator/contrib/modulated_deformable_convolution.cc
index 5fa25f7..e5cb85c 100644
--- a/src/operator/contrib/modulated_deformable_convolution.cc
+++ b/src/operator/contrib/modulated_deformable_convolution.cc
@@ -1,22 +1,3 @@
-/*
- * 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) 2018 Microsoft
* Licensed under The MIT License [see LICENSE for details]
diff --git a/src/operator/contrib/modulated_deformable_convolution.cu b/src/operator/contrib/modulated_deformable_convolution.cu
index 470d2c0..dc61d54 100644
--- a/src/operator/contrib/modulated_deformable_convolution.cu
+++ b/src/operator/contrib/modulated_deformable_convolution.cu
@@ -1,22 +1,3 @@
-/*
- * 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) 2018 Microsoft
* Licensed under The MIT License [see LICENSE for details]
diff --git a/src/operator/nn/layer_norm.cc b/src/operator/nn/layer_norm.cc
index 08bd1a3..9847dae 100644
--- a/src/operator/nn/layer_norm.cc
+++ b/src/operator/nn/layer_norm.cc
@@ -15,41 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
- * Function LayerNormCPUKernel is adapated from Marian
- * https://github.com/marian-nmt/marian-dev/blob/master/src/tensors/cpu/tensor_operators.cpp
- * under the MIT license
- * MIT License
- *
- * Copyright (c) 2016 Marcin Junczys-Dowmunt, the University of Edinburgh, Adam
- * Mickiewicz University
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * All or part of this file was contributed by Intel under license:
- * Copyright (C) 2017-2018 Intel Corporation
- * SPDX-License-Identifier: MIT
- *
*/
/*!
- * Copyright (c) 2015 by Contributors
* \file layer_norm.cc
* \brief Implements Ba et. al, Layer Normalization (https://arxiv.org/abs/1607.06450).
*/
@@ -57,6 +25,7 @@
#include "layer_norm-inl.h"
#include <nnvm/op_attr_types.h>
#include "../elemwise_op_common.h"
+#include "layer_norm_cpu.h"
namespace mxnet {
namespace op {
@@ -95,75 +64,6 @@ static bool LayerNormShape(const nnvm::NodeAttrs& attrs,
return true;
}
-/* CPU optimized kernel for LayerNorm assuming axis = -1.
- * Data is the underlying storage data type.
- * Accum is the type to use for accumulation.
- * Apparently there isn't a reduction operator for half_t and anyway it isn't
- * efficient to use on the CPU, so use float for reduction of half_t.
- *
- * width is the number of values being summed to compute a mean.
- * instances is how many independent layer normalization problems are packed into the tensors.
- *
- * Inputs:
- * data is instances x width
- * gamma is width
- * beta is width
- *
- * Outputs:
- * out is instances x width, can be same as data
- * mean is instances: means of each problem
- * std is instances: standard deviation of each problem
- *
- */
-template <typename Data, typename Accum = typename
- /* By default accumulate in float32 for float16. Otherwise use same type. */
- std::conditional<std::is_same<mshadow::half::half_t, Data>::value,
- float,
- Data>::type>
-void LayerNormCPUKernel(size_t width,
- size_t instances,
- Data eps,
- const Data *data,
- const Data *gamma,
- const Data *beta,
- Data *out,
- Data *mean,
- Data *std) {
- // Parallelize over independent instances to normalize.
- // MSVC says index variable in OpenMP 'for' statement must have signed integral type.
- const mshadow::index_t signed_instances = static_cast<mshadow::index_t>(instances);
-#pragma omp parallel for
- for (nnvm::dim_t j = 0; j < signed_instances; ++j) {
- const Data *from = data + j * width;
-
- // Sum the values to compute mean.
- Accum sum = 0.f;
-#pragma omp simd reduction(+ : sum)
- for (size_t i = 0; i < width; ++i) {
- sum += from[i];
- }
- Accum mean_value = sum / width;
- mean[j] = static_cast<Data>(mean_value);
-
- // Sum squares from mean to compute stddev.
- Accum squares = 0.f;
-#pragma omp simd reduction(+ : squares)
- for (size_t i = 0; i < width; ++i) {
- Accum off = from[i] - mean_value;
- squares += off * off;
- }
- Accum sigma = std::sqrt(squares / width + eps);
- std[j] = static_cast<Data>(sigma);
-
- // Write normalized values.
- Data *to = out + j * width;
-#pragma omp simd
- for (size_t i = 0; i < width; ++i) {
- to[i] = (from[i] - mean_value) * gamma[i] / sigma + beta[i];
- }
- }
-}
-
/* Wrap the above LayerNormCPUKernel in MXNet's API. Returns true if it
* is able to run.
*/
diff --git a/src/operator/nn/layer_norm_cpu.h b/src/operator/nn/layer_norm_cpu.h
new file mode 100644
index 0000000..abd646b
--- /dev/null
+++ b/src/operator/nn/layer_norm_cpu.h
@@ -0,0 +1,109 @@
+/*
+ * Copyright (c) 2016 Marcin Junczys-Dowmunt, the University of Edinburgh, Adam
+ * Mickiewicz University
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * All or part of this file was contributed by Intel under license:
+ * Copyright (C) 2017-2018 Intel Corporation
+ * SPDX-License-Identifier: MIT
+ *
+ * Function LayerNormCPUKernel is adapated from Marian
+ * https://github.com/marian-nmt/marian-dev/blob/master/src/tensors/cpu/tensor_operators.cpp
+ *
+ */
+
+#ifndef MXNET_OPERATOR_NN_LAYER_NORM_CPU_H_
+#define MXNET_OPERATOR_NN_LAYER_NORM_CPU_H_
+
+namespace mxnet {
+namespace op {
+
+/* CPU optimized kernel for LayerNorm assuming axis = -1.
+ * Data is the underlying storage data type.
+ * Accum is the type to use for accumulation.
+ * Apparently there isn't a reduction operator for half_t and anyway it isn't
+ * efficient to use on the CPU, so use float for reduction of half_t.
+ *
+ * width is the number of values being summed to compute a mean.
+ * instances is how many independent layer normalization problems are packed into the tensors.
+ *
+ * Inputs:
+ * data is instances x width
+ * gamma is width
+ * beta is width
+ *
+ * Outputs:
+ * out is instances x width, can be same as data
+ * mean is instances: means of each problem
+ * std is instances: standard deviation of each problem
+ *
+ */
+template <typename Data, typename Accum = typename
+ /* By default accumulate in float32 for float16. Otherwise use same type. */
+ std::conditional<std::is_same<mshadow::half::half_t, Data>::value,
+ float,
+ Data>::type>
+void LayerNormCPUKernel(size_t width,
+ size_t instances,
+ Data eps,
+ const Data *data,
+ const Data *gamma,
+ const Data *beta,
+ Data *out,
+ Data *mean,
+ Data *std) {
+ // Parallelize over independent instances to normalize.
+ // MSVC says index variable in OpenMP 'for' statement must have signed integral type.
+ const mshadow::index_t signed_instances = static_cast<mshadow::index_t>(instances);
+#pragma omp parallel for
+ for (nnvm::dim_t j = 0; j < signed_instances; ++j) {
+ const Data *from = data + j * width;
+
+ // Sum the values to compute mean.
+ Accum sum = 0.f;
+#pragma omp simd reduction(+ : sum)
+ for (size_t i = 0; i < width; ++i) {
+ sum += from[i];
+ }
+ Accum mean_value = sum / width;
+ mean[j] = static_cast<Data>(mean_value);
+
+ // Sum squares from mean to compute stddev.
+ Accum squares = 0.f;
+#pragma omp simd reduction(+ : squares)
+ for (size_t i = 0; i < width; ++i) {
+ Accum off = from[i] - mean_value;
+ squares += off * off;
+ }
+ Accum sigma = std::sqrt(squares / width + eps);
+ std[j] = static_cast<Data>(sigma);
+
+ // Write normalized values.
+ Data *to = out + j * width;
+#pragma omp simd
+ for (size_t i = 0; i < width; ++i) {
+ to[i] = (from[i] - mean_value) * gamma[i] / sigma + beta[i];
+ }
+ }
+}
+
+} // namespace op
+} // namespace mxnet
+#endif // MXNET_OPERATOR_NN_LAYER_NORM_CPU_H_
diff --git a/src/operator/special_functions-inl.h b/src/operator/special_functions-inl.h
index f51cfee..b9460a3 100644
--- a/src/operator/special_functions-inl.h
+++ b/src/operator/special_functions-inl.h
@@ -18,7 +18,6 @@
*/
/*!
- * Copyright (c) 2015 by Contributors
* \file special_functions-inl.h
* \brief
* \author Valentin Flunkert
diff --git a/tools/license_header.py b/tools/license_header.py
index c98ae66..62c5d53 100755
--- a/tools/license_header.py
+++ b/tools/license_header.py
@@ -195,11 +195,8 @@ def file_have_valid_license(fname):
if (_lines_have_apache_license(lines) and (not _lines_have_multiple_license(lines))):
return True
elif _lines_have_multiple_license(lines):
- if _file_listed_in_top_level_license(fname):
- return True
- else:
- logging.error("File %s has multiple license", fname)
- return False
+ logging.error("File %s has multiple licenses", fname)
+ return False
else:
if _file_listed_in_top_level_license(fname):
return True