onnxruntime/js/web/test/data/ops/sin.jsonc
Yulong Wang 1743e9a615
[js] enable formatter for more file types (#16888)
### Description
enable formatter for .js/.json/.jsonc/.md files
2023-07-28 15:46:58 -07:00

77 lines
1.5 KiB
Text

[
{
"name": "sin with no attributes",
"operator": "Sin",
"attributes": [],
"cases": [
{
"name": "T[0]",
"inputs": [
{
"data": [0.4],
"dims": [1],
"type": "float32"
}
],
"outputs": [
{
"data": [0.3894],
"dims": [1],
"type": "float32"
}
]
},
{
"name": "T[1]",
"inputs": [
{
"data": [0.1, 0.2, 0.3, 0.4],
"dims": [4],
"type": "float32"
}
],
"outputs": [
{
"data": [0.0998, 0.1987, 0.2955, 0.3894],
"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": [0.0998, 0.1987, 0.2955, 0.3894, 0.7833, 0.7173, 0.6442, 0.5646],
"dims": [2, 4],
"type": "float32"
}
]
},
{
"name": "Scalar",
"inputs": [
{
"data": [0.1],
"dims": [],
"type": "float32"
}
],
"outputs": [
{
"data": [0.0998],
"dims": [],
"type": "float32"
}
]
}
]
}
]