onnxruntime 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7a7fd8412c39749689e27196bbb472e006a7686225dacf5f6946dbaa9af0496
4
- data.tar.gz: '019cec927488c9ab07a76d19913c99f70cab1df81a0bd62bbb3233d383b1c427'
3
+ metadata.gz: fe15097b48e0c08cc25878384b74239ff9a462a23ac99ba26331aff7d9315dd8
4
+ data.tar.gz: 94bbc725a419d5e4712d0c0fefb46e30acd3d9c675d0a0e156b2356b490a2617
5
5
  SHA512:
6
- metadata.gz: 730bf9550ddbd2e8a6cc1d0b58d02464ae59f18c5f2eaf2709f34d701838ff44ab42b478c3c014e97fc2f578a0ec937d204b91ab6ec596f0a1324c119d64863e
7
- data.tar.gz: 16972280e527e11588f478be8e2ddb850b3a090432c39868f969d9cd9627890b4de721fa66a58a9b226430708aa20316da62456176bb24b1e4fe984b245658d3
6
+ metadata.gz: 9e1970fbf2430692e875b0ce450b16ac6930ba4fea3a7c686604f37ec3eca7e526209fb9df3be18cce26a24c50e59fafb98c3ca5b054d6a5b47c430b3316a450
7
+ data.tar.gz: c2c57c89b52aa70acde18dca516adcdbb51a53d31d979aa498a16636b841b1f83aa0156e948150628f2663a52c2c0562e0837bf8edc70d4380220f2b548d1fee
@@ -1,3 +1,10 @@
1
+ ## 0.1.1
2
+
3
+ - Packaged ONNX Runtime with gem
4
+ - Added support for many more types
5
+ - Fixed output order with `output_names` option
6
+ - Fixed `File doesn't exist` on Windows
7
+
1
8
  ## 0.1.0
2
9
 
3
10
  - First release
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  :fire: [ONNX Runtime](https://github.com/Microsoft/onnxruntime) - the high performance scoring engine for ML models - for Ruby
4
4
 
5
- ## Installation
5
+ [![Build Status](https://travis-ci.org/ankane/onnxruntime.svg?branch=master)](https://travis-ci.org/ankane/onnxruntime) [![Build status](https://ci.appveyor.com/api/projects/status/f2bq6ruqjf4jx671/branch/master?svg=true)](https://ci.appveyor.com/project/ankane/onnxruntime/branch/master)
6
6
 
7
- First, [install ONNX Runtime](#onnx-runtime-installation).
7
+ ## Installation
8
8
 
9
9
  Add this line to your application’s Gemfile:
10
10
 
@@ -55,32 +55,6 @@ session = OnnxRuntime::InferenceSession.new("model.onnx")
55
55
  session.run(nil, {x: [1, 2, 3]})
56
56
  ```
57
57
 
58
- ## ONNX Runtime Installation
59
-
60
- ONNX Runtime provides [prebuilt libraries](https://github.com/microsoft/onnxruntime/releases).
61
-
62
- ### Mac
63
-
64
- ```sh
65
- wget https://github.com/microsoft/onnxruntime/releases/download/v0.5.0/onnxruntime-osx-x64-0.5.0.tgz
66
- tar xf onnxruntime-osx-x64-0.5.0.tgz
67
- cd onnxruntime-osx-x64-0.5.0
68
- cp lib/libonnxruntime.0.5.0.dylib /usr/local/lib/libonnxruntime.dylib
69
- ```
70
-
71
- ### Linux
72
-
73
- ```sh
74
- wget https://github.com/microsoft/onnxruntime/releases/download/v0.5.0/onnxruntime-linux-x64-0.5.0.tgz
75
- tar xf onnxruntime-linux-x64-0.5.0.tgz
76
- cd onnxruntime-linux-x64-0.5.0.tgz
77
- cp lib/libonnxruntime.0.5.0.so /usr/local/lib/libonnxruntime.so
78
- ```
79
-
80
- ### Windows
81
-
82
- Download [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases/download/v0.5.0/onnxruntime-win-x64-0.5.0.zip). Unzip and move `lib/onnxruntime.dll` to `C:\Windows\System32\onnxruntime.dll`.
83
-
84
58
  ## History
85
59
 
86
60
  View the [changelog](https://github.com/ankane/onnxruntime/blob/master/CHANGELOG.md)
@@ -13,7 +13,9 @@ module OnnxRuntime
13
13
  class << self
14
14
  attr_accessor :ffi_lib
15
15
  end
16
- self.ffi_lib = ["onnxruntime"]
16
+ lib_name = ::FFI.map_library_name("onnxruntime")
17
+ vendor_lib = File.expand_path("../vendor/#{lib_name}", __dir__)
18
+ self.ffi_lib = ["onnxruntime", vendor_lib]
17
19
 
18
20
  def self.lib_version
19
21
  FFI.OrtGetVersionString
@@ -34,9 +34,11 @@ module OnnxRuntime
34
34
  attach_function :OrtSessionGetOutputName, %i[pointer size_t pointer pointer], :pointer
35
35
 
36
36
  # tensor
37
+ attach_function :OrtCreateTensorAsOrtValue, %i[pointer pointer size_t int pointer], :pointer
37
38
  attach_function :OrtCreateTensorWithDataAsOrtValue, %i[pointer pointer size_t pointer size_t int pointer], :pointer
38
39
  attach_function :OrtGetTensorMutableData, %i[pointer pointer], :pointer
39
40
  attach_function :OrtIsTensor, %i[pointer pointer], :pointer
41
+ attach_function :OrtFillStringTensor, %i[pointer pointer size_t], :pointer
40
42
  attach_function :OrtCastTypeInfoToTensorInfo, %i[pointer pointer], :pointer
41
43
  attach_function :OrtOnnxTypeFromTypeInfo, %i[pointer pointer], :pointer
42
44
  attach_function :OrtGetTensorElementType, %i[pointer pointer], :pointer
@@ -10,6 +10,12 @@ module OnnxRuntime
10
10
  # session
11
11
  @session = ::FFI::MemoryPointer.new(:pointer)
12
12
  path_or_bytes = path_or_bytes.to_str
13
+
14
+ # fix for Windows "File doesn't exist"
15
+ if Gem.win_platform? && path_or_bytes.encoding != Encoding::BINARY
16
+ path_or_bytes = File.binread(path_or_bytes)
17
+ end
18
+
13
19
  if path_or_bytes.encoding == Encoding::BINARY
14
20
  check_status FFI.OrtCreateSessionFromArray(env.read_pointer, path_or_bytes, path_or_bytes.bytesize, session_options.read_pointer, @session)
15
21
  else
@@ -50,19 +56,15 @@ module OnnxRuntime
50
56
  def run(output_names, input_feed)
51
57
  input_tensor = create_input_tensor(input_feed)
52
58
 
53
- outputs = @outputs
54
- if output_names
55
- output_names = output_names.map(&:to_s)
56
- outputs = outputs.select { |o| output_names.include?(o[:name]) }
57
- end
59
+ output_names ||= @outputs.map { |v| v[:name] }
58
60
 
59
61
  output_tensor = ::FFI::MemoryPointer.new(:pointer, outputs.size)
60
62
  input_node_names = create_node_names(input_feed.keys.map(&:to_s))
61
- output_node_names = create_node_names(outputs.map { |v| v[:name] })
63
+ output_node_names = create_node_names(output_names.map(&:to_s))
62
64
  # TODO support run options
63
- check_status FFI.OrtRun(read_pointer, nil, input_node_names, input_tensor, input_feed.size, output_node_names, outputs.size, output_tensor)
65
+ check_status FFI.OrtRun(read_pointer, nil, input_node_names, input_tensor, input_feed.size, output_node_names, output_names.size, output_tensor)
64
66
 
65
- outputs.size.times.map do |i|
67
+ output_names.size.times.map do |i|
66
68
  create_from_onnx_value(output_tensor[i].read_pointer)
67
69
  end
68
70
  end
@@ -86,21 +88,36 @@ module OnnxRuntime
86
88
  input_tensor_size = flat_input.size
87
89
 
88
90
  # TODO support more types
89
- inp = @inputs.find { |i| i[:name] == input_name.to_s } || {}
90
- case inp[:type]
91
- when "tensor(bool)"
92
- input_tensor_values = ::FFI::MemoryPointer.new(:uchar, input_tensor_size)
93
- input_tensor_values.write_array_of_uchar(flat_input.map { |v| v ? 1 : 0 })
94
- type_enum = FFI::TensorElementDataType[:bool]
95
- else
96
- input_tensor_values = ::FFI::MemoryPointer.new(:float, input_tensor_size)
97
- input_tensor_values.write_array_of_float(flat_input)
98
- type_enum = FFI::TensorElementDataType[:float]
99
- end
91
+ inp = @inputs.find { |i| i[:name] == input_name.to_s }
92
+ raise "Unknown input: #{input_name}" unless inp
100
93
 
101
94
  input_node_dims = ::FFI::MemoryPointer.new(:int64, shape.size)
102
95
  input_node_dims.write_array_of_int64(shape)
103
- check_status FFI.OrtCreateTensorWithDataAsOrtValue(allocator_info.read_pointer, input_tensor_values, input_tensor_values.size, input_node_dims, shape.size, type_enum, input_tensor[idx])
96
+
97
+ if inp[:type] == "tensor(string)"
98
+ input_tensor_values = ::FFI::MemoryPointer.new(:pointer, input_tensor_size)
99
+ input_tensor_values.write_array_of_pointer(flat_input.map { |v| ::FFI::MemoryPointer.from_string(v) })
100
+ type_enum = FFI::TensorElementDataType[:string]
101
+ check_status FFI.OrtCreateTensorAsOrtValue(@allocator.read_pointer, input_node_dims, shape.size, type_enum, input_tensor[idx])
102
+ check_status FFI.OrtFillStringTensor(input_tensor[idx].read_pointer, input_tensor_values, flat_input.size)
103
+ else
104
+ tensor_types = [:float, :uint8, :int8, :uint16, :int16, :int32, :int64, :bool, :double, :uint32, :uint64].map { |v| ["tensor(#{v})", v] }.to_h
105
+ tensor_type = tensor_types[inp[:type]]
106
+
107
+ if tensor_type
108
+ input_tensor_values = ::FFI::MemoryPointer.new(tensor_type, input_tensor_size)
109
+ if tensor_type == :bool
110
+ tensor_type = :uchar
111
+ flat_input = flat_input.map { |v| v ? 1 : 0 }
112
+ end
113
+ input_tensor_values.send("write_array_of_#{tensor_type}", flat_input)
114
+ type_enum = FFI::TensorElementDataType[tensor_type]
115
+ else
116
+ unsupported_type("input", inp[:type])
117
+ end
118
+
119
+ check_status FFI.OrtCreateTensorWithDataAsOrtValue(allocator_info.read_pointer, input_tensor_values, input_tensor_values.size, input_node_dims, shape.size, type_enum, input_tensor[idx])
120
+ end
104
121
  end
105
122
 
106
123
  input_tensor
@@ -135,14 +152,12 @@ module OnnxRuntime
135
152
  type = FFI::TensorElementDataType[type]
136
153
  arr =
137
154
  case type
138
- when :float
139
- tensor_data.read_pointer.read_array_of_float(output_tensor_size)
140
- when :int64
141
- tensor_data.read_pointer.read_array_of_int64(output_tensor_size)
155
+ when :float, :uint8, :int8, :uint16, :int16, :int32, :int64, :double, :uint32, :uint64
156
+ tensor_data.read_pointer.send("read_array_of_#{type}", output_tensor_size)
142
157
  when :bool
143
158
  tensor_data.read_pointer.read_array_of_uchar(output_tensor_size).map { |v| v == 1 }
144
159
  else
145
- raise "Unsupported element type: #{type}"
160
+ unsupported_type("element", type)
146
161
  end
147
162
 
148
163
  Utils.reshape(arr, shape)
@@ -178,10 +193,10 @@ module OnnxRuntime
178
193
  end
179
194
  ret
180
195
  else
181
- raise "Unsupported element type: #{elem_type}"
196
+ unsupported_type("element", elem_type)
182
197
  end
183
198
  else
184
- raise "Unsupported ONNX type: #{type}"
199
+ unsupported_type("ONNX", type)
185
200
  end
186
201
  end
187
202
 
@@ -225,7 +240,7 @@ module OnnxRuntime
225
240
  shape: []
226
241
  }
227
242
  else
228
- raise "Unsupported ONNX type: #{type}"
243
+ unsupported_type("ONNX", type)
229
244
  end
230
245
  ensure
231
246
  FFI.OrtReleaseTypeInfo(typeinfo.read_pointer)
@@ -245,6 +260,10 @@ module OnnxRuntime
245
260
  [type.read_int, node_dims.read_array_of_int64(num_dims)]
246
261
  end
247
262
 
263
+ def unsupported_type(name, type)
264
+ raise "Unsupported #{name} type: #{type}"
265
+ end
266
+
248
267
  # share env
249
268
  # TODO mutex around creation?
250
269
  def env
@@ -1,3 +1,3 @@
1
1
  module OnnxRuntime
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3534 @@
1
+ THIRD PARTY SOFTWARE NOTICES AND INFORMATION
2
+
3
+ Do Not Translate or Localize
4
+
5
+ This software incorporates material from third parties. Microsoft makes certain
6
+ open source code available at http://3rdpartysource.microsoft.com, or you may
7
+ send a check or money order for US $5.00, including the product name, the open
8
+ source component name, and version number, to:
9
+
10
+ Source Code Compliance Team
11
+ Microsoft Corporation
12
+ One Microsoft Way
13
+ Redmond, WA 98052
14
+ USA
15
+
16
+ Notwithstanding any other terms, you may reverse engineer this software to the
17
+ extent required to debug changes to any libraries licensed under the GNU Lesser
18
+ General Public License.
19
+
20
+ _____
21
+
22
+ Intel Math Kernel Library (Intel MKL)
23
+
24
+ Intel Simplified Software License (Version April 2018)
25
+
26
+ Copyright (c) 2018 Intel Corporation.
27
+
28
+ Use and Redistribution. You may use and redistribute the software (the “Software”), without modification,
29
+ provided the following conditions are met:
30
+
31
+ * Redistributions must reproduce the above copyright notice and the following terms of use in the Software
32
+ and in the documentation and/or other materials provided with the distribution.
33
+
34
+ * Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products
35
+ derived from this Software without specific prior written permission.
36
+
37
+ * No reverse engineering, decompilation, or disassembly of this Software is permitted.
38
+
39
+ Limited patent license. Intel grants you a world-wide, royalty-free, non-exclusive license under patents it now
40
+ or hereafter owns or controls to make, have made, use, import, offer to sell and sell (“Utilize”) this Software,
41
+ but solely to the extent that any such patent is necessary to Utilize the Software alone. The patent license
42
+ shall not apply to any combinations which include this software. No hardware per se is licensed hereunder.
43
+
44
+ Third party and other Intel programs. “Third Party Programs” are the files listed in the “third-party-programs.txt”
45
+ text file that is included with the Software and may include Intel programs under separate license terms.
46
+ Third Party Programs, even if included with the distribution of the Materials, are governed by
47
+ separate license terms and those license terms solely govern your use of those programs.
48
+
49
+ DISCLAIMER. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
50
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
51
+ FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE DISCLAIMED. THIS SOFTWARE IS
52
+ NOT INTENDED FOR USE IN SYSTEMS OR APPLICATIONS WHERE FAILURE OF THE SOFTWARE
53
+ MAY CAUSE PERSONAL INJURY OR DEATH AND YOU AGREE THAT YOU ARE FULLY RESPONSIBLE FOR ANY
54
+ CLAIMS, COSTS, DAMAGES, EXPENSES, AND ATTORNEYS’ FEES ARISING OUT OF ANY SUCH USE,
55
+ EVEN IF ANY CLAIM ALLEGES THAT INTEL WAS NEGLIGENT REGARDING THE DESIGN OR MANUFACTURE OF
56
+ THE MATERIALS.
57
+
58
+ LIMITATION OF LIABILITY. IN NO EVENT WILL INTEL BE LIABLE FOR ANY DIRECT, INDIRECT,
59
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
60
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
61
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
62
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
63
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
64
+ OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD INTEL HARMLESS AGAINST ANY CLAIMS
65
+ AND EXPENSES RESULTING FROM YOUR USE OR UNAUTHORIZED USE OF THE SOFTWARE.
66
+
67
+ No support. Intel may make changes to the Software, at any time without notice, and is not obligated to
68
+ support, update or provide training for the Software.
69
+
70
+ Termination. Intel may terminate your right to use the Software in the event of your breach of this Agreement
71
+ and you fail to cure the breach within a reasonable period of time.
72
+
73
+ Feedback. Should you provide Intel with comments, modifications, corrections, enhancements or other input
74
+ (“Feedback”) related to the Software Intel will be free to use, disclose, reproduce, license or otherwise
75
+ distribute or exploit the Feedback in its sole discretion without any obligations or restrictions of any kind,
76
+ including without limitation, intellectual property rights or licensing obligations.
77
+
78
+ Compliance with laws. You agree to comply with all relevant laws and regulations governing your use,
79
+ transfer, import or export (or prohibition thereof) of the Software.
80
+
81
+ Governing law. All disputes will be governed by the laws of the United States of America and the State of
82
+ Delaware without reference to conflict of law principles and subject to the exclusive jurisdiction of the state or
83
+ federal courts sitting in the State of Delaware, and each party agrees that it submits to the personal
84
+ jurisdiction and venue of those courts and waives any objections. The United Nations Convention on
85
+ Contracts for the International Sale of Goods (1980) is specifically excluded and will not apply to the
86
+ Software.
87
+
88
+ *Other names and brands may be claimed as the property of others.
89
+
90
+ _____
91
+
92
+ protocolbuffers/protobuf
93
+
94
+ Copyright 2008 Google Inc. All rights reserved.
95
+
96
+ Redistribution and use in source and binary forms, with or without
97
+ modification, are permitted provided that the following conditions are
98
+ met:
99
+
100
+ * Redistributions of source code must retain the above copyright
101
+ notice, this list of conditions and the following disclaimer.
102
+
103
+ * Redistributions in binary form must reproduce the above
104
+ copyright notice, this list of conditions and the following disclaimer
105
+ in the documentation and/or other materials provided with the
106
+ distribution.
107
+
108
+ * Neither the name of Google Inc. nor the names of its
109
+ contributors may be used to endorse or promote products derived from
110
+ this software without specific prior written permission.
111
+
112
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
113
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
114
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
115
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
116
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
117
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
118
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
119
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
120
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
121
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
122
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
123
+
124
+ Code generated by the Protocol Buffer compiler is owned by the owner
125
+ of the input file used when generating it. This code is not
126
+ standalone and requires a support library to be linked with it. This
127
+ support library is itself covered by the above license.
128
+
129
+ _____
130
+
131
+ madler/zlib
132
+
133
+ The deflate format used by zlib was defined by Phil Katz. The deflate and
134
+ zlib specifications were written by L. Peter Deutsch. Thanks to all the
135
+ people who reported problems and suggested various improvements in zlib; they
136
+ are too numerous to cite here.
137
+
138
+ Copyright notice:
139
+
140
+ (C) 1995-2017 Jean-loup Gailly and Mark Adler
141
+
142
+ This software is provided 'as-is', without any express or implied
143
+ warranty. In no event will the authors be held liable for any damages
144
+ arising from the use of this software.
145
+
146
+ Permission is granted to anyone to use this software for any purpose,
147
+ including commercial applications, and to alter it and redistribute it
148
+ freely, subject to the following restrictions:
149
+
150
+ 1. The origin of this software must not be misrepresented; you must not
151
+ claim that you wrote the original software. If you use this software
152
+ in a product, an acknowledgment in the product documentation would be
153
+ appreciated but is not required.
154
+
155
+ 2. Altered source versions must be plainly marked as such, and must not be
156
+ misrepresented as being the original software.
157
+
158
+ 3. This notice may not be removed or altered from any source distribution.
159
+
160
+ Jean-loup Gailly Mark Adler
161
+ jloup@gzip.org madler@alumni.caltech.edu
162
+
163
+ If you use the zlib library in a product, we would appreciate *not* receiving
164
+ lengthy legal documents to sign. The sources are provided for free but without
165
+ warranty of any kind. The library has been entirely written by Jean-loup
166
+ Gailly and Mark Adler; it does not include third-party code.
167
+
168
+ If you redistribute modified sources, we would appreciate that you include in
169
+ the file ChangeLog history information documenting your changes. Please read
170
+ the FAQ for more information on the distribution of modified source versions.
171
+
172
+ _____
173
+
174
+ pybind/pybind11
175
+
176
+ Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.
177
+
178
+ Redistribution and use in source and binary forms, with or without
179
+ modification, are permitted provided that the following conditions are met:
180
+
181
+ 1. Redistributions of source code must retain the above copyright notice, this
182
+ list of conditions and the following disclaimer.
183
+
184
+ 2. Redistributions in binary form must reproduce the above copyright notice,
185
+ this list of conditions and the following disclaimer in the documentation
186
+ and/or other materials provided with the distribution.
187
+
188
+ 3. Neither the name of the copyright holder nor the names of its contributors
189
+ may be used to endorse or promote products derived from this software
190
+ without specific prior written permission.
191
+
192
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
193
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
194
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
195
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
196
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
197
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
198
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
199
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
200
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
201
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
202
+
203
+ Please also refer to the file CONTRIBUTING.md, which clarifies licensing of
204
+ external contributions to this project including patches, pull requests, etc.
205
+
206
+ _____
207
+
208
+ onnx
209
+ Open Neural Network Exchange
210
+
211
+ Copyright (c) Facebook, Inc. and Microsoft Corporation. All rights reserved.
212
+
213
+ MIT License
214
+
215
+ 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
216
+ Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
217
+ and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
218
+
219
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
220
+
221
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
222
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
223
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
224
+ THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
225
+
226
+ _____
227
+
228
+ eigen-git-mirror
229
+
230
+ MPL v2.0
231
+ Mozilla Public License Version 2.0
232
+
233
+
234
+ ==================================
235
+
236
+ 1. Definitions
237
+
238
+ --------------
239
+
240
+ 1.1. "Contributor"
241
+ means each individual or legal entity that creates, contributes to
242
+ the creation of, or owns Covered Software.
243
+
244
+ 1.2. "Contributor Version"
245
+ means the combination of the Contributions of others (if any) used
246
+ by a Contributor and that particular Contributor's Contribution.
247
+
248
+ 1.3. "Contribution"
249
+ means Covered Software of a particular Contributor.
250
+
251
+ 1.4. "Covered Software"
252
+ means Source Code Form to which the initial Contributor has attached
253
+ the notice in Exhibit A, the Executable Form of such Source Code
254
+ Form, and Modifications of such Source Code Form, in each case
255
+ including portions thereof.
256
+
257
+ 1.5. "Incompatible With Secondary Licenses"
258
+ means
259
+
260
+ (a) that the initial Contributor has attached the notice described
261
+ in Exhibit B to the Covered Software; or
262
+
263
+ (b) that the Covered Software was made available under the terms of
264
+ version 1.1 or earlier of the License, but not also under the
265
+ terms of a Secondary License.
266
+
267
+ 1.6. "Executable Form"
268
+ means any form of the work other than Source Code Form.
269
+
270
+ 1.7. "Larger Work"
271
+ means a work that combines Covered Software with other material, in
272
+ a separate file or files, that is not Covered Software.
273
+
274
+ 1.8. "License"
275
+ means this document.
276
+
277
+ 1.9. "Licensable"
278
+ means having the right to grant, to the maximum extent possible,
279
+ whether at the time of the initial grant or subsequently, any and
280
+ all of the rights conveyed by this License.
281
+
282
+ 1.10. "Modifications"
283
+ means any of the following:
284
+
285
+ (a) any file in Source Code Form that results from an addition to,
286
+ deletion from, or modification of the contents of Covered
287
+ Software; or
288
+
289
+ (b) any new file in Source Code Form that contains any Covered
290
+ Software.
291
+
292
+ 1.11. "Patent Claims" of a Contributor
293
+ means any patent claim(s), including without limitation, method,
294
+ process, and apparatus claims, in any patent Licensable by such
295
+ Contributor that would be infringed, but for the grant of the
296
+ License, by the making, using, selling, offering for sale, having
297
+ made, import, or transfer of either its Contributions or its
298
+ Contributor Version.
299
+
300
+ 1.12. "Secondary License"
301
+ means either the GNU General Public License, Version 2.0, the GNU
302
+ Lesser General Public License, Version 2.1, the GNU Affero General
303
+ Public License, Version 3.0, or any later versions of those
304
+ licenses.
305
+
306
+ 1.13. "Source Code Form"
307
+ means the form of the work preferred for making modifications.
308
+
309
+ 1.14. "You" (or "Your")
310
+ means an individual or a legal entity exercising rights under this
311
+ License. For legal entities, "You" includes any entity that
312
+ controls, is controlled by, or is under common control with You. For
313
+ purposes of this definition, "control" means (a) the power, direct
314
+ or indirect, to cause the direction or management of such entity,
315
+ whether by contract or otherwise, or (b) ownership of more than
316
+ fifty percent (50%) of the outstanding shares or beneficial
317
+ ownership of such entity.
318
+
319
+ 2. License Grants and Conditions
320
+
321
+ --------------------------------
322
+
323
+ 2.1. Grants
324
+
325
+ Each Contributor hereby grants You a world-wide, royalty-free,
326
+ non-exclusive license:
327
+
328
+ (a) under intellectual property rights (other than patent or trademark)
329
+ Licensable by such Contributor to use, reproduce, make available,
330
+ modify, display, perform, distribute, and otherwise exploit its
331
+ Contributions, either on an unmodified basis, with Modifications, or
332
+ as part of a Larger Work; and
333
+
334
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
335
+ for sale, have made, import, and otherwise transfer either its
336
+ Contributions or its Contributor Version.
337
+
338
+ 2.2. Effective Date
339
+
340
+ The licenses granted in Section 2.1 with respect to any Contribution
341
+ become effective for each Contribution on the date the Contributor first
342
+ distributes such Contribution.
343
+
344
+ 2.3. Limitations on Grant Scope
345
+
346
+ The licenses granted in this Section 2 are the only rights granted under
347
+ this License. No additional rights or licenses will be implied from the
348
+ distribution or licensing of Covered Software under this License.
349
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
350
+ Contributor:
351
+
352
+ (a) for any code that a Contributor has removed from Covered Software;
353
+ or
354
+
355
+ (b) for infringements caused by: (i) Your and any other third party's
356
+ modifications of Covered Software, or (ii) the combination of its
357
+ Contributions with other software (except as part of its Contributor
358
+ Version); or
359
+
360
+ (c) under Patent Claims infringed by Covered Software in the absence of
361
+ its Contributions.
362
+
363
+ This License does not grant any rights in the trademarks, service marks,
364
+ or logos of any Contributor (except as may be necessary to comply with
365
+ the notice requirements in Section 3.4).
366
+
367
+ 2.4. Subsequent Licenses
368
+
369
+ No Contributor makes additional grants as a result of Your choice to
370
+ distribute the Covered Software under a subsequent version of this
371
+ License (see Section 10.2) or under the terms of a Secondary License (if
372
+ permitted under the terms of Section 3.3).
373
+
374
+ 2.5. Representation
375
+
376
+ Each Contributor represents that the Contributor believes its
377
+ Contributions are its original creation(s) or it has sufficient rights
378
+ to grant the rights to its Contributions conveyed by this License.
379
+
380
+ 2.6. Fair Use
381
+
382
+ This License is not intended to limit any rights You have under
383
+ applicable copyright doctrines of fair use, fair dealing, or other
384
+ equivalents.
385
+
386
+ 2.7. Conditions
387
+
388
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
389
+ in Section 2.1.
390
+
391
+ 3. Responsibilities
392
+
393
+ -------------------
394
+
395
+ 3.1. Distribution of Source Form
396
+
397
+ All distribution of Covered Software in Source Code Form, including any
398
+ Modifications that You create or to which You contribute, must be under
399
+ the terms of this License. You must inform recipients that the Source
400
+ Code Form of the Covered Software is governed by the terms of this
401
+ License, and how they can obtain a copy of this License. You may not
402
+ attempt to alter or restrict the recipients' rights in the Source Code
403
+ Form.
404
+
405
+ 3.2. Distribution of Executable Form
406
+
407
+ If You distribute Covered Software in Executable Form then:
408
+
409
+ (a) such Covered Software must also be made available in Source Code
410
+ Form, as described in Section 3.1, and You must inform recipients of
411
+ the Executable Form how they can obtain a copy of such Source Code
412
+ Form by reasonable means in a timely manner, at a charge no more
413
+ than the cost of distribution to the recipient; and
414
+
415
+ (b) You may distribute such Executable Form under the terms of this
416
+ License, or sublicense it under different terms, provided that the
417
+ license for the Executable Form does not attempt to limit or alter
418
+ the recipients' rights in the Source Code Form under this License.
419
+
420
+ 3.3. Distribution of a Larger Work
421
+
422
+ You may create and distribute a Larger Work under terms of Your choice,
423
+ provided that You also comply with the requirements of this License for
424
+ the Covered Software. If the Larger Work is a combination of Covered
425
+ Software with a work governed by one or more Secondary Licenses, and the
426
+ Covered Software is not Incompatible With Secondary Licenses, this
427
+ License permits You to additionally distribute such Covered Software
428
+ under the terms of such Secondary License(s), so that the recipient of
429
+ the Larger Work may, at their option, further distribute the Covered
430
+ Software under the terms of either this License or such Secondary
431
+ License(s).
432
+
433
+ 3.4. Notices
434
+
435
+ You may not remove or alter the substance of any license notices
436
+ (including copyright notices, patent notices, disclaimers of warranty,
437
+ or limitations of liability) contained within the Source Code Form of
438
+ the Covered Software, except that You may alter any license notices to
439
+ the extent required to remedy known factual inaccuracies.
440
+
441
+ 3.5. Application of Additional Terms
442
+
443
+ You may choose to offer, and to charge a fee for, warranty, support,
444
+ indemnity or liability obligations to one or more recipients of Covered
445
+ Software. However, You may do so only on Your own behalf, and not on
446
+ behalf of any Contributor. You must make it absolutely clear that any
447
+ such warranty, support, indemnity, or liability obligation is offered by
448
+ You alone, and You hereby agree to indemnify every Contributor for any
449
+ liability incurred by such Contributor as a result of warranty, support,
450
+ indemnity or liability terms You offer. You may include additional
451
+ disclaimers of warranty and limitations of liability specific to any
452
+ jurisdiction.
453
+
454
+ 4. Inability to Comply Due to Statute or Regulation
455
+
456
+ ---------------------------------------------------
457
+
458
+ If it is impossible for You to comply with any of the terms of this
459
+ License with respect to some or all of the Covered Software due to
460
+ statute, judicial order, or regulation then You must: (a) comply with
461
+ the terms of this License to the maximum extent possible; and (b)
462
+ describe the limitations and the code they affect. Such description must
463
+ be placed in a text file included with all distributions of the Covered
464
+ Software under this License. Except to the extent prohibited by statute
465
+ or regulation, such description must be sufficiently detailed for a
466
+ recipient of ordinary skill to be able to understand it.
467
+
468
+ 5. Termination
469
+
470
+ --------------
471
+
472
+ 5.1. The rights granted under this License will terminate automatically
473
+ if You fail to comply with any of its terms. However, if You become
474
+ compliant, then the rights granted under this License from a particular
475
+ Contributor are reinstated (a) provisionally, unless and until such
476
+ Contributor explicitly and finally terminates Your grants, and (b) on an
477
+ ongoing basis, if such Contributor fails to notify You of the
478
+ non-compliance by some reasonable means prior to 60 days after You have
479
+ come back into compliance. Moreover, Your grants from a particular
480
+ Contributor are reinstated on an ongoing basis if such Contributor
481
+ notifies You of the non-compliance by some reasonable means, this is the
482
+ first time You have received notice of non-compliance with this License
483
+ from such Contributor, and You become compliant prior to 30 days after
484
+ Your receipt of the notice.
485
+
486
+ 5.2. If You initiate litigation against any entity by asserting a patent
487
+ infringement claim (excluding declaratory judgment actions,
488
+ counter-claims, and cross-claims) alleging that a Contributor Version
489
+ directly or indirectly infringes any patent, then the rights granted to
490
+ You by any and all Contributors for the Covered Software under Section
491
+ 2.1 of this License shall terminate.
492
+
493
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
494
+ end user license agreements (excluding distributors and resellers) which
495
+ have been validly granted by You or Your distributors under this License
496
+ prior to termination shall survive termination.
497
+
498
+ ************************************************************************
499
+ * *
500
+ * 6. Disclaimer of Warranty *
501
+ * ------------------------- *
502
+ * *
503
+ * Covered Software is provided under this License on an "as is" *
504
+ * basis, without warranty of any kind, either expressed, implied, or *
505
+ * statutory, including, without limitation, warranties that the *
506
+ * Covered Software is free of defects, merchantable, fit for a *
507
+ * particular purpose or non-infringing. The entire risk as to the *
508
+ * quality and performance of the Covered Software is with You. *
509
+ * Should any Covered Software prove defective in any respect, You *
510
+ * (not any Contributor) assume the cost of any necessary servicing, *
511
+ * repair, or correction. This disclaimer of warranty constitutes an *
512
+ * essential part of this License. No use of any Covered Software is *
513
+ * authorized under this License except under this disclaimer. *
514
+ * *
515
+ ************************************************************************
516
+
517
+ ************************************************************************
518
+ * *
519
+ * 7. Limitation of Liability *
520
+ * -------------------------- *
521
+ * *
522
+ * Under no circumstances and under no legal theory, whether tort *
523
+ * (including negligence), contract, or otherwise, shall any *
524
+ * Contributor, or anyone who distributes Covered Software as *
525
+ * permitted above, be liable to You for any direct, indirect, *
526
+ * special, incidental, or consequential damages of any character *
527
+ * including, without limitation, damages for lost profits, loss of *
528
+ * goodwill, work stoppage, computer failure or malfunction, or any *
529
+ * and all other commercial damages or losses, even if such party *
530
+ * shall have been informed of the possibility of such damages. This *
531
+ * limitation of liability shall not apply to liability for death or *
532
+ * personal injury resulting from such party's negligence to the *
533
+ * extent applicable law prohibits such limitation. Some *
534
+ * jurisdictions do not allow the exclusion or limitation of *
535
+ * incidental or consequential damages, so this exclusion and *
536
+ * limitation may not apply to You. *
537
+ * *
538
+ ************************************************************************
539
+ 8. Litigation
540
+ -------------
541
+
542
+ Any litigation relating to this License may be brought only in the
543
+ courts of a jurisdiction where the defendant maintains its principal
544
+ place of business and such litigation shall be governed by laws of that
545
+ jurisdiction, without reference to its conflict-of-law provisions.
546
+ Nothing in this Section shall prevent a party's ability to bring
547
+ cross-claims or counter-claims.
548
+
549
+ 9. Miscellaneous
550
+ ----------------
551
+
552
+ This License represents the complete agreement concerning the subject
553
+ matter hereof. If any provision of this License is held to be
554
+ unenforceable, such provision shall be reformed only to the extent
555
+ necessary to make it enforceable. Any law or regulation which provides
556
+ that the language of a contract shall be construed against the drafter
557
+ shall not be used to construe this License against a Contributor.
558
+
559
+ 10. Versions of the License
560
+ ---------------------------
561
+
562
+ 10.1. New Versions
563
+
564
+ Mozilla Foundation is the license steward. Except as provided in Section
565
+ 10.3, no one other than the license steward has the right to modify or
566
+ publish new versions of this License. Each version will be given a
567
+ distinguishing version number.
568
+
569
+ 10.2. Effect of New Versions
570
+
571
+ You may distribute the Covered Software under the terms of the version
572
+ of the License under which You originally received the Covered Software,
573
+ or under the terms of any subsequent version published by the license
574
+ steward.
575
+
576
+ 10.3. Modified Versions
577
+
578
+ If you create software not governed by this License, and you want to
579
+ create a new license for such software, you may create and use a
580
+ modified version of this License if you rename the license and remove
581
+ any references to the name of the license steward (except to note that
582
+ such modified license differs from this License).
583
+
584
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
585
+ Licenses
586
+
587
+ If You choose to distribute Source Code Form that is Incompatible With
588
+ Secondary Licenses under the terms of this version of the License, the
589
+ notice described in Exhibit B of this License must be attached.
590
+
591
+ Exhibit A - Source Code Form License Notice
592
+ -------------------------------------------
593
+
594
+ This Source Code Form is subject to the terms of the Mozilla Public
595
+ License, v. 2.0. If a copy of the MPL was not distributed with this
596
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
597
+
598
+ If it is not possible or desirable to put the notice in a particular
599
+ file, then You may include the notice in a location (such as a LICENSE
600
+ file in a relevant directory) where a recipient would be likely to look
601
+ for such a notice.
602
+
603
+ You may add additional accurate notices of copyright ownership.
604
+
605
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
606
+ ---------------------------------------------------------
607
+
608
+ This Source Code Form is "Incompatible With Secondary Licenses", as
609
+ defined by the Mozilla Public License, v. 2.0.
610
+
611
+ _____
612
+
613
+ intel/mkl-dnn
614
+
615
+ Copyright 2016-2018 Intel Corporation
616
+
617
+ Apache License
618
+ Version 2.0, January 2004
619
+ http://www.apache.org/licenses/
620
+
621
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
622
+
623
+ 1. Definitions.
624
+
625
+ "License" shall mean the terms and conditions for use, reproduction,
626
+ and distribution as defined by Sections 1 through 9 of this document.
627
+
628
+ "Licensor" shall mean the copyright owner or entity authorized by
629
+ the copyright owner that is granting the License.
630
+
631
+ "Legal Entity" shall mean the union of the acting entity and all
632
+ other entities that control, are controlled by, or are under common
633
+ control with that entity. For the purposes of this definition,
634
+ "control" means (i) the power, direct or indirect, to cause the
635
+ direction or management of such entity, whether by contract or
636
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
637
+ outstanding shares, or (iii) beneficial ownership of such entity.
638
+
639
+ "You" (or "Your") shall mean an individual or Legal Entity
640
+ exercising permissions granted by this License.
641
+
642
+ "Source" form shall mean the preferred form for making modifications,
643
+ including but not limited to software source code, documentation
644
+ source, and configuration files.
645
+
646
+ "Object" form shall mean any form resulting from mechanical
647
+ transformation or translation of a Source form, including but
648
+ not limited to compiled object code, generated documentation,
649
+ and conversions to other media types.
650
+
651
+ "Work" shall mean the work of authorship, whether in Source or
652
+ Object form, made available under the License, as indicated by a
653
+ copyright notice that is included in or attached to the work
654
+ (an example is provided in the Appendix below).
655
+
656
+ "Derivative Works" shall mean any work, whether in Source or Object
657
+ form, that is based on (or derived from) the Work and for which the
658
+ editorial revisions, annotations, elaborations, or other modifications
659
+ represent, as a whole, an original work of authorship. For the purposes
660
+ of this License, Derivative Works shall not include works that remain
661
+ separable from, or merely link (or bind by name) to the interfaces of,
662
+ the Work and Derivative Works thereof.
663
+
664
+ "Contribution" shall mean any work of authorship, including
665
+ the original version of the Work and any modifications or additions
666
+ to that Work or Derivative Works thereof, that is intentionally
667
+ submitted to Licensor for inclusion in the Work by the copyright owner
668
+ or by an individual or Legal Entity authorized to submit on behalf of
669
+ the copyright owner. For the purposes of this definition, "submitted"
670
+ means any form of electronic, verbal, or written communication sent
671
+ to the Licensor or its representatives, including but not limited to
672
+ communication on electronic mailing lists, source code control systems,
673
+ and issue tracking systems that are managed by, or on behalf of, the
674
+ Licensor for the purpose of discussing and improving the Work, but
675
+ excluding communication that is conspicuously marked or otherwise
676
+ designated in writing by the copyright owner as "Not a Contribution."
677
+
678
+ "Contributor" shall mean Licensor and any individual or Legal Entity
679
+ on behalf of whom a Contribution has been received by Licensor and
680
+ subsequently incorporated within the Work.
681
+
682
+ 2. Grant of Copyright License. Subject to the terms and conditions of
683
+ this License, each Contributor hereby grants to You a perpetual,
684
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
685
+ copyright license to reproduce, prepare Derivative Works of,
686
+ publicly display, publicly perform, sublicense, and distribute the
687
+ Work and such Derivative Works in Source or Object form.
688
+
689
+ 3. Grant of Patent License. Subject to the terms and conditions of
690
+ this License, each Contributor hereby grants to You a perpetual,
691
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
692
+ (except as stated in this section) patent license to make, have made,
693
+ use, offer to sell, sell, import, and otherwise transfer the Work,
694
+ where such license applies only to those patent claims licensable
695
+ by such Contributor that are necessarily infringed by their
696
+ Contribution(s) alone or by combination of their Contribution(s)
697
+ with the Work to which such Contribution(s) was submitted. If You
698
+ institute patent litigation against any entity (including a
699
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
700
+ or a Contribution incorporated within the Work constitutes direct
701
+ or contributory patent infringement, then any patent licenses
702
+ granted to You under this License for that Work shall terminate
703
+ as of the date such litigation is filed.
704
+
705
+ 4. Redistribution. You may reproduce and distribute copies of the
706
+ Work or Derivative Works thereof in any medium, with or without
707
+ modifications, and in Source or Object form, provided that You
708
+ meet the following conditions:
709
+
710
+ (a) You must give any other recipients of the Work or
711
+ Derivative Works a copy of this License; and
712
+
713
+ (b) You must cause any modified files to carry prominent notices
714
+ stating that You changed the files; and
715
+
716
+ (c) You must retain, in the Source form of any Derivative Works
717
+ that You distribute, all copyright, patent, trademark, and
718
+ attribution notices from the Source form of the Work,
719
+ excluding those notices that do not pertain to any part of
720
+ the Derivative Works; and
721
+
722
+ (d) If the Work includes a "NOTICE" text file as part of its
723
+ distribution, then any Derivative Works that You distribute must
724
+ include a readable copy of the attribution notices contained
725
+ within such NOTICE file, excluding those notices that do not
726
+ pertain to any part of the Derivative Works, in at least one
727
+ of the following places: within a NOTICE text file distributed
728
+ as part of the Derivative Works; within the Source form or
729
+ documentation, if provided along with the Derivative Works; or,
730
+ within a display generated by the Derivative Works, if and
731
+ wherever such third-party notices normally appear. The contents
732
+ of the NOTICE file are for informational purposes only and
733
+ do not modify the License. You may add Your own attribution
734
+ notices within Derivative Works that You distribute, alongside
735
+ or as an addendum to the NOTICE text from the Work, provided
736
+ that such additional attribution notices cannot be construed
737
+ as modifying the License.
738
+
739
+ You may add Your own copyright statement to Your modifications and
740
+ may provide additional or different license terms and conditions
741
+ for use, reproduction, or distribution of Your modifications, or
742
+ for any such Derivative Works as a whole, provided Your use,
743
+ reproduction, and distribution of the Work otherwise complies with
744
+ the conditions stated in this License.
745
+
746
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
747
+ any Contribution intentionally submitted for inclusion in the Work
748
+ by You to the Licensor shall be under the terms and conditions of
749
+ this License, without any additional terms or conditions.
750
+ Notwithstanding the above, nothing herein shall supersede or modify
751
+ the terms of any separate license agreement you may have executed
752
+ with Licensor regarding such Contributions.
753
+
754
+ 6. Trademarks. This License does not grant permission to use the trade
755
+ names, trademarks, service marks, or product names of the Licensor,
756
+ except as required for reasonable and customary use in describing the
757
+ origin of the Work and reproducing the content of the NOTICE file.
758
+
759
+ 7. Disclaimer of Warranty. Unless required by applicable law or
760
+ agreed to in writing, Licensor provides the Work (and each
761
+ Contributor provides its Contributions) on an "AS IS" BASIS,
762
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
763
+ implied, including, without limitation, any warranties or conditions
764
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
765
+ PARTICULAR PURPOSE. You are solely responsible for determining the
766
+ appropriateness of using or redistributing the Work and assume any
767
+ risks associated with Your exercise of permissions under this License.
768
+
769
+ 8. Limitation of Liability. In no event and under no legal theory,
770
+ whether in tort (including negligence), contract, or otherwise,
771
+ unless required by applicable law (such as deliberate and grossly
772
+ negligent acts) or agreed to in writing, shall any Contributor be
773
+ liable to You for damages, including any direct, indirect, special,
774
+ incidental, or consequential damages of any character arising as a
775
+ result of this License or out of the use or inability to use the
776
+ Work (including but not limited to damages for loss of goodwill,
777
+ work stoppage, computer failure or malfunction, or any and all
778
+ other commercial damages or losses), even if such Contributor
779
+ has been advised of the possibility of such damages.
780
+
781
+ 9. Accepting Warranty or Additional Liability. While redistributing
782
+ the Work or Derivative Works thereof, You may choose to offer,
783
+ and charge a fee for, acceptance of support, warranty, indemnity,
784
+ or other liability obligations and/or rights consistent with this
785
+ License. However, in accepting such obligations, You may act only
786
+ on Your own behalf and on Your sole responsibility, not on behalf
787
+ of any other Contributor, and only if You agree to indemnify,
788
+ defend, and hold each Contributor harmless for any liability
789
+ incurred by, or claims asserted against, such Contributor by reason
790
+ of your accepting any such warranty or additional liability.
791
+
792
+ END OF TERMS AND CONDITIONS
793
+
794
+ APPENDIX: How to apply the Apache License to your work.
795
+
796
+ To apply the Apache License to your work, attach the following
797
+ boilerplate notice, with the fields enclosed by brackets "{}"
798
+ replaced with your own identifying information. (Don't include
799
+ the brackets!) The text should be enclosed in the appropriate
800
+ comment syntax for the file format. We also recommend that a
801
+ file or class name and description of purpose be included on the
802
+ same "printed page" as the copyright notice for easier
803
+ identification within third-party archives.
804
+
805
+ Copyright {yyyy} {name of copyright owner}
806
+
807
+ Licensed under the Apache License, Version 2.0 (the "License");
808
+ you may not use this file except in compliance with the License.
809
+ You may obtain a copy of the License at
810
+
811
+ http://www.apache.org/licenses/LICENSE-2.0
812
+
813
+ Unless required by applicable law or agreed to in writing, software
814
+ distributed under the License is distributed on an "AS IS" BASIS,
815
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
816
+ See the License for the specific language governing permissions and
817
+ limitations under the License.
818
+
819
+ sub-components:
820
+
821
+ xbyak
822
+
823
+ Copyright (c) 2007 MITSUNARI Shigeo. All rights reserved.
824
+
825
+ Redistribution and use in source and binary forms, with or without
826
+ modification, are permitted provided that the following conditions are met:
827
+
828
+ Redistributions of source code must retain the above copyright notice, this
829
+ list of conditions and the following disclaimer.
830
+ Redistributions in binary form must reproduce the above copyright notice,
831
+ this list of conditions and the following disclaimer in the documentation
832
+ and/or other materials provided with the distribution.
833
+ Neither the name of the copyright owner nor the names of its contributors may
834
+ be used to endorse or promote products derived from this software without
835
+ specific prior written permission.
836
+
837
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
838
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
839
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
840
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
841
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
842
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
843
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
844
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
845
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
846
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
847
+ THE POSSIBILITY OF SUCH DAMAGE.
848
+
849
+ _____
850
+
851
+ Microsoft/GSL
852
+
853
+ Copyright (c) 2015 Microsoft Corporation. All rights reserved.
854
+
855
+ This code is licensed under the MIT License (MIT).
856
+
857
+ Permission is hereby granted, free of charge, to any person obtaining a copy
858
+ of this software and associated documentation files (the "Software"), to deal
859
+ in the Software without restriction, including without limitation the rights
860
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
861
+ of the Software, and to permit persons to whom the Software is furnished to do
862
+ so, subject to the following conditions:
863
+
864
+ The above copyright notice and this permission notice shall be included in all
865
+ copies or substantial portions of the Software.
866
+
867
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
868
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
869
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
870
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
871
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
872
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
873
+ THE SOFTWARE.
874
+
875
+ _____
876
+
877
+ Tensorflow
878
+
879
+ Copyright 2018 The TensorFlow Authors. All rights reserved.
880
+
881
+ Apache License
882
+ Version 2.0, January 2004
883
+ http://www.apache.org/licenses/
884
+
885
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
886
+
887
+ 1. Definitions.
888
+
889
+ "License" shall mean the terms and conditions for use, reproduction,
890
+ and distribution as defined by Sections 1 through 9 of this document.
891
+
892
+ "Licensor" shall mean the copyright owner or entity authorized by
893
+ the copyright owner that is granting the License.
894
+
895
+ "Legal Entity" shall mean the union of the acting entity and all
896
+ other entities that control, are controlled by, or are under common
897
+ control with that entity. For the purposes of this definition,
898
+ "control" means (i) the power, direct or indirect, to cause the
899
+ direction or management of such entity, whether by contract or
900
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
901
+ outstanding shares, or (iii) beneficial ownership of such entity.
902
+
903
+ "You" (or "Your") shall mean an individual or Legal Entity
904
+ exercising permissions granted by this License.
905
+
906
+ "Source" form shall mean the preferred form for making modifications,
907
+ including but not limited to software source code, documentation
908
+ source, and configuration files.
909
+
910
+ "Object" form shall mean any form resulting from mechanical
911
+ transformation or translation of a Source form, including but
912
+ not limited to compiled object code, generated documentation,
913
+ and conversions to other media types.
914
+
915
+ "Work" shall mean the work of authorship, whether in Source or
916
+ Object form, made available under the License, as indicated by a
917
+ copyright notice that is included in or attached to the work
918
+ (an example is provided in the Appendix below).
919
+
920
+ "Derivative Works" shall mean any work, whether in Source or Object
921
+ form, that is based on (or derived from) the Work and for which the
922
+ editorial revisions, annotations, elaborations, or other modifications
923
+ represent, as a whole, an original work of authorship. For the purposes
924
+ of this License, Derivative Works shall not include works that remain
925
+ separable from, or merely link (or bind by name) to the interfaces of,
926
+ the Work and Derivative Works thereof.
927
+
928
+ "Contribution" shall mean any work of authorship, including
929
+ the original version of the Work and any modifications or additions
930
+ to that Work or Derivative Works thereof, that is intentionally
931
+ submitted to Licensor for inclusion in the Work by the copyright owner
932
+ or by an individual or Legal Entity authorized to submit on behalf of
933
+ the copyright owner. For the purposes of this definition, "submitted"
934
+ means any form of electronic, verbal, or written communication sent
935
+ to the Licensor or its representatives, including but not limited to
936
+ communication on electronic mailing lists, source code control systems,
937
+ and issue tracking systems that are managed by, or on behalf of, the
938
+ Licensor for the purpose of discussing and improving the Work, but
939
+ excluding communication that is conspicuously marked or otherwise
940
+ designated in writing by the copyright owner as "Not a Contribution."
941
+
942
+ "Contributor" shall mean Licensor and any individual or Legal Entity
943
+ on behalf of whom a Contribution has been received by Licensor and
944
+ subsequently incorporated within the Work.
945
+
946
+ 2. Grant of Copyright License. Subject to the terms and conditions of
947
+ this License, each Contributor hereby grants to You a perpetual,
948
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
949
+ copyright license to reproduce, prepare Derivative Works of,
950
+ publicly display, publicly perform, sublicense, and distribute the
951
+ Work and such Derivative Works in Source or Object form.
952
+
953
+ 3. Grant of Patent License. Subject to the terms and conditions of
954
+ this License, each Contributor hereby grants to You a perpetual,
955
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
956
+ (except as stated in this section) patent license to make, have made,
957
+ use, offer to sell, sell, import, and otherwise transfer the Work,
958
+ where such license applies only to those patent claims licensable
959
+ by such Contributor that are necessarily infringed by their
960
+ Contribution(s) alone or by combination of their Contribution(s)
961
+ with the Work to which such Contribution(s) was submitted. If You
962
+ institute patent litigation against any entity (including a
963
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
964
+ or a Contribution incorporated within the Work constitutes direct
965
+ or contributory patent infringement, then any patent licenses
966
+ granted to You under this License for that Work shall terminate
967
+ as of the date such litigation is filed.
968
+
969
+ 4. Redistribution. You may reproduce and distribute copies of the
970
+ Work or Derivative Works thereof in any medium, with or without
971
+ modifications, and in Source or Object form, provided that You
972
+ meet the following conditions:
973
+
974
+ (a) You must give any other recipients of the Work or
975
+ Derivative Works a copy of this License; and
976
+
977
+ (b) You must cause any modified files to carry prominent notices
978
+ stating that You changed the files; and
979
+
980
+ (c) You must retain, in the Source form of any Derivative Works
981
+ that You distribute, all copyright, patent, trademark, and
982
+ attribution notices from the Source form of the Work,
983
+ excluding those notices that do not pertain to any part of
984
+ the Derivative Works; and
985
+
986
+ (d) If the Work includes a "NOTICE" text file as part of its
987
+ distribution, then any Derivative Works that You distribute must
988
+ include a readable copy of the attribution notices contained
989
+ within such NOTICE file, excluding those notices that do not
990
+ pertain to any part of the Derivative Works, in at least one
991
+ of the following places: within a NOTICE text file distributed
992
+ as part of the Derivative Works; within the Source form or
993
+ documentation, if provided along with the Derivative Works; or,
994
+ within a display generated by the Derivative Works, if and
995
+ wherever such third-party notices normally appear. The contents
996
+ of the NOTICE file are for informational purposes only and
997
+ do not modify the License. You may add Your own attribution
998
+ notices within Derivative Works that You distribute, alongside
999
+ or as an addendum to the NOTICE text from the Work, provided
1000
+ that such additional attribution notices cannot be construed
1001
+ as modifying the License.
1002
+
1003
+ You may add Your own copyright statement to Your modifications and
1004
+ may provide additional or different license terms and conditions
1005
+ for use, reproduction, or distribution of Your modifications, or
1006
+ for any such Derivative Works as a whole, provided Your use,
1007
+ reproduction, and distribution of the Work otherwise complies with
1008
+ the conditions stated in this License.
1009
+
1010
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1011
+ any Contribution intentionally submitted for inclusion in the Work
1012
+ by You to the Licensor shall be under the terms and conditions of
1013
+ this License, without any additional terms or conditions.
1014
+ Notwithstanding the above, nothing herein shall supersede or modify
1015
+ the terms of any separate license agreement you may have executed
1016
+ with Licensor regarding such Contributions.
1017
+
1018
+ 6. Trademarks. This License does not grant permission to use the trade
1019
+ names, trademarks, service marks, or product names of the Licensor,
1020
+ except as required for reasonable and customary use in describing the
1021
+ origin of the Work and reproducing the content of the NOTICE file.
1022
+
1023
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1024
+ agreed to in writing, Licensor provides the Work (and each
1025
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1026
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1027
+ implied, including, without limitation, any warranties or conditions
1028
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1029
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1030
+ appropriateness of using or redistributing the Work and assume any
1031
+ risks associated with Your exercise of permissions under this License.
1032
+
1033
+ 8. Limitation of Liability. In no event and under no legal theory,
1034
+ whether in tort (including negligence), contract, or otherwise,
1035
+ unless required by applicable law (such as deliberate and grossly
1036
+ negligent acts) or agreed to in writing, shall any Contributor be
1037
+ liable to You for damages, including any direct, indirect, special,
1038
+ incidental, or consequential damages of any character arising as a
1039
+ result of this License or out of the use or inability to use the
1040
+ Work (including but not limited to damages for loss of goodwill,
1041
+ work stoppage, computer failure or malfunction, or any and all
1042
+ other commercial damages or losses), even if such Contributor
1043
+ has been advised of the possibility of such damages.
1044
+
1045
+ 9. Accepting Warranty or Additional Liability. While redistributing
1046
+ the Work or Derivative Works thereof, You may choose to offer,
1047
+ and charge a fee for, acceptance of support, warranty, indemnity,
1048
+ or other liability obligations and/or rights consistent with this
1049
+ License. However, in accepting such obligations, You may act only
1050
+ on Your own behalf and on Your sole responsibility, not on behalf
1051
+ of any other Contributor, and only if You agree to indemnify,
1052
+ defend, and hold each Contributor harmless for any liability
1053
+ incurred by, or claims asserted against, such Contributor by reason
1054
+ of your accepting any such warranty or additional liability.
1055
+
1056
+ END OF TERMS AND CONDITIONS
1057
+
1058
+ APPENDIX: How to apply the Apache License to your work.
1059
+
1060
+ To apply the Apache License to your work, attach the following
1061
+ boilerplate notice, with the fields enclosed by brackets "[]"
1062
+ replaced with your own identifying information. (Don't include
1063
+ the brackets!) The text should be enclosed in the appropriate
1064
+ comment syntax for the file format. We also recommend that a
1065
+ file or class name and description of purpose be included on the
1066
+ same "printed page" as the copyright notice for easier
1067
+ identification within third-party archives.
1068
+
1069
+ Copyright 2017, The TensorFlow Authors.
1070
+
1071
+ Licensed under the Apache License, Version 2.0 (the "License");
1072
+ you may not use this file except in compliance with the License.
1073
+ You may obtain a copy of the License at
1074
+
1075
+ http://www.apache.org/licenses/LICENSE-2.0
1076
+
1077
+ Unless required by applicable law or agreed to in writing, software
1078
+ distributed under the License is distributed on an "AS IS" BASIS,
1079
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1080
+ See the License for the specific language governing permissions and
1081
+ limitations under the License.
1082
+
1083
+ _____
1084
+
1085
+ Microsoft Cognitive Toolkit (CNTK)
1086
+
1087
+ Copyright (c) Microsoft Corporation. All rights reserved.
1088
+
1089
+ MIT License
1090
+
1091
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
1092
+ files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
1093
+ merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
1094
+ furnished to do so, subject to the following conditions:
1095
+
1096
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1097
+
1098
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
1099
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
1100
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1101
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1102
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1103
+
1104
+ _____
1105
+
1106
+ NumPy License
1107
+
1108
+ Copyright (c) 2005, NumPy Developers
1109
+
1110
+ All rights reserved.
1111
+
1112
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1113
+
1114
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
1115
+ 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.
1116
+ 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.
1117
+
1118
+ 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.
1119
+
1120
+ _____
1121
+
1122
+ Pytorch / Caffe2
1123
+
1124
+ From PyTorch:
1125
+
1126
+ Copyright (c) 2016- Facebook, Inc (Adam Paszke)
1127
+ Copyright (c) 2014- Facebook, Inc (Soumith Chintala)
1128
+ Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
1129
+ Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu)
1130
+ Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
1131
+ Copyright (c) 2011-2013 NYU (Clement Farabet)
1132
+ Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
1133
+ Copyright (c) 2006 Idiap Research Institute (Samy Bengio)
1134
+ Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
1135
+
1136
+ From Caffe2:
1137
+
1138
+ Copyright (c) 2016-present, Facebook Inc. All rights reserved.
1139
+
1140
+ All contributions by Facebook:
1141
+ Copyright (c) 2016 Facebook Inc.
1142
+
1143
+ All contributions by Google:
1144
+ Copyright (c) 2015 Google Inc.
1145
+ All rights reserved.
1146
+
1147
+ All contributions by Yangqing Jia:
1148
+ Copyright (c) 2015 Yangqing Jia
1149
+ All rights reserved.
1150
+
1151
+ All contributions from Caffe:
1152
+ Copyright(c) 2013, 2014, 2015, the respective contributors
1153
+ All rights reserved.
1154
+
1155
+ All other contributions:
1156
+ Copyright(c) 2015, 2016 the respective contributors
1157
+ All rights reserved.
1158
+
1159
+ Caffe2 uses a copyright model similar to Caffe: each contributor holds
1160
+ copyright over their contributions to Caffe2. The project versioning records
1161
+ all such contribution and copyright details. If a contributor wants to further
1162
+ mark their specific copyright on a particular contribution, they should
1163
+ indicate their copyright solely in the commit message of the change when it is
1164
+ committed. All rights reserved.
1165
+
1166
+ Redistribution and use in source and binary forms, with or without
1167
+ modification, are permitted provided that the following conditions are met:
1168
+
1169
+ 1. Redistributions of source code must retain the above copyright
1170
+ notice, this list of conditions and the following disclaimer.
1171
+
1172
+ 2. Redistributions in binary form must reproduce the above copyright
1173
+ notice, this list of conditions and the following disclaimer in the
1174
+ documentation and/or other materials provided with the distribution.
1175
+
1176
+ 3. Neither the names of Facebook, Deepmind Technologies, NYU, NEC Laboratories America
1177
+ and IDIAP Research Institute nor the names of its contributors may be
1178
+ used to endorse or promote products derived from this software without
1179
+ specific prior written permission.
1180
+
1181
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1182
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1183
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1184
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1185
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1186
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1187
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1188
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1189
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1190
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1191
+ POSSIBILITY OF SUCH DAMAGE.
1192
+
1193
+ _____
1194
+
1195
+ Caffe
1196
+
1197
+ COPYRIGHT
1198
+
1199
+ All contributions by the University of California:
1200
+ Copyright (c) 2014-2017 The Regents of the University of California (Regents)
1201
+ All rights reserved.
1202
+
1203
+ All other contributions:
1204
+ Copyright (c) 2014-2017, the respective contributors
1205
+ All rights reserved.
1206
+
1207
+ Caffe uses a shared copyright model: each contributor holds copyright over
1208
+ their contributions to Caffe. The project versioning records all such
1209
+ contribution and copyright details. If a contributor wants to further mark
1210
+ their specific copyright on a particular contribution, they should indicate
1211
+ their copyright solely in the commit message of the change when it is
1212
+ committed.
1213
+
1214
+ LICENSE
1215
+
1216
+ Redistribution and use in source and binary forms, with or without
1217
+ modification, are permitted provided that the following conditions are met:
1218
+
1219
+ 1. Redistributions of source code must retain the above copyright notice, this
1220
+ list of conditions and the following disclaimer.
1221
+ 2. Redistributions in binary form must reproduce the above copyright notice,
1222
+ this list of conditions and the following disclaimer in the documentation
1223
+ and/or other materials provided with the distribution.
1224
+
1225
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1226
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1227
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1228
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
1229
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1230
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1231
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1232
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1233
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1234
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1235
+
1236
+ CONTRIBUTION AGREEMENT
1237
+
1238
+ By contributing to the BVLC/caffe repository through pull-request, comment,
1239
+ or otherwise, the contributor releases their content to the
1240
+ license and copyright terms herein.
1241
+
1242
+ _____
1243
+
1244
+ The LLVM Compiler Infrastructure
1245
+
1246
+ ==============================================================================
1247
+ LLVM Release License
1248
+ ==============================================================================
1249
+ University of Illinois/NCSA
1250
+ Open Source License
1251
+
1252
+ Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign.
1253
+ All rights reserved.
1254
+
1255
+ Developed by:
1256
+
1257
+ LLVM Team
1258
+
1259
+ University of Illinois at Urbana-Champaign
1260
+
1261
+ http://llvm.org
1262
+
1263
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
1264
+ this software and associated documentation files (the "Software"), to deal with
1265
+ the Software without restriction, including without limitation the rights to
1266
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
1267
+ of the Software, and to permit persons to whom the Software is furnished to do
1268
+ so, subject to the following conditions:
1269
+
1270
+ * Redistributions of source code must retain the above copyright notice,
1271
+ this list of conditions and the following disclaimers.
1272
+
1273
+ * Redistributions in binary form must reproduce the above copyright notice,
1274
+ this list of conditions and the following disclaimers in the
1275
+ documentation and/or other materials provided with the distribution.
1276
+
1277
+ * Neither the names of the LLVM Team, University of Illinois at
1278
+ Urbana-Champaign, nor the names of its contributors may be used to
1279
+ endorse or promote products derived from this Software without specific
1280
+ prior written permission.
1281
+
1282
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1283
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1284
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1285
+ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1286
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1287
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
1288
+ SOFTWARE.
1289
+
1290
+ ==============================================================================
1291
+ Copyrights and Licenses for Third Party Software Distributed with LLVM:
1292
+ ==============================================================================
1293
+ The LLVM software contains code written by third parties. Such software will
1294
+ have its own individual LICENSE.TXT file in the directory in which it appears.
1295
+ This file will describe the copyrights, license, and restrictions which apply
1296
+ to that code.
1297
+
1298
+ The disclaimer of warranty in the University of Illinois Open Source License
1299
+ applies to all code in the LLVM Distribution, and nothing in any of the
1300
+ other licenses gives permission to use the names of the LLVM Team or the
1301
+ University of Illinois to endorse or promote products derived from this
1302
+ Software.
1303
+
1304
+ The following pieces of software have additional or alternate copyrights,
1305
+ licenses, and/or restrictions:
1306
+
1307
+ Program Directory
1308
+ ------- ---------
1309
+ Google Test llvm/utils/unittest/googletest
1310
+ OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}
1311
+ pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT}
1312
+ ARM contributions llvm/lib/Target/ARM/LICENSE.TXT
1313
+ md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.h
1314
+
1315
+ _____
1316
+
1317
+ google/benchmark
1318
+
1319
+
1320
+ Apache License
1321
+ Version 2.0, January 2004
1322
+ http://www.apache.org/licenses/
1323
+
1324
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1325
+
1326
+ 1. Definitions.
1327
+
1328
+ "License" shall mean the terms and conditions for use, reproduction,
1329
+ and distribution as defined by Sections 1 through 9 of this document.
1330
+
1331
+ "Licensor" shall mean the copyright owner or entity authorized by
1332
+ the copyright owner that is granting the License.
1333
+
1334
+ "Legal Entity" shall mean the union of the acting entity and all
1335
+ other entities that control, are controlled by, or are under common
1336
+ control with that entity. For the purposes of this definition,
1337
+ "control" means (i) the power, direct or indirect, to cause the
1338
+ direction or management of such entity, whether by contract or
1339
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1340
+ outstanding shares, or (iii) beneficial ownership of such entity.
1341
+
1342
+ "You" (or "Your") shall mean an individual or Legal Entity
1343
+ exercising permissions granted by this License.
1344
+
1345
+ "Source" form shall mean the preferred form for making modifications,
1346
+ including but not limited to software source code, documentation
1347
+ source, and configuration files.
1348
+
1349
+ "Object" form shall mean any form resulting from mechanical
1350
+ transformation or translation of a Source form, including but
1351
+ not limited to compiled object code, generated documentation,
1352
+ and conversions to other media types.
1353
+
1354
+ "Work" shall mean the work of authorship, whether in Source or
1355
+ Object form, made available under the License, as indicated by a
1356
+ copyright notice that is included in or attached to the work
1357
+ (an example is provided in the Appendix below).
1358
+
1359
+ "Derivative Works" shall mean any work, whether in Source or Object
1360
+ form, that is based on (or derived from) the Work and for which the
1361
+ editorial revisions, annotations, elaborations, or other modifications
1362
+ represent, as a whole, an original work of authorship. For the purposes
1363
+ of this License, Derivative Works shall not include works that remain
1364
+ separable from, or merely link (or bind by name) to the interfaces of,
1365
+ the Work and Derivative Works thereof.
1366
+
1367
+ "Contribution" shall mean any work of authorship, including
1368
+ the original version of the Work and any modifications or additions
1369
+ to that Work or Derivative Works thereof, that is intentionally
1370
+ submitted to Licensor for inclusion in the Work by the copyright owner
1371
+ or by an individual or Legal Entity authorized to submit on behalf of
1372
+ the copyright owner. For the purposes of this definition, "submitted"
1373
+ means any form of electronic, verbal, or written communication sent
1374
+ to the Licensor or its representatives, including but not limited to
1375
+ communication on electronic mailing lists, source code control systems,
1376
+ and issue tracking systems that are managed by, or on behalf of, the
1377
+ Licensor for the purpose of discussing and improving the Work, but
1378
+ excluding communication that is conspicuously marked or otherwise
1379
+ designated in writing by the copyright owner as "Not a Contribution."
1380
+
1381
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1382
+ on behalf of whom a Contribution has been received by Licensor and
1383
+ subsequently incorporated within the Work.
1384
+
1385
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1386
+ this License, each Contributor hereby grants to You a perpetual,
1387
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1388
+ copyright license to reproduce, prepare Derivative Works of,
1389
+ publicly display, publicly perform, sublicense, and distribute the
1390
+ Work and such Derivative Works in Source or Object form.
1391
+
1392
+ 3. Grant of Patent License. Subject to the terms and conditions of
1393
+ this License, each Contributor hereby grants to You a perpetual,
1394
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1395
+ (except as stated in this section) patent license to make, have made,
1396
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1397
+ where such license applies only to those patent claims licensable
1398
+ by such Contributor that are necessarily infringed by their
1399
+ Contribution(s) alone or by combination of their Contribution(s)
1400
+ with the Work to which such Contribution(s) was submitted. If You
1401
+ institute patent litigation against any entity (including a
1402
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1403
+ or a Contribution incorporated within the Work constitutes direct
1404
+ or contributory patent infringement, then any patent licenses
1405
+ granted to You under this License for that Work shall terminate
1406
+ as of the date such litigation is filed.
1407
+
1408
+ 4. Redistribution. You may reproduce and distribute copies of the
1409
+ Work or Derivative Works thereof in any medium, with or without
1410
+ modifications, and in Source or Object form, provided that You
1411
+ meet the following conditions:
1412
+
1413
+ (a) You must give any other recipients of the Work or
1414
+ Derivative Works a copy of this License; and
1415
+
1416
+ (b) You must cause any modified files to carry prominent notices
1417
+ stating that You changed the files; and
1418
+
1419
+ (c) You must retain, in the Source form of any Derivative Works
1420
+ that You distribute, all copyright, patent, trademark, and
1421
+ attribution notices from the Source form of the Work,
1422
+ excluding those notices that do not pertain to any part of
1423
+ the Derivative Works; and
1424
+
1425
+ (d) If the Work includes a "NOTICE" text file as part of its
1426
+ distribution, then any Derivative Works that You distribute must
1427
+ include a readable copy of the attribution notices contained
1428
+ within such NOTICE file, excluding those notices that do not
1429
+ pertain to any part of the Derivative Works, in at least one
1430
+ of the following places: within a NOTICE text file distributed
1431
+ as part of the Derivative Works; within the Source form or
1432
+ documentation, if provided along with the Derivative Works; or,
1433
+ within a display generated by the Derivative Works, if and
1434
+ wherever such third-party notices normally appear. The contents
1435
+ of the NOTICE file are for informational purposes only and
1436
+ do not modify the License. You may add Your own attribution
1437
+ notices within Derivative Works that You distribute, alongside
1438
+ or as an addendum to the NOTICE text from the Work, provided
1439
+ that such additional attribution notices cannot be construed
1440
+ as modifying the License.
1441
+
1442
+ You may add Your own copyright statement to Your modifications and
1443
+ may provide additional or different license terms and conditions
1444
+ for use, reproduction, or distribution of Your modifications, or
1445
+ for any such Derivative Works as a whole, provided Your use,
1446
+ reproduction, and distribution of the Work otherwise complies with
1447
+ the conditions stated in this License.
1448
+
1449
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1450
+ any Contribution intentionally submitted for inclusion in the Work
1451
+ by You to the Licensor shall be under the terms and conditions of
1452
+ this License, without any additional terms or conditions.
1453
+ Notwithstanding the above, nothing herein shall supersede or modify
1454
+ the terms of any separate license agreement you may have executed
1455
+ with Licensor regarding such Contributions.
1456
+
1457
+ 6. Trademarks. This License does not grant permission to use the trade
1458
+ names, trademarks, service marks, or product names of the Licensor,
1459
+ except as required for reasonable and customary use in describing the
1460
+ origin of the Work and reproducing the content of the NOTICE file.
1461
+
1462
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1463
+ agreed to in writing, Licensor provides the Work (and each
1464
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1465
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1466
+ implied, including, without limitation, any warranties or conditions
1467
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1468
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1469
+ appropriateness of using or redistributing the Work and assume any
1470
+ risks associated with Your exercise of permissions under this License.
1471
+
1472
+ 8. Limitation of Liability. In no event and under no legal theory,
1473
+ whether in tort (including negligence), contract, or otherwise,
1474
+ unless required by applicable law (such as deliberate and grossly
1475
+ negligent acts) or agreed to in writing, shall any Contributor be
1476
+ liable to You for damages, including any direct, indirect, special,
1477
+ incidental, or consequential damages of any character arising as a
1478
+ result of this License or out of the use or inability to use the
1479
+ Work (including but not limited to damages for loss of goodwill,
1480
+ work stoppage, computer failure or malfunction, or any and all
1481
+ other commercial damages or losses), even if such Contributor
1482
+ has been advised of the possibility of such damages.
1483
+
1484
+ 9. Accepting Warranty or Additional Liability. While redistributing
1485
+ the Work or Derivative Works thereof, You may choose to offer,
1486
+ and charge a fee for, acceptance of support, warranty, indemnity,
1487
+ or other liability obligations and/or rights consistent with this
1488
+ License. However, in accepting such obligations, You may act only
1489
+ on Your own behalf and on Your sole responsibility, not on behalf
1490
+ of any other Contributor, and only if You agree to indemnify,
1491
+ defend, and hold each Contributor harmless for any liability
1492
+ incurred by, or claims asserted against, such Contributor by reason
1493
+ of your accepting any such warranty or additional liability.
1494
+
1495
+ END OF TERMS AND CONDITIONS
1496
+
1497
+ APPENDIX: How to apply the Apache License to your work.
1498
+
1499
+ To apply the Apache License to your work, attach the following
1500
+ boilerplate notice, with the fields enclosed by brackets "[]"
1501
+ replaced with your own identifying information. (Don't include
1502
+ the brackets!) The text should be enclosed in the appropriate
1503
+ comment syntax for the file format. We also recommend that a
1504
+ file or class name and description of purpose be included on the
1505
+ same "printed page" as the copyright notice for easier
1506
+ identification within third-party archives.
1507
+
1508
+ Copyright [yyyy] [name of copyright owner]
1509
+
1510
+ Licensed under the Apache License, Version 2.0 (the "License");
1511
+ you may not use this file except in compliance with the License.
1512
+ You may obtain a copy of the License at
1513
+
1514
+ http://www.apache.org/licenses/LICENSE-2.0
1515
+
1516
+ Unless required by applicable law or agreed to in writing, software
1517
+ distributed under the License is distributed on an "AS IS" BASIS,
1518
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1519
+ See the License for the specific language governing permissions and
1520
+ limitations under the License.
1521
+
1522
+ CONTRIBUTORS
1523
+
1524
+ # People who have agreed to one of the CLAs and can contribute patches.
1525
+ # The AUTHORS file lists the copyright holders; this file
1526
+ # lists people. For example, Google employees are listed here
1527
+ # but not in AUTHORS, because Google holds the copyright.
1528
+ #
1529
+ # Names should be added to this file only after verifying that
1530
+ # the individual or the individual's organization has agreed to
1531
+ # the appropriate Contributor License Agreement, found here:
1532
+ #
1533
+ # https://developers.google.com/open-source/cla/individual
1534
+ # https://developers.google.com/open-source/cla/corporate
1535
+ #
1536
+ # The agreement for individuals can be filled out on the web.
1537
+ #
1538
+ # When adding J Random Contributor's name to this file,
1539
+ # either J's name or J's organization's name should be
1540
+ # added to the AUTHORS file, depending on whether the
1541
+ # individual or corporate CLA was used.
1542
+ #
1543
+ # Names should be added to this file as:
1544
+ # Name <email address>
1545
+ #
1546
+ # Please keep the list sorted.
1547
+
1548
+ Albert Pretorius <pretoalb@gmail.com>
1549
+ Arne Beer <arne@twobeer.de>
1550
+ Billy Robert O'Neal III <billy.oneal@gmail.com> <bion@microsoft.com>
1551
+ Chris Kennelly <ckennelly@google.com> <ckennelly@ckennelly.com>
1552
+ Christopher Seymour <chris.j.seymour@hotmail.com>
1553
+ David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
1554
+ Deniz Evrenci <denizevrenci@gmail.com>
1555
+ Dominic Hamon <dma@stripysock.com> <dominic@google.com>
1556
+ Dominik Czarnota <dominik.b.czarnota@gmail.com>
1557
+ Eric Fiselier <eric@efcs.ca>
1558
+ Eugene Zhuk <eugene.zhuk@gmail.com>
1559
+ Evgeny Safronov <division494@gmail.com>
1560
+ Federico Ficarelli <federico.ficarelli@gmail.com>
1561
+ Felix Homann <linuxaudio@showlabor.de>
1562
+ Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
1563
+ Jern-Kuan Leong <jernkuan@gmail.com>
1564
+ JianXiong Zhou <zhoujianxiong2@gmail.com>
1565
+ Joao Paulo Magalhaes <joaoppmagalhaes@gmail.com>
1566
+ John Millikin <jmillikin@stripe.com>
1567
+ Jussi Knuuttila <jussi.knuuttila@gmail.com>
1568
+ Kai Wolf <kai.wolf@gmail.com>
1569
+ Kishan Kumar <kumar.kishan@outlook.com>
1570
+ Kaito Udagawa <umireon@gmail.com>
1571
+ Lei Xu <eddyxu@gmail.com>
1572
+ Matt Clarkson <mattyclarkson@gmail.com>
1573
+ Maxim Vafin <maxvafin@gmail.com>
1574
+ Nick Hutchinson <nshutchinson@gmail.com>
1575
+ Oleksandr Sochka <sasha.sochka@gmail.com>
1576
+ Pascal Leroy <phl@google.com>
1577
+ Paul Redmond <paul.redmond@gmail.com>
1578
+ Pierre Phaneuf <pphaneuf@google.com>
1579
+ Radoslav Yovchev <radoslav.tm@gmail.com>
1580
+ Raul Marin <rmrodriguez@cartodb.com>
1581
+ Ray Glover <ray.glover@uk.ibm.com>
1582
+ Robert Guo <robert.guo@mongodb.com>
1583
+ Roman Lebedev <lebedev.ri@gmail.com>
1584
+ Shuo Chen <chenshuo@chenshuo.com>
1585
+ Tobias Ulvgård <tobias.ulvgard@dirac.se>
1586
+ Tom Madams <tom.ej.madams@gmail.com> <tmadams@google.com>
1587
+ Yixuan Qiu <yixuanq@gmail.com>
1588
+ Yusuke Suzuki <utatane.tea@gmail.com>
1589
+ Zbigniew Skowron <zbychs@gmail.com>
1590
+
1591
+ AUTHORS
1592
+
1593
+ # This is the official list of benchmark authors for copyright purposes.
1594
+ # This file is distinct from the CONTRIBUTORS files.
1595
+ # See the latter for an explanation.
1596
+ #
1597
+ # Names should be added to this file as:
1598
+ # Name or Organization <email address>
1599
+ # The email address is not required for organizations.
1600
+ #
1601
+ # Please keep the list sorted.
1602
+
1603
+ Albert Pretorius <pretoalb@gmail.com>
1604
+ Arne Beer <arne@twobeer.de>
1605
+ Carto
1606
+ Christopher Seymour <chris.j.seymour@hotmail.com>
1607
+ David Coeurjolly <david.coeurjolly@liris.cnrs.fr>
1608
+ Deniz Evrenci <denizevrenci@gmail.com>
1609
+ Dirac Research
1610
+ Dominik Czarnota <dominik.b.czarnota@gmail.com>
1611
+ Eric Fiselier <eric@efcs.ca>
1612
+ Eugene Zhuk <eugene.zhuk@gmail.com>
1613
+ Evgeny Safronov <division494@gmail.com>
1614
+ Federico Ficarelli <federico.ficarelli@gmail.com>
1615
+ Felix Homann <linuxaudio@showlabor.de>
1616
+ Google Inc.
1617
+ International Business Machines Corporation
1618
+ Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
1619
+ Jern-Kuan Leong <jernkuan@gmail.com>
1620
+ JianXiong Zhou <zhoujianxiong2@gmail.com>
1621
+ Joao Paulo Magalhaes <joaoppmagalhaes@gmail.com>
1622
+ Jussi Knuuttila <jussi.knuuttila@gmail.com>
1623
+ Kaito Udagawa <umireon@gmail.com>
1624
+ Kishan Kumar <kumar.kishan@outlook.com>
1625
+ Lei Xu <eddyxu@gmail.com>
1626
+ Matt Clarkson <mattyclarkson@gmail.com>
1627
+ Maxim Vafin <maxvafin@gmail.com>
1628
+ MongoDB Inc.
1629
+ Nick Hutchinson <nshutchinson@gmail.com>
1630
+ Oleksandr Sochka <sasha.sochka@gmail.com>
1631
+ Paul Redmond <paul.redmond@gmail.com>
1632
+ Radoslav Yovchev <radoslav.tm@gmail.com>
1633
+ Roman Lebedev <lebedev.ri@gmail.com>
1634
+ Shuo Chen <chenshuo@chenshuo.com>
1635
+ Steinar H. Gunderson <sgunderson@bigfoot.com>
1636
+ Stripe, Inc.
1637
+ Yixuan Qiu <yixuanq@gmail.com>
1638
+ Yusuke Suzuki <utatane.tea@gmail.com>
1639
+ Zbigniew Skowron <zbychs@gmail.com>
1640
+
1641
+ _____
1642
+
1643
+ HalidelR
1644
+
1645
+ Copyright (c) 2016 HalideIR contributors
1646
+ Copyright (c) 2012-2014 MIT CSAIL, Google Inc., and other contributors
1647
+ HalideIR is derived from the Halide project.
1648
+
1649
+ 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:
1650
+
1651
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1652
+
1653
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1654
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1655
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1656
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1657
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1658
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1659
+
1660
+ ____
1661
+
1662
+ Distributed Machine Learning Common Codebase
1663
+
1664
+ Copyright (c) 2015 by Contributors
1665
+
1666
+ Licensed under the Apache License, Version 2.0 (the "License");
1667
+ you may not use this file except in compliance with the License.
1668
+ You may obtain a copy of the License at
1669
+
1670
+ http://www.apache.org/licenses/LICENSE-2.0
1671
+
1672
+ Unless required by applicable law or agreed to in writing, software
1673
+ distributed under the License is distributed on an "AS IS" BASIS,
1674
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1675
+ See the License for the specific language governing permissions and
1676
+ limitations under the License.
1677
+
1678
+ _____
1679
+
1680
+ DLPack: Open In Memory Tensor Structure
1681
+
1682
+ Apache License
1683
+ Version 2.0, January 2004
1684
+ http://www.apache.org/licenses/
1685
+
1686
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1687
+
1688
+ 1. Definitions.
1689
+
1690
+ "License" shall mean the terms and conditions for use, reproduction,
1691
+ and distribution as defined by Sections 1 through 9 of this document.
1692
+
1693
+ "Licensor" shall mean the copyright owner or entity authorized by
1694
+ the copyright owner that is granting the License.
1695
+
1696
+ "Legal Entity" shall mean the union of the acting entity and all
1697
+ other entities that control, are controlled by, or are under common
1698
+ control with that entity. For the purposes of this definition,
1699
+ "control" means (i) the power, direct or indirect, to cause the
1700
+ direction or management of such entity, whether by contract or
1701
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1702
+ outstanding shares, or (iii) beneficial ownership of such entity.
1703
+
1704
+ "You" (or "Your") shall mean an individual or Legal Entity
1705
+ exercising permissions granted by this License.
1706
+
1707
+ "Source" form shall mean the preferred form for making modifications,
1708
+ including but not limited to software source code, documentation
1709
+ source, and configuration files.
1710
+
1711
+ "Object" form shall mean any form resulting from mechanical
1712
+ transformation or translation of a Source form, including but
1713
+ not limited to compiled object code, generated documentation,
1714
+ and conversions to other media types.
1715
+
1716
+ "Work" shall mean the work of authorship, whether in Source or
1717
+ Object form, made available under the License, as indicated by a
1718
+ copyright notice that is included in or attached to the work
1719
+ (an example is provided in the Appendix below).
1720
+
1721
+ "Derivative Works" shall mean any work, whether in Source or Object
1722
+ form, that is based on (or derived from) the Work and for which the
1723
+ editorial revisions, annotations, elaborations, or other modifications
1724
+ represent, as a whole, an original work of authorship. For the purposes
1725
+ of this License, Derivative Works shall not include works that remain
1726
+ separable from, or merely link (or bind by name) to the interfaces of,
1727
+ the Work and Derivative Works thereof.
1728
+
1729
+ "Contribution" shall mean any work of authorship, including
1730
+ the original version of the Work and any modifications or additions
1731
+ to that Work or Derivative Works thereof, that is intentionally
1732
+ submitted to Licensor for inclusion in the Work by the copyright owner
1733
+ or by an individual or Legal Entity authorized to submit on behalf of
1734
+ the copyright owner. For the purposes of this definition, "submitted"
1735
+ means any form of electronic, verbal, or written communication sent
1736
+ to the Licensor or its representatives, including but not limited to
1737
+ communication on electronic mailing lists, source code control systems,
1738
+ and issue tracking systems that are managed by, or on behalf of, the
1739
+ Licensor for the purpose of discussing and improving the Work, but
1740
+ excluding communication that is conspicuously marked or otherwise
1741
+ designated in writing by the copyright owner as "Not a Contribution."
1742
+
1743
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1744
+ on behalf of whom a Contribution has been received by Licensor and
1745
+ subsequently incorporated within the Work.
1746
+
1747
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1748
+ this License, each Contributor hereby grants to You a perpetual,
1749
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1750
+ copyright license to reproduce, prepare Derivative Works of,
1751
+ publicly display, publicly perform, sublicense, and distribute the
1752
+ Work and such Derivative Works in Source or Object form.
1753
+
1754
+ 3. Grant of Patent License. Subject to the terms and conditions of
1755
+ this License, each Contributor hereby grants to You a perpetual,
1756
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1757
+ (except as stated in this section) patent license to make, have made,
1758
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1759
+ where such license applies only to those patent claims licensable
1760
+ by such Contributor that are necessarily infringed by their
1761
+ Contribution(s) alone or by combination of their Contribution(s)
1762
+ with the Work to which such Contribution(s) was submitted. If You
1763
+ institute patent litigation against any entity (including a
1764
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1765
+ or a Contribution incorporated within the Work constitutes direct
1766
+ or contributory patent infringement, then any patent licenses
1767
+ granted to You under this License for that Work shall terminate
1768
+ as of the date such litigation is filed.
1769
+
1770
+ 4. Redistribution. You may reproduce and distribute copies of the
1771
+ Work or Derivative Works thereof in any medium, with or without
1772
+ modifications, and in Source or Object form, provided that You
1773
+ meet the following conditions:
1774
+
1775
+ (a) You must give any other recipients of the Work or
1776
+ Derivative Works a copy of this License; and
1777
+
1778
+ (b) You must cause any modified files to carry prominent notices
1779
+ stating that You changed the files; and
1780
+
1781
+ (c) You must retain, in the Source form of any Derivative Works
1782
+ that You distribute, all copyright, patent, trademark, and
1783
+ attribution notices from the Source form of the Work,
1784
+ excluding those notices that do not pertain to any part of
1785
+ the Derivative Works; and
1786
+
1787
+ (d) If the Work includes a "NOTICE" text file as part of its
1788
+ distribution, then any Derivative Works that You distribute must
1789
+ include a readable copy of the attribution notices contained
1790
+ within such NOTICE file, excluding those notices that do not
1791
+ pertain to any part of the Derivative Works, in at least one
1792
+ of the following places: within a NOTICE text file distributed
1793
+ as part of the Derivative Works; within the Source form or
1794
+ documentation, if provided along with the Derivative Works; or,
1795
+ within a display generated by the Derivative Works, if and
1796
+ wherever such third-party notices normally appear. The contents
1797
+ of the NOTICE file are for informational purposes only and
1798
+ do not modify the License. You may add Your own attribution
1799
+ notices within Derivative Works that You distribute, alongside
1800
+ or as an addendum to the NOTICE text from the Work, provided
1801
+ that such additional attribution notices cannot be construed
1802
+ as modifying the License.
1803
+
1804
+ You may add Your own copyright statement to Your modifications and
1805
+ may provide additional or different license terms and conditions
1806
+ for use, reproduction, or distribution of Your modifications, or
1807
+ for any such Derivative Works as a whole, provided Your use,
1808
+ reproduction, and distribution of the Work otherwise complies with
1809
+ the conditions stated in this License.
1810
+
1811
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1812
+ any Contribution intentionally submitted for inclusion in the Work
1813
+ by You to the Licensor shall be under the terms and conditions of
1814
+ this License, without any additional terms or conditions.
1815
+ Notwithstanding the above, nothing herein shall supersede or modify
1816
+ the terms of any separate license agreement you may have executed
1817
+ with Licensor regarding such Contributions.
1818
+
1819
+ 6. Trademarks. This License does not grant permission to use the trade
1820
+ names, trademarks, service marks, or product names of the Licensor,
1821
+ except as required for reasonable and customary use in describing the
1822
+ origin of the Work and reproducing the content of the NOTICE file.
1823
+
1824
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1825
+ agreed to in writing, Licensor provides the Work (and each
1826
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1827
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1828
+ implied, including, without limitation, any warranties or conditions
1829
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1830
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1831
+ appropriateness of using or redistributing the Work and assume any
1832
+ risks associated with Your exercise of permissions under this License.
1833
+
1834
+ 8. Limitation of Liability. In no event and under no legal theory,
1835
+ whether in tort (including negligence), contract, or otherwise,
1836
+ unless required by applicable law (such as deliberate and grossly
1837
+ negligent acts) or agreed to in writing, shall any Contributor be
1838
+ liable to You for damages, including any direct, indirect, special,
1839
+ incidental, or consequential damages of any character arising as a
1840
+ result of this License or out of the use or inability to use the
1841
+ Work (including but not limited to damages for loss of goodwill,
1842
+ work stoppage, computer failure or malfunction, or any and all
1843
+ other commercial damages or losses), even if such Contributor
1844
+ has been advised of the possibility of such damages.
1845
+
1846
+ 9. Accepting Warranty or Additional Liability. While redistributing
1847
+ the Work or Derivative Works thereof, You may choose to offer,
1848
+ and charge a fee for, acceptance of support, warranty, indemnity,
1849
+ or other liability obligations and/or rights consistent with this
1850
+ License. However, in accepting such obligations, You may act only
1851
+ on Your own behalf and on Your sole responsibility, not on behalf
1852
+ of any other Contributor, and only if You agree to indemnify,
1853
+ defend, and hold each Contributor harmless for any liability
1854
+ incurred by, or claims asserted against, such Contributor by reason
1855
+ of your accepting any such warranty or additional liability.
1856
+
1857
+ END OF TERMS AND CONDITIONS
1858
+
1859
+ APPENDIX: How to apply the Apache License to your work.
1860
+
1861
+ To apply the Apache License to your work, attach the following
1862
+ boilerplate notice, with the fields enclosed by brackets "{}"
1863
+ replaced with your own identifying information. (Don't include
1864
+ the brackets!) The text should be enclosed in the appropriate
1865
+ comment syntax for the file format. We also recommend that a
1866
+ file or class name and description of purpose be included on the
1867
+ same "printed page" as the copyright notice for easier
1868
+ identification within third-party archives.
1869
+
1870
+ Copyright 2017 by Contributors
1871
+
1872
+ Licensed under the Apache License, Version 2.0 (the "License");
1873
+ you may not use this file except in compliance with the License.
1874
+ You may obtain a copy of the License at
1875
+
1876
+ http://www.apache.org/licenses/LICENSE-2.0
1877
+
1878
+ Unless required by applicable law or agreed to in writing, software
1879
+ distributed under the License is distributed on an "AS IS" BASIS,
1880
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1881
+ See the License for the specific language governing permissions and
1882
+ limitations under the License.
1883
+
1884
+ ____
1885
+
1886
+ HowardHinnant/date
1887
+
1888
+ The source code in this project is released using the MIT License. There is no
1889
+ global license for the project because each file is licensed individually with
1890
+ different author names and/or dates.
1891
+
1892
+ If you contribute to this project, please add your name to the license of each
1893
+ file you modify. If you have already contributed to this project and forgot to
1894
+ add your name to the license, please feel free to submit a new P/R to add your
1895
+ name to the license in each file you modified.
1896
+
1897
+ For convenience, here is a copy of the MIT license found in each file except
1898
+ without author names or dates:
1899
+
1900
+ The MIT License (MIT)
1901
+
1902
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1903
+ of this software and associated documentation files (the "Software"), to deal
1904
+ in the Software without restriction, including without limitation the rights
1905
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1906
+ copies of the Software, and to permit persons to whom the Software is
1907
+ furnished to do so, subject to the following conditions:
1908
+
1909
+ The above copyright notice and this permission notice shall be included in all
1910
+ copies or substantial portions of the Software.
1911
+
1912
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1913
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1914
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1915
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1916
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1917
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1918
+ SOFTWARE.
1919
+
1920
+ ____
1921
+
1922
+ TVM Open Deep Learning Compiler Stack
1923
+
1924
+ Apache License
1925
+ Version 2.0, January 2004
1926
+ http://www.apache.org/licenses/
1927
+
1928
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1929
+
1930
+ 1. Definitions.
1931
+
1932
+ "License" shall mean the terms and conditions for use, reproduction,
1933
+ and distribution as defined by Sections 1 through 9 of this document.
1934
+
1935
+ "Licensor" shall mean the copyright owner or entity authorized by
1936
+ the copyright owner that is granting the License.
1937
+
1938
+ "Legal Entity" shall mean the union of the acting entity and all
1939
+ other entities that control, are controlled by, or are under common
1940
+ control with that entity. For the purposes of this definition,
1941
+ "control" means (i) the power, direct or indirect, to cause the
1942
+ direction or management of such entity, whether by contract or
1943
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1944
+ outstanding shares, or (iii) beneficial ownership of such entity.
1945
+
1946
+ "You" (or "Your") shall mean an individual or Legal Entity
1947
+ exercising permissions granted by this License.
1948
+
1949
+ "Source" form shall mean the preferred form for making modifications,
1950
+ including but not limited to software source code, documentation
1951
+ source, and configuration files.
1952
+
1953
+ "Object" form shall mean any form resulting from mechanical
1954
+ transformation or translation of a Source form, including but
1955
+ not limited to compiled object code, generated documentation,
1956
+ and conversions to other media types.
1957
+
1958
+ "Work" shall mean the work of authorship, whether in Source or
1959
+ Object form, made available under the License, as indicated by a
1960
+ copyright notice that is included in or attached to the work
1961
+ (an example is provided in the Appendix below).
1962
+
1963
+ "Derivative Works" shall mean any work, whether in Source or Object
1964
+ form, that is based on (or derived from) the Work and for which the
1965
+ editorial revisions, annotations, elaborations, or other modifications
1966
+ represent, as a whole, an original work of authorship. For the purposes
1967
+ of this License, Derivative Works shall not include works that remain
1968
+ separable from, or merely link (or bind by name) to the interfaces of,
1969
+ the Work and Derivative Works thereof.
1970
+
1971
+ "Contribution" shall mean any work of authorship, including
1972
+ the original version of the Work and any modifications or additions
1973
+ to that Work or Derivative Works thereof, that is intentionally
1974
+ submitted to Licensor for inclusion in the Work by the copyright owner
1975
+ or by an individual or Legal Entity authorized to submit on behalf of
1976
+ the copyright owner. For the purposes of this definition, "submitted"
1977
+ means any form of electronic, verbal, or written communication sent
1978
+ to the Licensor or its representatives, including but not limited to
1979
+ communication on electronic mailing lists, source code control systems,
1980
+ and issue tracking systems that are managed by, or on behalf of, the
1981
+ Licensor for the purpose of discussing and improving the Work, but
1982
+ excluding communication that is conspicuously marked or otherwise
1983
+ designated in writing by the copyright owner as "Not a Contribution."
1984
+
1985
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1986
+ on behalf of whom a Contribution has been received by Licensor and
1987
+ subsequently incorporated within the Work.
1988
+
1989
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1990
+ this License, each Contributor hereby grants to You a perpetual,
1991
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1992
+ copyright license to reproduce, prepare Derivative Works of,
1993
+ publicly display, publicly perform, sublicense, and distribute the
1994
+ Work and such Derivative Works in Source or Object form.
1995
+
1996
+ 3. Grant of Patent License. Subject to the terms and conditions of
1997
+ this License, each Contributor hereby grants to You a perpetual,
1998
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1999
+ (except as stated in this section) patent license to make, have made,
2000
+ use, offer to sell, sell, import, and otherwise transfer the Work,
2001
+ where such license applies only to those patent claims licensable
2002
+ by such Contributor that are necessarily infringed by their
2003
+ Contribution(s) alone or by combination of their Contribution(s)
2004
+ with the Work to which such Contribution(s) was submitted. If You
2005
+ institute patent litigation against any entity (including a
2006
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
2007
+ or a Contribution incorporated within the Work constitutes direct
2008
+ or contributory patent infringement, then any patent licenses
2009
+ granted to You under this License for that Work shall terminate
2010
+ as of the date such litigation is filed.
2011
+
2012
+ 4. Redistribution. You may reproduce and distribute copies of the
2013
+ Work or Derivative Works thereof in any medium, with or without
2014
+ modifications, and in Source or Object form, provided that You
2015
+ meet the following conditions:
2016
+
2017
+ (a) You must give any other recipients of the Work or
2018
+ Derivative Works a copy of this License; and
2019
+
2020
+ (b) You must cause any modified files to carry prominent notices
2021
+ stating that You changed the files; and
2022
+
2023
+ (c) You must retain, in the Source form of any Derivative Works
2024
+ that You distribute, all copyright, patent, trademark, and
2025
+ attribution notices from the Source form of the Work,
2026
+ excluding those notices that do not pertain to any part of
2027
+ the Derivative Works; and
2028
+
2029
+ (d) If the Work includes a "NOTICE" text file as part of its
2030
+ distribution, then any Derivative Works that You distribute must
2031
+ include a readable copy of the attribution notices contained
2032
+ within such NOTICE file, excluding those notices that do not
2033
+ pertain to any part of the Derivative Works, in at least one
2034
+ of the following places: within a NOTICE text file distributed
2035
+ as part of the Derivative Works; within the Source form or
2036
+ documentation, if provided along with the Derivative Works; or,
2037
+ within a display generated by the Derivative Works, if and
2038
+ wherever such third-party notices normally appear. The contents
2039
+ of the NOTICE file are for informational purposes only and
2040
+ do not modify the License. You may add Your own attribution
2041
+ notices within Derivative Works that You distribute, alongside
2042
+ or as an addendum to the NOTICE text from the Work, provided
2043
+ that such additional attribution notices cannot be construed
2044
+ as modifying the License.
2045
+
2046
+ You may add Your own copyright statement to Your modifications and
2047
+ may provide additional or different license terms and conditions
2048
+ for use, reproduction, or distribution of Your modifications, or
2049
+ for any such Derivative Works as a whole, provided Your use,
2050
+ reproduction, and distribution of the Work otherwise complies with
2051
+ the conditions stated in this License.
2052
+
2053
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
2054
+ any Contribution intentionally submitted for inclusion in the Work
2055
+ by You to the Licensor shall be under the terms and conditions of
2056
+ this License, without any additional terms or conditions.
2057
+ Notwithstanding the above, nothing herein shall supersede or modify
2058
+ the terms of any separate license agreement you may have executed
2059
+ with Licensor regarding such Contributions.
2060
+
2061
+ 6. Trademarks. This License does not grant permission to use the trade
2062
+ names, trademarks, service marks, or product names of the Licensor,
2063
+ except as required for reasonable and customary use in describing the
2064
+ origin of the Work and reproducing the content of the NOTICE file.
2065
+
2066
+ 7. Disclaimer of Warranty. Unless required by applicable law or
2067
+ agreed to in writing, Licensor provides the Work (and each
2068
+ Contributor provides its Contributions) on an "AS IS" BASIS,
2069
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2070
+ implied, including, without limitation, any warranties or conditions
2071
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2072
+ PARTICULAR PURPOSE. You are solely responsible for determining the
2073
+ appropriateness of using or redistributing the Work and assume any
2074
+ risks associated with Your exercise of permissions under this License.
2075
+
2076
+ 8. Limitation of Liability. In no event and under no legal theory,
2077
+ whether in tort (including negligence), contract, or otherwise,
2078
+ unless required by applicable law (such as deliberate and grossly
2079
+ negligent acts) or agreed to in writing, shall any Contributor be
2080
+ liable to You for damages, including any direct, indirect, special,
2081
+ incidental, or consequential damages of any character arising as a
2082
+ result of this License or out of the use or inability to use the
2083
+ Work (including but not limited to damages for loss of goodwill,
2084
+ work stoppage, computer failure or malfunction, or any and all
2085
+ other commercial damages or losses), even if such Contributor
2086
+ has been advised of the possibility of such damages.
2087
+
2088
+ 9. Accepting Warranty or Additional Liability. While redistributing
2089
+ the Work or Derivative Works thereof, You may choose to offer,
2090
+ and charge a fee for, acceptance of support, warranty, indemnity,
2091
+ or other liability obligations and/or rights consistent with this
2092
+ License. However, in accepting such obligations, You may act only
2093
+ on Your own behalf and on Your sole responsibility, not on behalf
2094
+ of any other Contributor, and only if You agree to indemnify,
2095
+ defend, and hold each Contributor harmless for any liability
2096
+ incurred by, or claims asserted against, such Contributor by reason
2097
+ of your accepting any such warranty or additional liability.
2098
+
2099
+ END OF TERMS AND CONDITIONS
2100
+
2101
+ APPENDIX: How to apply the Apache License to your work.
2102
+
2103
+ To apply the Apache License to your work, attach the following
2104
+ boilerplate notice, with the fields enclosed by brackets "{}"
2105
+ replaced with your own identifying information. (Don't include
2106
+ the brackets!) The text should be enclosed in the appropriate
2107
+ comment syntax for the file format. We also recommend that a
2108
+ file or class name and description of purpose be included on the
2109
+ same "printed page" as the copyright notice for easier
2110
+ identification within third-party archives.
2111
+
2112
+ Copyright {yyyy} {name of copyright owner}
2113
+
2114
+ Licensed under the Apache License, Version 2.0 (the "License");
2115
+ you may not use this file except in compliance with the License.
2116
+ You may obtain a copy of the License at
2117
+
2118
+ http://www.apache.org/licenses/LICENSE-2.0
2119
+
2120
+ Unless required by applicable law or agreed to in writing, software
2121
+ distributed under the License is distributed on an "AS IS" BASIS,
2122
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2123
+ See the License for the specific language governing permissions and
2124
+ limitations under the License.
2125
+
2126
+ CONTRIBUTORS
2127
+
2128
+ TVM Contributors
2129
+ ================
2130
+ TVM adopts the Apache style model and governs by merit. We believe that it is important to create an inclusive community where everyone can use,
2131
+ contribute to, and influence the direction of the project. We actively invite contributors who have earned the merit to be part of the development community.
2132
+
2133
+ See the [community structure document](http://docs.tvm.ai/contribute/community.html) for the explanation of community structure and contribution guidelines.
2134
+
2135
+ ## Committers
2136
+ - [Tianqi Chen](https://github.com/tqchen) (PMC)
2137
+ - [Thierry Moreau](http://homes.cs.washington.edu/~moreau/)
2138
+ - [Ziheng Jiang](https://github.com/ZihengJiang)
2139
+ - [Haichen Shen](http://homes.cs.washington.edu/~haichen/)
2140
+ - [Yizhi Liu](https://github.com/yzhliu)
2141
+
2142
+ ## Code Owners
2143
+ - [Aditya Atluri](https://github.com/adityaatluri) ROCM
2144
+ - [Leyuan Wang](https://github.com/Laurawly) TOPI
2145
+ - [Yuwei Hu](https://github.com/Huyuwei) TOPI
2146
+ - [Zhixun Tan](https://github.com/phisiart) OpenGL/WebGL backend
2147
+ - [Nick Hynes](https://github.com/nhynes) SGX and secured computing
2148
+ - [Lianmin Zheng](https://github.com/merrymercy) AutoTVM
2149
+
2150
+ ## Reviewers
2151
+ - [Zhi Chen](https://github.com/zhiics)
2152
+ - [Xiaoqiang Dan](https://github.com/xqdan)
2153
+ - [Liangfu Chen](https://github.com/liangfu)
2154
+ - [Masahiro Masuda](https://github.com/masahi)
2155
+ - [Kazutaka Morita](https://github.com/kazum)
2156
+ - [Tatsuya Nishiyama](https://github.com/nishi-t)
2157
+ - [Pariksheet Pinjari](https://github.com/PariksheetPinjari909)
2158
+ - [Jared Roesch](https://github.com/jroesch)
2159
+ - [Siva](https://github.com/srkreddy1238)
2160
+ - [Siju Samuel](https://github.com/siju-samuel)
2161
+ - [Alex Weaver](https://github.com/alex-weaver)
2162
+ - [Yao Wang](https://github.com/kevinthesun)
2163
+ - [Jian Weng](https://github.com/were)
2164
+ - [Eddie Yan](https://github.com/eqy)
2165
+ - [Joshua Z. Zhang](https://github.com/zhreshold)
2166
+
2167
+ ## List of Contributors
2168
+ - [Full List of Contributors](https://github.com/dmlc/tvm/graphs/contributors)
2169
+ - To contributors: please add your name to the list.
2170
+ - [Qiao Zhang](https://github.com/zhangqiaorjc)
2171
+ - [Haolong Zhang](https://github.com/haolongzhangm)
2172
+ - [Cody Hao Yu](https://github.com/comaniac)
2173
+ - [Chris Nuernberger](https://github.com/cnuernber)
2174
+
2175
+ _____
2176
+
2177
+ jemalloc
2178
+
2179
+ Unless otherwise specified, files in the jemalloc source distribution are
2180
+ subject to the following license:
2181
+ --------------------------------------------------------------------------------
2182
+ Copyright (C) 2002-2018 Jason Evans <jasone@canonware.com>.
2183
+ All rights reserved.
2184
+ Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
2185
+ Copyright (C) 2009-2018 Facebook, Inc. All rights reserved.
2186
+
2187
+ Redistribution and use in source and binary forms, with or without
2188
+ modification, are permitted provided that the following conditions are met:
2189
+ 1. Redistributions of source code must retain the above copyright notice(s),
2190
+ this list of conditions and the following disclaimer.
2191
+ 2. Redistributions in binary form must reproduce the above copyright notice(s),
2192
+ this list of conditions and the following disclaimer in the documentation
2193
+ and/or other materials provided with the distribution.
2194
+
2195
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
2196
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2197
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
2198
+ EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
2199
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2200
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2201
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2202
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
2203
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2204
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2205
+ --------------------------------------------------------------------------------
2206
+
2207
+ ____
2208
+
2209
+ FreeBSD: getopt.c file
2210
+
2211
+ Copyright (c) 1987, 1993, 1994
2212
+ The Regents of the University of California. All rights reserved.
2213
+
2214
+ Redistribution and use in source and binary forms, with or without
2215
+ modification, are permitted provided that the following conditions
2216
+ are met:
2217
+
2218
+ 1. Redistributions of source code must retain the above copyright
2219
+ notice, this list of conditions and the following disclaimer.
2220
+
2221
+ 2. Redistributions in binary form must reproduce the above copyright
2222
+ notice, this list of conditions and the following disclaimer in the
2223
+ documentation and/or other materials provided with the distribution.
2224
+
2225
+ 3. Neither the name of the University nor the names of its contributors
2226
+ may be used to endorse or promote products derived from this software
2227
+ without specific prior written permission.
2228
+
2229
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2230
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2231
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2232
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2233
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2234
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2235
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2236
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2237
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2238
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2239
+ SUCH DAMAGE.
2240
+ _____
2241
+
2242
+
2243
+ google/googletest
2244
+
2245
+ Copyright 2008, Google Inc.
2246
+ All rights reserved.
2247
+
2248
+ Redistribution and use in source and binary forms, with or without
2249
+ modification, are permitted provided that the following conditions are
2250
+ met:
2251
+
2252
+ * Redistributions of source code must retain the above copyright
2253
+ notice, this list of conditions and the following disclaimer.
2254
+ * Redistributions in binary form must reproduce the above
2255
+ copyright notice, this list of conditions and the following disclaimer
2256
+ in the documentation and/or other materials provided with the
2257
+ distribution.
2258
+ * Neither the name of Google Inc. nor the names of its
2259
+ contributors may be used to endorse or promote products derived from
2260
+ this software without specific prior written permission.
2261
+
2262
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2263
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2264
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2265
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2266
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2267
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2268
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2269
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2270
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2271
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2272
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2273
+
2274
+ _____
2275
+
2276
+ G3log : Asynchronous logger with Dynamic Sinks
2277
+
2278
+ This is free and unencumbered software released into the public domain.
2279
+
2280
+ Anyone is free to copy, modify, publish, use, compile, sell, or
2281
+ distribute this software, either in source code form or as a compiled
2282
+ binary, for any purpose, commercial or non-commercial, and by any
2283
+ means.
2284
+
2285
+ In jurisdictions that recognize copyright laws, the author or authors
2286
+ of this software dedicate any and all copyright interest in the
2287
+ software to the public domain. We make this dedication for the benefit
2288
+ of the public at large and to the detriment of our heirs and
2289
+ successors. We intend this dedication to be an overt act of
2290
+ relinquishment in perpetuity of all present and future rights to this
2291
+ software under copyright law.
2292
+
2293
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2294
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2295
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
2296
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
2297
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2298
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2299
+ OTHER DEALINGS IN THE SOFTWARE.
2300
+
2301
+ For more information, please refer to <http://unlicense.org/>
2302
+ _____
2303
+
2304
+ Scikit-learn
2305
+
2306
+ Copyright (c) 2007–2018 The scikit-learn developers.
2307
+ All rights reserved.
2308
+
2309
+
2310
+ Redistribution and use in source and binary forms, with or without
2311
+ modification, are permitted provided that the following conditions are met:
2312
+
2313
+ a. Redistributions of source code must retain the above copyright notice,
2314
+ this list of conditions and the following disclaimer.
2315
+ b. Redistributions in binary form must reproduce the above copyright
2316
+ notice, this list of conditions and the following disclaimer in the
2317
+ documentation and/or other materials provided with the distribution.
2318
+ c. Neither the name of the Scikit-learn Developers nor the names of
2319
+ its contributors may be used to endorse or promote products
2320
+ derived from this software without specific prior written
2321
+ permission.
2322
+
2323
+
2324
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2325
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2326
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2327
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
2328
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2329
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2330
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2331
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2332
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2333
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
2334
+ DAMAGE.
2335
+
2336
+ _____
2337
+
2338
+ google/gemmlowp
2339
+
2340
+ Copyright 2016 The Gemmlowp Authors. All rights reserved.
2341
+
2342
+ Authors
2343
+ Google Inc.
2344
+ Intel Corporation
2345
+ ARM Ltd.
2346
+ Silk Labs Inc.
2347
+ MIPS Tech LLC
2348
+ Wave Computing Inc.
2349
+
2350
+ Apache License
2351
+ Version 2.0, January 2004
2352
+ http://www.apache.org/licenses/
2353
+
2354
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2355
+
2356
+ 1. Definitions.
2357
+
2358
+ "License" shall mean the terms and conditions for use, reproduction,
2359
+ and distribution as defined by Sections 1 through 9 of this document.
2360
+
2361
+ "Licensor" shall mean the copyright owner or entity authorized by
2362
+ the copyright owner that is granting the License.
2363
+
2364
+ "Legal Entity" shall mean the union of the acting entity and all
2365
+ other entities that control, are controlled by, or are under common
2366
+ control with that entity. For the purposes of this definition,
2367
+ "control" means (i) the power, direct or indirect, to cause the
2368
+ direction or management of such entity, whether by contract or
2369
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
2370
+ outstanding shares, or (iii) beneficial ownership of such entity.
2371
+
2372
+ "You" (or "Your") shall mean an individual or Legal Entity
2373
+ exercising permissions granted by this License.
2374
+
2375
+ "Source" form shall mean the preferred form for making modifications,
2376
+ including but not limited to software source code, documentation
2377
+ source, and configuration files.
2378
+
2379
+ "Object" form shall mean any form resulting from mechanical
2380
+ transformation or translation of a Source form, including but
2381
+ not limited to compiled object code, generated documentation,
2382
+ and conversions to other media types.
2383
+
2384
+ "Work" shall mean the work of authorship, whether in Source or
2385
+ Object form, made available under the License, as indicated by a
2386
+ copyright notice that is included in or attached to the work
2387
+ (an example is provided in the Appendix below).
2388
+
2389
+ "Derivative Works" shall mean any work, whether in Source or Object
2390
+ form, that is based on (or derived from) the Work and for which the
2391
+ editorial revisions, annotations, elaborations, or other modifications
2392
+ represent, as a whole, an original work of authorship. For the purposes
2393
+ of this License, Derivative Works shall not include works that remain
2394
+ separable from, or merely link (or bind by name) to the interfaces of,
2395
+ the Work and Derivative Works thereof.
2396
+
2397
+ "Contribution" shall mean any work of authorship, including
2398
+ the original version of the Work and any modifications or additions
2399
+ to that Work or Derivative Works thereof, that is intentionally
2400
+ submitted to Licensor for inclusion in the Work by the copyright owner
2401
+ or by an individual or Legal Entity authorized to submit on behalf of
2402
+ the copyright owner. For the purposes of this definition, "submitted"
2403
+ means any form of electronic, verbal, or written communication sent
2404
+ to the Licensor or its representatives, including but not limited to
2405
+ communication on electronic mailing lists, source code control systems,
2406
+ and issue tracking systems that are managed by, or on behalf of, the
2407
+ Licensor for the purpose of discussing and improving the Work, but
2408
+ excluding communication that is conspicuously marked or otherwise
2409
+ designated in writing by the copyright owner as "Not a Contribution."
2410
+
2411
+ "Contributor" shall mean Licensor and any individual or Legal Entity
2412
+ on behalf of whom a Contribution has been received by Licensor and
2413
+ subsequently incorporated within the Work.
2414
+
2415
+ 2. Grant of Copyright License. Subject to the terms and conditions of
2416
+ this License, each Contributor hereby grants to You a perpetual,
2417
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2418
+ copyright license to reproduce, prepare Derivative Works of,
2419
+ publicly display, publicly perform, sublicense, and distribute the
2420
+ Work and such Derivative Works in Source or Object form.
2421
+
2422
+ 3. Grant of Patent License. Subject to the terms and conditions of
2423
+ this License, each Contributor hereby grants to You a perpetual,
2424
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2425
+ (except as stated in this section) patent license to make, have made,
2426
+ use, offer to sell, sell, import, and otherwise transfer the Work,
2427
+ where such license applies only to those patent claims licensable
2428
+ by such Contributor that are necessarily infringed by their
2429
+ Contribution(s) alone or by combination of their Contribution(s)
2430
+ with the Work to which such Contribution(s) was submitted. If You
2431
+ institute patent litigation against any entity (including a
2432
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
2433
+ or a Contribution incorporated within the Work constitutes direct
2434
+ or contributory patent infringement, then any patent licenses
2435
+ granted to You under this License for that Work shall terminate
2436
+ as of the date such litigation is filed.
2437
+
2438
+ 4. Redistribution. You may reproduce and distribute copies of the
2439
+ Work or Derivative Works thereof in any medium, with or without
2440
+ modifications, and in Source or Object form, provided that You
2441
+ meet the following conditions:
2442
+
2443
+ (a) You must give any other recipients of the Work or
2444
+ Derivative Works a copy of this License; and
2445
+
2446
+ (b) You must cause any modified files to carry prominent notices
2447
+ stating that You changed the files; and
2448
+
2449
+ (c) You must retain, in the Source form of any Derivative Works
2450
+ that You distribute, all copyright, patent, trademark, and
2451
+ attribution notices from the Source form of the Work,
2452
+ excluding those notices that do not pertain to any part of
2453
+ the Derivative Works; and
2454
+
2455
+ (d) If the Work includes a "NOTICE" text file as part of its
2456
+ distribution, then any Derivative Works that You distribute must
2457
+ include a readable copy of the attribution notices contained
2458
+ within such NOTICE file, excluding those notices that do not
2459
+ pertain to any part of the Derivative Works, in at least one
2460
+ of the following places: within a NOTICE text file distributed
2461
+ as part of the Derivative Works; within the Source form or
2462
+ documentation, if provided along with the Derivative Works; or,
2463
+ within a display generated by the Derivative Works, if and
2464
+ wherever such third-party notices normally appear. The contents
2465
+ of the NOTICE file are for informational purposes only and
2466
+ do not modify the License. You may add Your own attribution
2467
+ notices within Derivative Works that You distribute, alongside
2468
+ or as an addendum to the NOTICE text from the Work, provided
2469
+ that such additional attribution notices cannot be construed
2470
+ as modifying the License.
2471
+
2472
+ You may add Your own copyright statement to Your modifications and
2473
+ may provide additional or different license terms and conditions
2474
+ for use, reproduction, or distribution of Your modifications, or
2475
+ for any such Derivative Works as a whole, provided Your use,
2476
+ reproduction, and distribution of the Work otherwise complies with
2477
+ the conditions stated in this License.
2478
+
2479
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
2480
+ any Contribution intentionally submitted for inclusion in the Work
2481
+ by You to the Licensor shall be under the terms and conditions of
2482
+ this License, without any additional terms or conditions.
2483
+ Notwithstanding the above, nothing herein shall supersede or modify
2484
+ the terms of any separate license agreement you may have executed
2485
+ with Licensor regarding such Contributions.
2486
+
2487
+ 6. Trademarks. This License does not grant permission to use the trade
2488
+ names, trademarks, service marks, or product names of the Licensor,
2489
+ except as required for reasonable and customary use in describing the
2490
+ origin of the Work and reproducing the content of the NOTICE file.
2491
+
2492
+ 7. Disclaimer of Warranty. Unless required by applicable law or
2493
+ agreed to in writing, Licensor provides the Work (and each
2494
+ Contributor provides its Contributions) on an "AS IS" BASIS,
2495
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2496
+ implied, including, without limitation, any warranties or conditions
2497
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2498
+ PARTICULAR PURPOSE. You are solely responsible for determining the
2499
+ appropriateness of using or redistributing the Work and assume any
2500
+ risks associated with Your exercise of permissions under this License.
2501
+
2502
+ 8. Limitation of Liability. In no event and under no legal theory,
2503
+ whether in tort (including negligence), contract, or otherwise,
2504
+ unless required by applicable law (such as deliberate and grossly
2505
+ negligent acts) or agreed to in writing, shall any Contributor be
2506
+ liable to You for damages, including any direct, indirect, special,
2507
+ incidental, or consequential damages of any character arising as a
2508
+ result of this License or out of the use or inability to use the
2509
+ Work (including but not limited to damages for loss of goodwill,
2510
+ work stoppage, computer failure or malfunction, or any and all
2511
+ other commercial damages or losses), even if such Contributor
2512
+ has been advised of the possibility of such damages.
2513
+
2514
+ 9. Accepting Warranty or Additional Liability. While redistributing
2515
+ the Work or Derivative Works thereof, You may choose to offer,
2516
+ and charge a fee for, acceptance of support, warranty, indemnity,
2517
+ or other liability obligations and/or rights consistent with this
2518
+ License. However, in accepting such obligations, You may act only
2519
+ on Your own behalf and on Your sole responsibility, not on behalf
2520
+ of any other Contributor, and only if You agree to indemnify,
2521
+ defend, and hold each Contributor harmless for any liability
2522
+ incurred by, or claims asserted against, such Contributor by reason
2523
+ of your accepting any such warranty or additional liability.
2524
+
2525
+ END OF TERMS AND CONDITIONS
2526
+
2527
+ APPENDIX: How to apply the Apache License to your work.
2528
+
2529
+ To apply the Apache License to your work, attach the following
2530
+ boilerplate notice, with the fields enclosed by brackets "[]"
2531
+ replaced with your own identifying information. (Don't include
2532
+ the brackets!) The text should be enclosed in the appropriate
2533
+ comment syntax for the file format. We also recommend that a
2534
+ file or class name and description of purpose be included on the
2535
+ same "printed page" as the copyright notice for easier
2536
+ identification within third-party archives.
2537
+
2538
+ Copyright [yyyy] [name of copyright owner]
2539
+
2540
+ Licensed under the Apache License, Version 2.0 (the "License");
2541
+ you may not use this file except in compliance with the License.
2542
+ You may obtain a copy of the License at
2543
+
2544
+ http://www.apache.org/licenses/LICENSE-2.0
2545
+
2546
+ Unless required by applicable law or agreed to in writing, software
2547
+ distributed under the License is distributed on an "AS IS" BASIS,
2548
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2549
+ See the License for the specific language governing permissions and
2550
+ limitations under the License.
2551
+
2552
+ _____
2553
+
2554
+ google/nsync
2555
+
2556
+ Apache License
2557
+ Version 2.0, January 2004
2558
+ http://www.apache.org/licenses/
2559
+
2560
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2561
+
2562
+ 1. Definitions.
2563
+
2564
+ "License" shall mean the terms and conditions for use, reproduction,
2565
+ and distribution as defined by Sections 1 through 9 of this document.
2566
+
2567
+ "Licensor" shall mean the copyright owner or entity authorized by
2568
+ the copyright owner that is granting the License.
2569
+
2570
+ "Legal Entity" shall mean the union of the acting entity and all
2571
+ other entities that control, are controlled by, or are under common
2572
+ control with that entity. For the purposes of this definition,
2573
+ "control" means (i) the power, direct or indirect, to cause the
2574
+ direction or management of such entity, whether by contract or
2575
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
2576
+ outstanding shares, or (iii) beneficial ownership of such entity.
2577
+
2578
+ "You" (or "Your") shall mean an individual or Legal Entity
2579
+ exercising permissions granted by this License.
2580
+
2581
+ "Source" form shall mean the preferred form for making modifications,
2582
+ including but not limited to software source code, documentation
2583
+ source, and configuration files.
2584
+
2585
+ "Object" form shall mean any form resulting from mechanical
2586
+ transformation or translation of a Source form, including but
2587
+ not limited to compiled object code, generated documentation,
2588
+ and conversions to other media types.
2589
+
2590
+ "Work" shall mean the work of authorship, whether in Source or
2591
+ Object form, made available under the License, as indicated by a
2592
+ copyright notice that is included in or attached to the work
2593
+ (an example is provided in the Appendix below).
2594
+
2595
+ "Derivative Works" shall mean any work, whether in Source or Object
2596
+ form, that is based on (or derived from) the Work and for which the
2597
+ editorial revisions, annotations, elaborations, or other modifications
2598
+ represent, as a whole, an original work of authorship. For the purposes
2599
+ of this License, Derivative Works shall not include works that remain
2600
+ separable from, or merely link (or bind by name) to the interfaces of,
2601
+ the Work and Derivative Works thereof.
2602
+
2603
+ "Contribution" shall mean any work of authorship, including
2604
+ the original version of the Work and any modifications or additions
2605
+ to that Work or Derivative Works thereof, that is intentionally
2606
+ submitted to Licensor for inclusion in the Work by the copyright owner
2607
+ or by an individual or Legal Entity authorized to submit on behalf of
2608
+ the copyright owner. For the purposes of this definition, "submitted"
2609
+ means any form of electronic, verbal, or written communication sent
2610
+ to the Licensor or its representatives, including but not limited to
2611
+ communication on electronic mailing lists, source code control systems,
2612
+ and issue tracking systems that are managed by, or on behalf of, the
2613
+ Licensor for the purpose of discussing and improving the Work, but
2614
+ excluding communication that is conspicuously marked or otherwise
2615
+ designated in writing by the copyright owner as "Not a Contribution."
2616
+
2617
+ "Contributor" shall mean Licensor and any individual or Legal Entity
2618
+ on behalf of whom a Contribution has been received by Licensor and
2619
+ subsequently incorporated within the Work.
2620
+
2621
+ 2. Grant of Copyright License. Subject to the terms and conditions of
2622
+ this License, each Contributor hereby grants to You a perpetual,
2623
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2624
+ copyright license to reproduce, prepare Derivative Works of,
2625
+ publicly display, publicly perform, sublicense, and distribute the
2626
+ Work and such Derivative Works in Source or Object form.
2627
+
2628
+ 3. Grant of Patent License. Subject to the terms and conditions of
2629
+ this License, each Contributor hereby grants to You a perpetual,
2630
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2631
+ (except as stated in this section) patent license to make, have made,
2632
+ use, offer to sell, sell, import, and otherwise transfer the Work,
2633
+ where such license applies only to those patent claims licensable
2634
+ by such Contributor that are necessarily infringed by their
2635
+ Contribution(s) alone or by combination of their Contribution(s)
2636
+ with the Work to which such Contribution(s) was submitted. If You
2637
+ institute patent litigation against any entity (including a
2638
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
2639
+ or a Contribution incorporated within the Work constitutes direct
2640
+ or contributory patent infringement, then any patent licenses
2641
+ granted to You under this License for that Work shall terminate
2642
+ as of the date such litigation is filed.
2643
+
2644
+ 4. Redistribution. You may reproduce and distribute copies of the
2645
+ Work or Derivative Works thereof in any medium, with or without
2646
+ modifications, and in Source or Object form, provided that You
2647
+ meet the following conditions:
2648
+
2649
+ (a) You must give any other recipients of the Work or
2650
+ Derivative Works a copy of this License; and
2651
+
2652
+ (b) You must cause any modified files to carry prominent notices
2653
+ stating that You changed the files; and
2654
+
2655
+ (c) You must retain, in the Source form of any Derivative Works
2656
+ that You distribute, all copyright, patent, trademark, and
2657
+ attribution notices from the Source form of the Work,
2658
+ excluding those notices that do not pertain to any part of
2659
+ the Derivative Works; and
2660
+
2661
+ (d) If the Work includes a "NOTICE" text file as part of its
2662
+ distribution, then any Derivative Works that You distribute must
2663
+ include a readable copy of the attribution notices contained
2664
+ within such NOTICE file, excluding those notices that do not
2665
+ pertain to any part of the Derivative Works, in at least one
2666
+ of the following places: within a NOTICE text file distributed
2667
+ as part of the Derivative Works; within the Source form or
2668
+ documentation, if provided along with the Derivative Works; or,
2669
+ within a display generated by the Derivative Works, if and
2670
+ wherever such third-party notices normally appear. The contents
2671
+ of the NOTICE file are for informational purposes only and
2672
+ do not modify the License. You may add Your own attribution
2673
+ notices within Derivative Works that You distribute, alongside
2674
+ or as an addendum to the NOTICE text from the Work, provided
2675
+ that such additional attribution notices cannot be construed
2676
+ as modifying the License.
2677
+
2678
+ You may add Your own copyright statement to Your modifications and
2679
+ may provide additional or different license terms and conditions
2680
+ for use, reproduction, or distribution of Your modifications, or
2681
+ for any such Derivative Works as a whole, provided Your use,
2682
+ reproduction, and distribution of the Work otherwise complies with
2683
+ the conditions stated in this License.
2684
+
2685
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
2686
+ any Contribution intentionally submitted for inclusion in the Work
2687
+ by You to the Licensor shall be under the terms and conditions of
2688
+ this License, without any additional terms or conditions.
2689
+ Notwithstanding the above, nothing herein shall supersede or modify
2690
+ the terms of any separate license agreement you may have executed
2691
+ with Licensor regarding such Contributions.
2692
+
2693
+ 6. Trademarks. This License does not grant permission to use the trade
2694
+ names, trademarks, service marks, or product names of the Licensor,
2695
+ except as required for reasonable and customary use in describing the
2696
+ origin of the Work and reproducing the content of the NOTICE file.
2697
+
2698
+ 7. Disclaimer of Warranty. Unless required by applicable law or
2699
+ agreed to in writing, Licensor provides the Work (and each
2700
+ Contributor provides its Contributions) on an "AS IS" BASIS,
2701
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2702
+ implied, including, without limitation, any warranties or conditions
2703
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2704
+ PARTICULAR PURPOSE. You are solely responsible for determining the
2705
+ appropriateness of using or redistributing the Work and assume any
2706
+ risks associated with Your exercise of permissions under this License.
2707
+
2708
+ 8. Limitation of Liability. In no event and under no legal theory,
2709
+ whether in tort (including negligence), contract, or otherwise,
2710
+ unless required by applicable law (such as deliberate and grossly
2711
+ negligent acts) or agreed to in writing, shall any Contributor be
2712
+ liable to You for damages, including any direct, indirect, special,
2713
+ incidental, or consequential damages of any character arising as a
2714
+ result of this License or out of the use or inability to use the
2715
+ Work (including but not limited to damages for loss of goodwill,
2716
+ work stoppage, computer failure or malfunction, or any and all
2717
+ other commercial damages or losses), even if such Contributor
2718
+ has been advised of the possibility of such damages.
2719
+
2720
+ 9. Accepting Warranty or Additional Liability. While redistributing
2721
+ the Work or Derivative Works thereof, You may choose to offer,
2722
+ and charge a fee for, acceptance of support, warranty, indemnity,
2723
+ or other liability obligations and/or rights consistent with this
2724
+ License. However, in accepting such obligations, You may act only
2725
+ on Your own behalf and on Your sole responsibility, not on behalf
2726
+ of any other Contributor, and only if You agree to indemnify,
2727
+ defend, and hold each Contributor harmless for any liability
2728
+ incurred by, or claims asserted against, such Contributor by reason
2729
+ of your accepting any such warranty or additional liability.
2730
+
2731
+ END OF TERMS AND CONDITIONS
2732
+
2733
+ APPENDIX: How to apply the Apache License to your work.
2734
+
2735
+ To apply the Apache License to your work, attach the following
2736
+ boilerplate notice, with the fields enclosed by brackets "[]"
2737
+ replaced with your own identifying information. (Don't include
2738
+ the brackets!) The text should be enclosed in the appropriate
2739
+ comment syntax for the file format. We also recommend that a
2740
+ file or class name and description of purpose be included on the
2741
+ same "printed page" as the copyright notice for easier
2742
+ identification within third-party archives.
2743
+
2744
+ Copyright [yyyy] [name of copyright owner]
2745
+
2746
+ Licensed under the Apache License, Version 2.0 (the "License");
2747
+ you may not use this file except in compliance with the License.
2748
+ You may obtain a copy of the License at
2749
+
2750
+ http://www.apache.org/licenses/LICENSE-2.0
2751
+
2752
+ Unless required by applicable law or agreed to in writing, software
2753
+ distributed under the License is distributed on an "AS IS" BASIS,
2754
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2755
+ See the License for the specific language governing permissions and
2756
+ limitations under the License.
2757
+
2758
+ _____
2759
+
2760
+ google/re2
2761
+
2762
+ Copyright (c) 2009 The RE2 Authors. All rights reserved.
2763
+
2764
+ Redistribution and use in source and binary forms, with or without
2765
+ modification, are permitted provided that the following conditions are
2766
+ met:
2767
+
2768
+ * Redistributions of source code must retain the above copyright
2769
+ notice, this list of conditions and the following disclaimer.
2770
+ * Redistributions in binary form must reproduce the above
2771
+ copyright notice, this list of conditions and the following disclaimer
2772
+ in the documentation and/or other materials provided with the
2773
+ distribution.
2774
+ * Neither the name of Google Inc. nor the names of its
2775
+ contributors may be used to endorse or promote products derived from
2776
+ this software without specific prior written permission.
2777
+
2778
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2779
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2780
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2781
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2782
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2783
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2784
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2785
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2786
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2787
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2788
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2789
+ _____
2790
+ onnx/onnx-tensorrt
2791
+
2792
+ MIT License
2793
+
2794
+ Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
2795
+ Copyright (c) 2018 Open Neural Network Exchange
2796
+
2797
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2798
+ of this software and associated documentation files (the "Software"), to deal
2799
+ in the Software without restriction, including without limitation the rights
2800
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2801
+ copies of the Software, and to permit persons to whom the Software is
2802
+ furnished to do so, subject to the following conditions:
2803
+
2804
+ The above copyright notice and this permission notice shall be included in all
2805
+ copies or substantial portions of the Software.
2806
+
2807
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2808
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2809
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2810
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2811
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2812
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2813
+ SOFTWARE.
2814
+
2815
+ _____
2816
+
2817
+ NervanaSystems/ngraph
2818
+
2819
+ Copyright 2016-2019 Intel Corporation
2820
+
2821
+ Apache License
2822
+ Version 2.0, January 2004
2823
+ http://www.apache.org/licenses/
2824
+
2825
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2826
+
2827
+ 1. Definitions.
2828
+
2829
+ "License" shall mean the terms and conditions for use, reproduction,
2830
+ and distribution as defined by Sections 1 through 9 of this document.
2831
+
2832
+ "Licensor" shall mean the copyright owner or entity authorized by
2833
+ the copyright owner that is granting the License.
2834
+
2835
+ "Legal Entity" shall mean the union of the acting entity and all
2836
+ other entities that control, are controlled by, or are under common
2837
+ control with that entity. For the purposes of this definition,
2838
+ "control" means (i) the power, direct or indirect, to cause the
2839
+ direction or management of such entity, whether by contract or
2840
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
2841
+ outstanding shares, or (iii) beneficial ownership of such entity.
2842
+
2843
+ "You" (or "Your") shall mean an individual or Legal Entity
2844
+ exercising permissions granted by this License.
2845
+
2846
+ "Source" form shall mean the preferred form for making modifications,
2847
+ including but not limited to software source code, documentation
2848
+ source, and configuration files.
2849
+
2850
+ "Object" form shall mean any form resulting from mechanical
2851
+ transformation or translation of a Source form, including but
2852
+ not limited to compiled object code, generated documentation,
2853
+ and conversions to other media types.
2854
+
2855
+ "Work" shall mean the work of authorship, whether in Source or
2856
+ Object form, made available under the License, as indicated by a
2857
+ copyright notice that is included in or attached to the work
2858
+ (an example is provided in the Appendix below).
2859
+
2860
+ "Derivative Works" shall mean any work, whether in Source or Object
2861
+ form, that is based on (or derived from) the Work and for which the
2862
+ editorial revisions, annotations, elaborations, or other modifications
2863
+ represent, as a whole, an original work of authorship. For the purposes
2864
+ of this License, Derivative Works shall not include works that remain
2865
+ separable from, or merely link (or bind by name) to the interfaces of,
2866
+ the Work and Derivative Works thereof.
2867
+
2868
+ "Contribution" shall mean any work of authorship, including
2869
+ the original version of the Work and any modifications or additions
2870
+ to that Work or Derivative Works thereof, that is intentionally
2871
+ submitted to Licensor for inclusion in the Work by the copyright owner
2872
+ or by an individual or Legal Entity authorized to submit on behalf of
2873
+ the copyright owner. For the purposes of this definition, "submitted"
2874
+ means any form of electronic, verbal, or written communication sent
2875
+ to the Licensor or its representatives, including but not limited to
2876
+ communication on electronic mailing lists, source code control systems,
2877
+ and issue tracking systems that are managed by, or on behalf of, the
2878
+ Licensor for the purpose of discussing and improving the Work, but
2879
+ excluding communication that is conspicuously marked or otherwise
2880
+ designated in writing by the copyright owner as "Not a Contribution."
2881
+
2882
+ "Contributor" shall mean Licensor and any individual or Legal Entity
2883
+ on behalf of whom a Contribution has been received by Licensor and
2884
+ subsequently incorporated within the Work.
2885
+
2886
+ 2. Grant of Copyright License. Subject to the terms and conditions of
2887
+ this License, each Contributor hereby grants to You a perpetual,
2888
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2889
+ copyright license to reproduce, prepare Derivative Works of,
2890
+ publicly display, publicly perform, sublicense, and distribute the
2891
+ Work and such Derivative Works in Source or Object form.
2892
+
2893
+ 3. Grant of Patent License. Subject to the terms and conditions of
2894
+ this License, each Contributor hereby grants to You a perpetual,
2895
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2896
+ (except as stated in this section) patent license to make, have made,
2897
+ use, offer to sell, sell, import, and otherwise transfer the Work,
2898
+ where such license applies only to those patent claims licensable
2899
+ by such Contributor that are necessarily infringed by their
2900
+ Contribution(s) alone or by combination of their Contribution(s)
2901
+ with the Work to which such Contribution(s) was submitted. If You
2902
+ institute patent litigation against any entity (including a
2903
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
2904
+ or a Contribution incorporated within the Work constitutes direct
2905
+ or contributory patent infringement, then any patent licenses
2906
+ granted to You under this License for that Work shall terminate
2907
+ as of the date such litigation is filed.
2908
+
2909
+ 4. Redistribution. You may reproduce and distribute copies of the
2910
+ Work or Derivative Works thereof in any medium, with or without
2911
+ modifications, and in Source or Object form, provided that You
2912
+ meet the following conditions:
2913
+
2914
+ (a) You must give any other recipients of the Work or
2915
+ Derivative Works a copy of this License; and
2916
+
2917
+ (b) You must cause any modified files to carry prominent notices
2918
+ stating that You changed the files; and
2919
+
2920
+ (c) You must retain, in the Source form of any Derivative Works
2921
+ that You distribute, all copyright, patent, trademark, and
2922
+ attribution notices from the Source form of the Work,
2923
+ excluding those notices that do not pertain to any part of
2924
+ the Derivative Works; and
2925
+
2926
+ (d) If the Work includes a "NOTICE" text file as part of its
2927
+ distribution, then any Derivative Works that You distribute must
2928
+ include a readable copy of the attribution notices contained
2929
+ within such NOTICE file, excluding those notices that do not
2930
+ pertain to any part of the Derivative Works, in at least one
2931
+ of the following places: within a NOTICE text file distributed
2932
+ as part of the Derivative Works; within the Source form or
2933
+ documentation, if provided along with the Derivative Works; or,
2934
+ within a display generated by the Derivative Works, if and
2935
+ wherever such third-party notices normally appear. The contents
2936
+ of the NOTICE file are for informational purposes only and
2937
+ do not modify the License. You may add Your own attribution
2938
+ notices within Derivative Works that You distribute, alongside
2939
+ or as an addendum to the NOTICE text from the Work, provided
2940
+ that such additional attribution notices cannot be construed
2941
+ as modifying the License.
2942
+
2943
+ You may add Your own copyright statement to Your modifications and
2944
+ may provide additional or different license terms and conditions
2945
+ for use, reproduction, or distribution of Your modifications, or
2946
+ for any such Derivative Works as a whole, provided Your use,
2947
+ reproduction, and distribution of the Work otherwise complies with
2948
+ the conditions stated in this License.
2949
+
2950
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
2951
+ any Contribution intentionally submitted for inclusion in the Work
2952
+ by You to the Licensor shall be under the terms and conditions of
2953
+ this License, without any additional terms or conditions.
2954
+ Notwithstanding the above, nothing herein shall supersede or modify
2955
+ the terms of any separate license agreement you may have executed
2956
+ with Licensor regarding such Contributions.
2957
+
2958
+ 6. Trademarks. This License does not grant permission to use the trade
2959
+ names, trademarks, service marks, or product names of the Licensor,
2960
+ except as required for reasonable and customary use in describing the
2961
+ origin of the Work and reproducing the content of the NOTICE file.
2962
+
2963
+ 7. Disclaimer of Warranty. Unless required by applicable law or
2964
+ agreed to in writing, Licensor provides the Work (and each
2965
+ Contributor provides its Contributions) on an "AS IS" BASIS,
2966
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2967
+ implied, including, without limitation, any warranties or conditions
2968
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2969
+ PARTICULAR PURPOSE. You are solely responsible for determining the
2970
+ appropriateness of using or redistributing the Work and assume any
2971
+ risks associated with Your exercise of permissions under this License.
2972
+
2973
+ 8. Limitation of Liability. In no event and under no legal theory,
2974
+ whether in tort (including negligence), contract, or otherwise,
2975
+ unless required by applicable law (such as deliberate and grossly
2976
+ negligent acts) or agreed to in writing, shall any Contributor be
2977
+ liable to You for damages, including any direct, indirect, special,
2978
+ incidental, or consequential damages of any character arising as a
2979
+ result of this License or out of the use or inability to use the
2980
+ Work (including but not limited to damages for loss of goodwill,
2981
+ work stoppage, computer failure or malfunction, or any and all
2982
+ other commercial damages or losses), even if such Contributor
2983
+ has been advised of the possibility of such damages.
2984
+
2985
+ 9. Accepting Warranty or Additional Liability. While redistributing
2986
+ the Work or Derivative Works thereof, You may choose to offer,
2987
+ and charge a fee for, acceptance of support, warranty, indemnity,
2988
+ or other liability obligations and/or rights consistent with this
2989
+ License. However, in accepting such obligations, You may act only
2990
+ on Your own behalf and on Your sole responsibility, not on behalf
2991
+ of any other Contributor, and only if You agree to indemnify,
2992
+ defend, and hold each Contributor harmless for any liability
2993
+ incurred by, or claims asserted against, such Contributor by reason
2994
+ of your accepting any such warranty or additional liability.
2995
+
2996
+ END OF TERMS AND CONDITIONS
2997
+
2998
+ APPENDIX: How to apply the Apache License to your work.
2999
+
3000
+ To apply the Apache License to your work, attach the following
3001
+ boilerplate notice, with the fields enclosed by brackets "[]"
3002
+ replaced with your own identifying information. (Don't include
3003
+ the brackets!) The text should be enclosed in the appropriate
3004
+ comment syntax for the file format. We also recommend that a
3005
+ file or class name and description of purpose be included on the
3006
+ same "printed page" as the copyright notice for easier
3007
+ identification within third-party archives.
3008
+
3009
+ Copyright [yyyy] [name of copyright owner]
3010
+
3011
+ Licensed under the Apache License, Version 2.0 (the "License");
3012
+ you may not use this file except in compliance with the License.
3013
+ You may obtain a copy of the License at
3014
+
3015
+ http://www.apache.org/licenses/LICENSE-2.0
3016
+
3017
+ Unless required by applicable law or agreed to in writing, software
3018
+ distributed under the License is distributed on an "AS IS" BASIS,
3019
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3020
+ See the License for the specific language governing permissions and
3021
+ limitations under the License.
3022
+
3023
+ _____
3024
+ Boost
3025
+
3026
+ Boost Software License - Version 1.0 - August 17th, 2003
3027
+
3028
+ Permission is hereby granted, free of charge, to any person or organization
3029
+ obtaining a copy of the software and accompanying documentation covered by
3030
+ this license (the "Software") to use, reproduce, display, distribute,
3031
+ execute, and transmit the Software, and to prepare derivative works of the
3032
+ Software, and to permit third-parties to whom the Software is furnished to
3033
+ do so, all subject to the following:
3034
+
3035
+ The copyright notices in the Software and this entire statement, including
3036
+ the above license grant, this restriction and the following disclaimer,
3037
+ must be included in all copies of the Software, in whole or in part, and
3038
+ all derivative works of the Software, unless such copies or derivative
3039
+ works are solely in the form of machine-executable object code generated by
3040
+ a source language processor.
3041
+
3042
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3043
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3044
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
3045
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
3046
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
3047
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3048
+ DEALINGS IN THE SOFTWARE.
3049
+
3050
+
3051
+ -----
3052
+
3053
+ JDAI-CV/DNNLibrary
3054
+
3055
+ Apache License
3056
+ Version 2.0, January 2004
3057
+ http://www.apache.org/licenses/
3058
+
3059
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3060
+
3061
+ 1. Definitions.
3062
+
3063
+ "License" shall mean the terms and conditions for use, reproduction,
3064
+ and distribution as defined by Sections 1 through 9 of this document.
3065
+
3066
+ "Licensor" shall mean the copyright owner or entity authorized by
3067
+ the copyright owner that is granting the License.
3068
+
3069
+ "Legal Entity" shall mean the union of the acting entity and all
3070
+ other entities that control, are controlled by, or are under common
3071
+ control with that entity. For the purposes of this definition,
3072
+ "control" means (i) the power, direct or indirect, to cause the
3073
+ direction or management of such entity, whether by contract or
3074
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
3075
+ outstanding shares, or (iii) beneficial ownership of such entity.
3076
+
3077
+ "You" (or "Your") shall mean an individual or Legal Entity
3078
+ exercising permissions granted by this License.
3079
+
3080
+ "Source" form shall mean the preferred form for making modifications,
3081
+ including but not limited to software source code, documentation
3082
+ source, and configuration files.
3083
+
3084
+ "Object" form shall mean any form resulting from mechanical
3085
+ transformation or translation of a Source form, including but
3086
+ not limited to compiled object code, generated documentation,
3087
+ and conversions to other media types.
3088
+
3089
+ "Work" shall mean the work of authorship, whether in Source or
3090
+ Object form, made available under the License, as indicated by a
3091
+ copyright notice that is included in or attached to the work
3092
+ (an example is provided in the Appendix below).
3093
+
3094
+ "Derivative Works" shall mean any work, whether in Source or Object
3095
+ form, that is based on (or derived from) the Work and for which the
3096
+ editorial revisions, annotations, elaborations, or other modifications
3097
+ represent, as a whole, an original work of authorship. For the purposes
3098
+ of this License, Derivative Works shall not include works that remain
3099
+ separable from, or merely link (or bind by name) to the interfaces of,
3100
+ the Work and Derivative Works thereof.
3101
+
3102
+ "Contribution" shall mean any work of authorship, including
3103
+ the original version of the Work and any modifications or additions
3104
+ to that Work or Derivative Works thereof, that is intentionally
3105
+ submitted to Licensor for inclusion in the Work by the copyright owner
3106
+ or by an individual or Legal Entity authorized to submit on behalf of
3107
+ the copyright owner. For the purposes of this definition, "submitted"
3108
+ means any form of electronic, verbal, or written communication sent
3109
+ to the Licensor or its representatives, including but not limited to
3110
+ communication on electronic mailing lists, source code control systems,
3111
+ and issue tracking systems that are managed by, or on behalf of, the
3112
+ Licensor for the purpose of discussing and improving the Work, but
3113
+ excluding communication that is conspicuously marked or otherwise
3114
+ designated in writing by the copyright owner as "Not a Contribution."
3115
+
3116
+ "Contributor" shall mean Licensor and any individual or Legal Entity
3117
+ on behalf of whom a Contribution has been received by Licensor and
3118
+ subsequently incorporated within the Work.
3119
+
3120
+ 2. Grant of Copyright License. Subject to the terms and conditions of
3121
+ this License, each Contributor hereby grants to You a perpetual,
3122
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3123
+ copyright license to reproduce, prepare Derivative Works of,
3124
+ publicly display, publicly perform, sublicense, and distribute the
3125
+ Work and such Derivative Works in Source or Object form.
3126
+
3127
+ 3. Grant of Patent License. Subject to the terms and conditions of
3128
+ this License, each Contributor hereby grants to You a perpetual,
3129
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3130
+ (except as stated in this section) patent license to make, have made,
3131
+ use, offer to sell, sell, import, and otherwise transfer the Work,
3132
+ where such license applies only to those patent claims licensable
3133
+ by such Contributor that are necessarily infringed by their
3134
+ Contribution(s) alone or by combination of their Contribution(s)
3135
+ with the Work to which such Contribution(s) was submitted. If You
3136
+ institute patent litigation against any entity (including a
3137
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
3138
+ or a Contribution incorporated within the Work constitutes direct
3139
+ or contributory patent infringement, then any patent licenses
3140
+ granted to You under this License for that Work shall terminate
3141
+ as of the date such litigation is filed.
3142
+
3143
+ 4. Redistribution. You may reproduce and distribute copies of the
3144
+ Work or Derivative Works thereof in any medium, with or without
3145
+ modifications, and in Source or Object form, provided that You
3146
+ meet the following conditions:
3147
+
3148
+ (a) You must give any other recipients of the Work or
3149
+ Derivative Works a copy of this License; and
3150
+
3151
+ (b) You must cause any modified files to carry prominent notices
3152
+ stating that You changed the files; and
3153
+
3154
+ (c) You must retain, in the Source form of any Derivative Works
3155
+ that You distribute, all copyright, patent, trademark, and
3156
+ attribution notices from the Source form of the Work,
3157
+ excluding those notices that do not pertain to any part of
3158
+ the Derivative Works; and
3159
+
3160
+ (d) If the Work includes a "NOTICE" text file as part of its
3161
+ distribution, then any Derivative Works that You distribute must
3162
+ include a readable copy of the attribution notices contained
3163
+ within such NOTICE file, excluding those notices that do not
3164
+ pertain to any part of the Derivative Works, in at least one
3165
+ of the following places: within a NOTICE text file distributed
3166
+ as part of the Derivative Works; within the Source form or
3167
+ documentation, if provided along with the Derivative Works; or,
3168
+ within a display generated by the Derivative Works, if and
3169
+ wherever such third-party notices normally appear. The contents
3170
+ of the NOTICE file are for informational purposes only and
3171
+ do not modify the License. You may add Your own attribution
3172
+ notices within Derivative Works that You distribute, alongside
3173
+ or as an addendum to the NOTICE text from the Work, provided
3174
+ that such additional attribution notices cannot be construed
3175
+ as modifying the License.
3176
+
3177
+ You may add Your own copyright statement to Your modifications and
3178
+ may provide additional or different license terms and conditions
3179
+ for use, reproduction, or distribution of Your modifications, or
3180
+ for any such Derivative Works as a whole, provided Your use,
3181
+ reproduction, and distribution of the Work otherwise complies with
3182
+ the conditions stated in this License.
3183
+
3184
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
3185
+ any Contribution intentionally submitted for inclusion in the Work
3186
+ by You to the Licensor shall be under the terms and conditions of
3187
+ this License, without any additional terms or conditions.
3188
+ Notwithstanding the above, nothing herein shall supersede or modify
3189
+ the terms of any separate license agreement you may have executed
3190
+ with Licensor regarding such Contributions.
3191
+
3192
+ 6. Trademarks. This License does not grant permission to use the trade
3193
+ names, trademarks, service marks, or product names of the Licensor,
3194
+ except as required for reasonable and customary use in describing the
3195
+ origin of the Work and reproducing the content of the NOTICE file.
3196
+
3197
+ 7. Disclaimer of Warranty. Unless required by applicable law or
3198
+ agreed to in writing, Licensor provides the Work (and each
3199
+ Contributor provides its Contributions) on an "AS IS" BASIS,
3200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
3201
+ implied, including, without limitation, any warranties or conditions
3202
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
3203
+ PARTICULAR PURPOSE. You are solely responsible for determining the
3204
+ appropriateness of using or redistributing the Work and assume any
3205
+ risks associated with Your exercise of permissions under this License.
3206
+
3207
+ 8. Limitation of Liability. In no event and under no legal theory,
3208
+ whether in tort (including negligence), contract, or otherwise,
3209
+ unless required by applicable law (such as deliberate and grossly
3210
+ negligent acts) or agreed to in writing, shall any Contributor be
3211
+ liable to You for damages, including any direct, indirect, special,
3212
+ incidental, or consequential damages of any character arising as a
3213
+ result of this License or out of the use or inability to use the
3214
+ Work (including but not limited to damages for loss of goodwill,
3215
+ work stoppage, computer failure or malfunction, or any and all
3216
+ other commercial damages or losses), even if such Contributor
3217
+ has been advised of the possibility of such damages.
3218
+
3219
+ 9. Accepting Warranty or Additional Liability. While redistributing
3220
+ the Work or Derivative Works thereof, You may choose to offer,
3221
+ and charge a fee for, acceptance of support, warranty, indemnity,
3222
+ or other liability obligations and/or rights consistent with this
3223
+ License. However, in accepting such obligations, You may act only
3224
+ on Your own behalf and on Your sole responsibility, not on behalf
3225
+ of any other Contributor, and only if You agree to indemnify,
3226
+ defend, and hold each Contributor harmless for any liability
3227
+ incurred by, or claims asserted against, such Contributor by reason
3228
+ of your accepting any such warranty or additional liability.
3229
+
3230
+ END OF TERMS AND CONDITIONS
3231
+
3232
+ APPENDIX: How to apply the Apache License to your work.
3233
+
3234
+ To apply the Apache License to your work, attach the following
3235
+ boilerplate notice, with the fields enclosed by brackets "[]"
3236
+ replaced with your own identifying information. (Don't include
3237
+ the brackets!) The text should be enclosed in the appropriate
3238
+ comment syntax for the file format. We also recommend that a
3239
+ file or class name and description of purpose be included on the
3240
+ same "printed page" as the copyright notice for easier
3241
+ identification within third-party archives.
3242
+
3243
+ Copyright [2019] [JD.com Inc. JD AI]
3244
+
3245
+ Licensed under the Apache License, Version 2.0 (the "License");
3246
+ you may not use this file except in compliance with the License.
3247
+ You may obtain a copy of the License at
3248
+
3249
+ http://www.apache.org/licenses/LICENSE-2.0
3250
+
3251
+ Unless required by applicable law or agreed to in writing, software
3252
+ distributed under the License is distributed on an "AS IS" BASIS,
3253
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3254
+ See the License for the specific language governing permissions and
3255
+ limitations under the License.
3256
+
3257
+
3258
+ -----
3259
+
3260
+ google/flatbuffers
3261
+
3262
+
3263
+ Apache License
3264
+ Version 2.0, January 2004
3265
+ http://www.apache.org/licenses/
3266
+
3267
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3268
+
3269
+ 1. Definitions.
3270
+
3271
+ "License" shall mean the terms and conditions for use, reproduction,
3272
+ and distribution as defined by Sections 1 through 9 of this document.
3273
+
3274
+ "Licensor" shall mean the copyright owner or entity authorized by
3275
+ the copyright owner that is granting the License.
3276
+
3277
+ "Legal Entity" shall mean the union of the acting entity and all
3278
+ other entities that control, are controlled by, or are under common
3279
+ control with that entity. For the purposes of this definition,
3280
+ "control" means (i) the power, direct or indirect, to cause the
3281
+ direction or management of such entity, whether by contract or
3282
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
3283
+ outstanding shares, or (iii) beneficial ownership of such entity.
3284
+
3285
+ "You" (or "Your") shall mean an individual or Legal Entity
3286
+ exercising permissions granted by this License.
3287
+
3288
+ "Source" form shall mean the preferred form for making modifications,
3289
+ including but not limited to software source code, documentation
3290
+ source, and configuration files.
3291
+
3292
+ "Object" form shall mean any form resulting from mechanical
3293
+ transformation or translation of a Source form, including but
3294
+ not limited to compiled object code, generated documentation,
3295
+ and conversions to other media types.
3296
+
3297
+ "Work" shall mean the work of authorship, whether in Source or
3298
+ Object form, made available under the License, as indicated by a
3299
+ copyright notice that is included in or attached to the work
3300
+ (an example is provided in the Appendix below).
3301
+
3302
+ "Derivative Works" shall mean any work, whether in Source or Object
3303
+ form, that is based on (or derived from) the Work and for which the
3304
+ editorial revisions, annotations, elaborations, or other modifications
3305
+ represent, as a whole, an original work of authorship. For the purposes
3306
+ of this License, Derivative Works shall not include works that remain
3307
+ separable from, or merely link (or bind by name) to the interfaces of,
3308
+ the Work and Derivative Works thereof.
3309
+
3310
+ "Contribution" shall mean any work of authorship, including
3311
+ the original version of the Work and any modifications or additions
3312
+ to that Work or Derivative Works thereof, that is intentionally
3313
+ submitted to Licensor for inclusion in the Work by the copyright owner
3314
+ or by an individual or Legal Entity authorized to submit on behalf of
3315
+ the copyright owner. For the purposes of this definition, "submitted"
3316
+ means any form of electronic, verbal, or written communication sent
3317
+ to the Licensor or its representatives, including but not limited to
3318
+ communication on electronic mailing lists, source code control systems,
3319
+ and issue tracking systems that are managed by, or on behalf of, the
3320
+ Licensor for the purpose of discussing and improving the Work, but
3321
+ excluding communication that is conspicuously marked or otherwise
3322
+ designated in writing by the copyright owner as "Not a Contribution."
3323
+
3324
+ "Contributor" shall mean Licensor and any individual or Legal Entity
3325
+ on behalf of whom a Contribution has been received by Licensor and
3326
+ subsequently incorporated within the Work.
3327
+
3328
+ 2. Grant of Copyright License. Subject to the terms and conditions of
3329
+ this License, each Contributor hereby grants to You a perpetual,
3330
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3331
+ copyright license to reproduce, prepare Derivative Works of,
3332
+ publicly display, publicly perform, sublicense, and distribute the
3333
+ Work and such Derivative Works in Source or Object form.
3334
+
3335
+ 3. Grant of Patent License. Subject to the terms and conditions of
3336
+ this License, each Contributor hereby grants to You a perpetual,
3337
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3338
+ (except as stated in this section) patent license to make, have made,
3339
+ use, offer to sell, sell, import, and otherwise transfer the Work,
3340
+ where such license applies only to those patent claims licensable
3341
+ by such Contributor that are necessarily infringed by their
3342
+ Contribution(s) alone or by combination of their Contribution(s)
3343
+ with the Work to which such Contribution(s) was submitted. If You
3344
+ institute patent litigation against any entity (including a
3345
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
3346
+ or a Contribution incorporated within the Work constitutes direct
3347
+ or contributory patent infringement, then any patent licenses
3348
+ granted to You under this License for that Work shall terminate
3349
+ as of the date such litigation is filed.
3350
+
3351
+ 4. Redistribution. You may reproduce and distribute copies of the
3352
+ Work or Derivative Works thereof in any medium, with or without
3353
+ modifications, and in Source or Object form, provided that You
3354
+ meet the following conditions:
3355
+
3356
+ (a) You must give any other recipients of the Work or
3357
+ Derivative Works a copy of this License; and
3358
+
3359
+ (b) You must cause any modified files to carry prominent notices
3360
+ stating that You changed the files; and
3361
+
3362
+ (c) You must retain, in the Source form of any Derivative Works
3363
+ that You distribute, all copyright, patent, trademark, and
3364
+ attribution notices from the Source form of the Work,
3365
+ excluding those notices that do not pertain to any part of
3366
+ the Derivative Works; and
3367
+
3368
+ (d) If the Work includes a "NOTICE" text file as part of its
3369
+ distribution, then any Derivative Works that You distribute must
3370
+ include a readable copy of the attribution notices contained
3371
+ within such NOTICE file, excluding those notices that do not
3372
+ pertain to any part of the Derivative Works, in at least one
3373
+ of the following places: within a NOTICE text file distributed
3374
+ as part of the Derivative Works; within the Source form or
3375
+ documentation, if provided along with the Derivative Works; or,
3376
+ within a display generated by the Derivative Works, if and
3377
+ wherever such third-party notices normally appear. The contents
3378
+ of the NOTICE file are for informational purposes only and
3379
+ do not modify the License. You may add Your own attribution
3380
+ notices within Derivative Works that You distribute, alongside
3381
+ or as an addendum to the NOTICE text from the Work, provided
3382
+ that such additional attribution notices cannot be construed
3383
+ as modifying the License.
3384
+
3385
+ You may add Your own copyright statement to Your modifications and
3386
+ may provide additional or different license terms and conditions
3387
+ for use, reproduction, or distribution of Your modifications, or
3388
+ for any such Derivative Works as a whole, provided Your use,
3389
+ reproduction, and distribution of the Work otherwise complies with
3390
+ the conditions stated in this License.
3391
+
3392
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
3393
+ any Contribution intentionally submitted for inclusion in the Work
3394
+ by You to the Licensor shall be under the terms and conditions of
3395
+ this License, without any additional terms or conditions.
3396
+ Notwithstanding the above, nothing herein shall supersede or modify
3397
+ the terms of any separate license agreement you may have executed
3398
+ with Licensor regarding such Contributions.
3399
+
3400
+ 6. Trademarks. This License does not grant permission to use the trade
3401
+ names, trademarks, service marks, or product names of the Licensor,
3402
+ except as required for reasonable and customary use in describing the
3403
+ origin of the Work and reproducing the content of the NOTICE file.
3404
+
3405
+ 7. Disclaimer of Warranty. Unless required by applicable law or
3406
+ agreed to in writing, Licensor provides the Work (and each
3407
+ Contributor provides its Contributions) on an "AS IS" BASIS,
3408
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
3409
+ implied, including, without limitation, any warranties or conditions
3410
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
3411
+ PARTICULAR PURPOSE. You are solely responsible for determining the
3412
+ appropriateness of using or redistributing the Work and assume any
3413
+ risks associated with Your exercise of permissions under this License.
3414
+
3415
+ 8. Limitation of Liability. In no event and under no legal theory,
3416
+ whether in tort (including negligence), contract, or otherwise,
3417
+ unless required by applicable law (such as deliberate and grossly
3418
+ negligent acts) or agreed to in writing, shall any Contributor be
3419
+ liable to You for damages, including any direct, indirect, special,
3420
+ incidental, or consequential damages of any character arising as a
3421
+ result of this License or out of the use or inability to use the
3422
+ Work (including but not limited to damages for loss of goodwill,
3423
+ work stoppage, computer failure or malfunction, or any and all
3424
+ other commercial damages or losses), even if such Contributor
3425
+ has been advised of the possibility of such damages.
3426
+
3427
+ 9. Accepting Warranty or Additional Liability. While redistributing
3428
+ the Work or Derivative Works thereof, You may choose to offer,
3429
+ and charge a fee for, acceptance of support, warranty, indemnity,
3430
+ or other liability obligations and/or rights consistent with this
3431
+ License. However, in accepting such obligations, You may act only
3432
+ on Your own behalf and on Your sole responsibility, not on behalf
3433
+ of any other Contributor, and only if You agree to indemnify,
3434
+ defend, and hold each Contributor harmless for any liability
3435
+ incurred by, or claims asserted against, such Contributor by reason
3436
+ of your accepting any such warranty or additional liability.
3437
+
3438
+ END OF TERMS AND CONDITIONS
3439
+
3440
+ APPENDIX: How to apply the Apache License to your work.
3441
+
3442
+ To apply the Apache License to your work, attach the following
3443
+ boilerplate notice, with the fields enclosed by brackets "[]"
3444
+ replaced with your own identifying information. (Don't include
3445
+ the brackets!) The text should be enclosed in the appropriate
3446
+ comment syntax for the file format. We also recommend that a
3447
+ file or class name and description of purpose be included on the
3448
+ same "printed page" as the copyright notice for easier
3449
+ identification within third-party archives.
3450
+
3451
+ Copyright 2014 Google Inc.
3452
+
3453
+ Licensed under the Apache License, Version 2.0 (the "License");
3454
+ you may not use this file except in compliance with the License.
3455
+ You may obtain a copy of the License at
3456
+
3457
+ http://www.apache.org/licenses/LICENSE-2.0
3458
+
3459
+ Unless required by applicable law or agreed to in writing, software
3460
+ distributed under the License is distributed on an "AS IS" BASIS,
3461
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3462
+ See the License for the specific language governing permissions and
3463
+ limitations under the License.
3464
+
3465
+
3466
+ -----
3467
+
3468
+ google/glog
3469
+
3470
+ Copyright (c) 2008, Google Inc.
3471
+ All rights reserved.
3472
+
3473
+ Redistribution and use in source and binary forms, with or without
3474
+ modification, are permitted provided that the following conditions are
3475
+ met:
3476
+
3477
+ * Redistributions of source code must retain the above copyright
3478
+ notice, this list of conditions and the following disclaimer.
3479
+ * Redistributions in binary form must reproduce the above
3480
+ copyright notice, this list of conditions and the following disclaimer
3481
+ in the documentation and/or other materials provided with the
3482
+ distribution.
3483
+ * Neither the name of Google Inc. nor the names of its
3484
+ contributors may be used to endorse or promote products derived from
3485
+ this software without specific prior written permission.
3486
+
3487
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3488
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3489
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3490
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3491
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3492
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3493
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3494
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3495
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3496
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3497
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3498
+
3499
+
3500
+ A function gettimeofday in utilities.cc is based on
3501
+
3502
+ http://www.google.com/codesearch/p?hl=en#dR3YEbitojA/COPYING&q=GetSystemTimeAsFileTime%20license:bsd
3503
+
3504
+ The license of this code is:
3505
+
3506
+ Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi> and contributors
3507
+ All Rights Reserved.
3508
+
3509
+ Redistribution and use in source and binary forms, with or without
3510
+ modification, are permitted provided that the following conditions are
3511
+ met:
3512
+
3513
+ 1. Redistributions of source code must retain the above copyright
3514
+ notice, this list of conditions and the following disclaimer.
3515
+
3516
+ 2. Redistributions in binary form must reproduce the above copyright
3517
+ notice, this list of conditions and the following disclaimer in the
3518
+ documentation and/or other materials provided with the distribution.
3519
+
3520
+ 3. Neither the name(s) of the above-listed copyright holder(s) nor the
3521
+ names of its contributors may be used to endorse or promote products
3522
+ derived from this software without specific prior written permission.
3523
+
3524
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3525
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3526
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3527
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3528
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3529
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3530
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3531
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3532
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3533
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3534
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.