mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* initial commit for Node.js binding * add c++ code * add inference session impl * e2e working * add settings.json * add test data * adjust binding declaration * refine tensor constructor declaration * update tests * enable onnx tests * simply refine readme * refine cpp impl * refine tests * formatting * add linting * move bin folder * fix linux build * manually update test filter list * update C++ API headers: fix crash in release build * make (manually) prebuild work * add test into prepack script * specify prebuild runtime type (N-API) * build.ts: update rebuild and include regex * fix lazy load on electron.js * update dev version, git link and binary host * support session options and run options * bump dev version * update README * add 1 example * move folder * adjust path * update document for examples * rename example 01 * add example 02 * add session option: log severity level * add example 04 * resolve comments * fix typo * remove double guard in header files * add copyright banner * move BUILD outside from README * consume test filter list from onnxruntime
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Tests (Linux, C++)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "node",
|
|
"args": [
|
|
"${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"${workspaceFolder}/test/test-main"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": []
|
|
},
|
|
{
|
|
"name": "Debug Tests (Windows, C++)",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "node.exe",
|
|
"args": [
|
|
"${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"${workspaceFolder}/test/test-main"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Tests (typescript)",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
"${workspaceFolder}/test/test-main"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"smartStep": true,
|
|
"sourceMaps": true
|
|
}
|
|
]
|
|
}
|