-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should axes
be required parameter for layerNormalization build method?
#487
Comments
Ningxin: Different ML libraries having different defaults for Though, whether to pass |
(This was raised by @wacky6 at Chromium CL-5068275 review)
In proposal Add support for operations needed for well-known transformers , the
axes
oflayerNormalization
operator is defined as an optional member ofMLLayerNormalizationOptions
dictionary with default value [1, 2, 3].@wacky6 mentioned TensorFlow's layerNormalization defaults to the last dimension (axis=-1) while PyTorch's LayerNorm requires the
normalized_shape
to be passed./cc @wchao1115 @fdwr
The text was updated successfully, but these errors were encountered: