Skip to content
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Commit d6040e5

Browse files
authored
Update to 0.3.0 (#1)
1 parent 187ecf1 commit d6040e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+234
-6260
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ target_link_libraries(onnxruntime PRIVATE ${CMAKE_JS_LIB})
2323
if (WIN32)
2424
target_link_libraries(onnxruntime PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/win-x64/onnxruntime.lib)
2525
elseif (APPLE)
26-
target_link_libraries(onnxruntime PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/darwin-x64/libonnxruntime.0.2.1.dylib)
26+
target_link_libraries(onnxruntime PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/darwin-x64/libonnxruntime.0.3.0.dylib)
2727
set_target_properties(onnxruntime PROPERTIES INSTALL_RPATH "@loader_path")
2828
else()
29-
target_link_libraries(onnxruntime PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/linux-x64/libonnxruntime.so.0.2.1)
29+
target_link_libraries(onnxruntime PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/linux-x64/libonnxruntime.so.0.3.0)
3030
set_target_properties(onnxruntime PROPERTIES INSTALL_RPATH "$ORIGIN/")
3131
endif()
3232

@@ -42,7 +42,7 @@ if (NOT APPLE)
4242
if (WIN32)
4343
target_link_libraries(onnxruntime_gpu PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/win_gpu-x64/onnxruntime.lib)
4444
else()
45-
target_link_libraries(onnxruntime_gpu PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/linux_gpu-x64/libonnxruntime.so.0.2.1)
45+
target_link_libraries(onnxruntime_gpu PRIVATE ${CMAKE_SOURCE_DIR}/onnxruntime/bin/linux_gpu-x64/libonnxruntime.so.0.3.0)
4646
set_target_properties(onnxruntime_gpu PROPERTIES INSTALL_RPATH "$ORIGIN/")
4747
endif()
4848
endif()

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ npm install onnxjs-node
1515
## Supported Platforms
1616
OS |Arch |CPU/GPU |NAPI version |ONNXRuntime version
1717
---------|-----|--------|-------------|--------------------
18-
Windows | x64 | CPU | v3 | v0.2.1
19-
Linux | x64 | CPU | v3 | v0.2.1
20-
macOS | x64 | CPU | v3 | v0.2.1
21-
Windows | x64 | GPU | v3 | v0.2.1
22-
Linux | x64 | GPU | v3 | v0.2.1
18+
Windows | x64 | CPU | v3 | v0.3.0
19+
Linux | x64 | CPU | v3 | v0.3.0
20+
macOS | x64 | CPU | v3 | v0.3.0
21+
Windows | x64 | GPU | v3 | v0.3.0
22+
Linux | x64 | GPU | v3 | v0.3.0
2323

2424
## Usage
2525
There are 2 options to import `onnxjs-node`.
@@ -54,6 +54,8 @@ session = new onnx.InferenceSession({backendHint: 'wasm'}); // use WebAssembly
5454
## Documentation
5555
- [ONNX.js Home](https://github.com/Microsoft/onnxjs)
5656
- [ONNXRuntime](https://github.com/Microsoft/onnxruntime)
57+
- [Nuget package: Microsoft.ML.OnnxRuntime](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime/)
58+
- [Nuget package: Microsoft.ML.OnnxRuntime.Gpu](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.Gpu/)
5759

5860
# License
5961
Copyright (c) fs-eire. All rights reserved.

onnxruntime/README.md

Lines changed: 0 additions & 130 deletions
This file was deleted.

onnxruntime/ThirdPartyNotices.txt

Lines changed: 26 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -205,38 +205,6 @@ external contributions to this project including patches, pull requests, etc.
205205

206206
_____
207207

208-
NVlabs/cub
209-
210-
Copyright (c) 2010-2011, Duane Merrill. All rights reserved.
211-
Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
212-
213-
Redistribution and use in source and binary forms, with or without
214-
modification, are permitted provided that the following conditions are met:
215-
216-
* Redistributions of source code must retain the above copyright
217-
notice, this list of conditions and the following disclaimer.
218-
219-
* Redistributions in binary form must reproduce the above copyright
220-
notice, this list of conditions and the following disclaimer in the
221-
documentation and/or other materials provided with the distribution.
222-
223-
* Neither the name of the NVIDIA CORPORATION nor the
224-
names of its contributors may be used to endorse or promote products
225-
derived from this software without specific prior written permission.
226-
227-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
228-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
229-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
230-
DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR ANY
231-
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
232-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
233-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
234-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
235-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
236-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
237-
238-
_____
239-
240208
onnx
241209
Open Neural Network Exchange
242210

@@ -1913,35 +1881,9 @@ DLPack: Open In Memory Tensor Structure
19131881
See the License for the specific language governing permissions and
19141882
limitations under the License.
19151883

1916-
_____
1917-
1918-
JSON for Modern C++
1919-
1920-
MIT License
1921-
1922-
Copyright (c) 2013-2018 Niels Lohmann
1923-
1924-
Permission is hereby granted, free of charge, to any person obtaining a copy
1925-
of this software and associated documentation files (the "Software"), to deal
1926-
in the Software without restriction, including without limitation the rights
1927-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1928-
copies of the Software, and to permit persons to whom the Software is
1929-
furnished to do so, subject to the following conditions:
1930-
1931-
The above copyright notice and this permission notice shall be included in all
1932-
copies or substantial portions of the Software.
1933-
1934-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1935-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1936-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1937-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1938-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1939-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1940-
SOFTWARE.
1941-
19421884
____
19431885

1944-
Date
1886+
HowardHinnant/date
19451887

19461888
The source code in this project is released using the MIT License. There is no
19471889
global license for the project because each file is licensed individually with
@@ -2815,55 +2757,32 @@ Apache License
28152757

28162758
_____
28172759

2818-
dotnet/corefxlab
2819-
2820-
The MIT License (MIT)
2821-
2822-
Copyright (c) .NET Foundation and Contributors
2823-
2824-
All rights reserved.
2760+
google/re2
28252761

2826-
Permission is hereby granted, free of charge, to any person obtaining a copy
2827-
of this software and associated documentation files (the "Software"), to deal
2828-
in the Software without restriction, including without limitation the rights
2829-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2830-
copies of the Software, and to permit persons to whom the Software is
2831-
furnished to do so, subject to the following conditions:
2762+
Copyright (c) 2009 The RE2 Authors. All rights reserved.
28322763

2833-
The above copyright notice and this permission notice shall be included in all
2834-
copies or substantial portions of the Software.
2835-
2836-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2837-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2838-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2839-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2840-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2841-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2842-
SOFTWARE.
2843-
2844-
_____
2845-
2846-
dotnet/standard
2847-
2848-
The MIT License (MIT)
2849-
2850-
Copyright (c) .NET Foundation and Contributors
2851-
2852-
Permission is hereby granted, free of charge, to any person obtaining a copy
2853-
of this software and associated documentation files (the "Software"), to deal
2854-
in the Software without restriction, including without limitation the rights
2855-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2856-
copies of the Software, and to permit persons to whom the Software is
2857-
furnished to do so, subject to the following conditions:
2858-
2859-
The above copyright notice and this permission notice shall be included in all
2860-
copies or substantial portions of the Software.
2764+
Redistribution and use in source and binary forms, with or without
2765+
modification, are permitted provided that the following conditions are
2766+
met:
28612767

2862-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2863-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2864-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2865-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2866-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2867-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2868-
SOFTWARE.
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.
28692777

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.
10.9 MB
Binary file not shown.
-8.81 MB
Binary file not shown.
8.9 MB
Binary file not shown.
-8.81 MB
Binary file not shown.
21.2 MB
Binary file not shown.

onnxruntime/bin/win-x64/mkldnn.dll

-7.01 MB
Binary file not shown.

0 commit comments

Comments
 (0)