[LayerNormalization Operator] Why LayerNormalization do not support weight and bias auto broadcast. #18184
Labels
core runtime
issues related to core runtime
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
Input is [1, 16, 256, 256]
I want to do layernorm in axes 1 and the weight and bias shape is [1, 16, 1, 1].
It will broadcast to [1, 16, 256, 256].
But the error is:
So what can i do?
To reproduce
Urgency
No response
Platform
Linux
OS Version
ubuntu 20.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.16.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
cpu
Model File
No response
Is this a quantized model?
No
The text was updated successfully, but these errors were encountered: