mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
* 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
86 lines
1.6 KiB
Text
86 lines
1.6 KiB
Text
[
|
|
{
|
|
"name": "Acos with no attributes",
|
|
"operator": "Acos",
|
|
"attributes": [],
|
|
"cases": [
|
|
{
|
|
"name": "T[0]",
|
|
"inputs": [
|
|
{
|
|
"data": [0.4],
|
|
"dims": [1],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [1.1593],
|
|
"dims": [1],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "T[1]",
|
|
"inputs": [
|
|
{
|
|
"data": [0.1, 0.2, 0.3, 0.4],
|
|
"dims": [4],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [1.4706, 1.3694, 1.2661, 1.1593],
|
|
"dims": [4],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "T[2,4]",
|
|
"inputs": [
|
|
{
|
|
"data": [0.1, 0.2, 0.3, 0.4, 0.9, 0.8, 0.7, 0.6],
|
|
"dims": [2, 4],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [
|
|
1.4706,
|
|
1.3694,
|
|
1.2661,
|
|
1.1593,
|
|
0.451,
|
|
0.6435,
|
|
0.7954,
|
|
0.9273
|
|
],
|
|
"dims": [2, 4],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Scalar",
|
|
"inputs": [
|
|
{
|
|
"data": [0.1],
|
|
"dims": [],
|
|
"type": "float32"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"data": [1.4706],
|
|
"dims": [],
|
|
"type": "float32"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|