onnxruntime/js/web/test/data/ops/sub_int32.jsonc
Yulong Wang 4ebc9c3b5e
[JS] onnxruntime-web (#7394)
* add web

* add script and test

* fix lint

* add test/data/ops

* add test/data/node/ to gitignore

* modify scripts

* add onnxjs

* fix tests

* fix test-runner

* fix sourcemap

* fix onnxjs profiling

* update test list

* update README

* resolve comments

* set wasm as default backend

* rename package

* update copyright header

* do not use class "Buffer" in browser context

* revise readme
2021-04-27 00:04:25 -07:00

31 lines
616 B
Text

[
{
"name": "Sub with no attributes",
"operator": "Sub",
"attributes": [],
"cases": [
{
"name": "T[2,4] T[2,4] (int32)",
"inputs": [
{
"data": [1, 2, 1, 3, 2, 3, 1, 2],
"dims": [2, 4],
"type": "int32"
},
{
"data": [2, 1, 1, 2, 2, 3, 1, 4],
"dims": [2, 4],
"type": "int32"
}
],
"outputs": [
{
"data": [-1, 1, 0, 1, 0, 0, 0, -2],
"dims": [2, 4],
"type": "int32"
}
]
}
]
}
]