onnxruntime/js/web/test/data/ops/layer-norm.jsonc
satyajandhyala 89b682e3f3
[JS/Web] The bias input is optional, not required, for LayerNormalization operator (#17143)
### Description
Fix a typo. LayerNormalization takes 2 or 3 inputs. The third input,
bias, is optional.



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2023-08-16 10:41:20 -07:00

33 lines
789 B
Text

[
{
"name": "Simple test without bias",
"operator": "LayerNormalization",
"cases": [
{
"name": "Simple test without bias",
"inputs": [
{
"data": [1, 2, 3, 4, 5, 6, 7, 8],
"dims": [1, 2, 4],
"type": "float32"
},
{
"data": [1, 2, 3, 4],
"dims": [4],
"type": "float32"
}
],
"outputs": [
{
"data": [
-1.3416354656219482, -0.8944236636161804, 1.3416354656219482, 5.366541862487793, -1.3416354656219482,
-0.8944236636161804, 1.3416354656219482, 5.366541862487793
],
"dims": [1, 2, 4],
"type": "float32"
}
]
}
]
}
]