Skip to content

API Reference for v6.0b1 and Layernorm Fix #1514

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions coremltools/converters/mil/mil/ops/defs/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ class layer_norm(Operation):
* Dimensions to perform layer normalization.
* Default is ``None`` (all dimensions).

gamma: const tensor<[K], T> (Optional)
gamma: const tensor<\*?, T>, T> (Optional)
* if provided, the shape must be be ``x.shape[axes]``. For instance, if
input ``x`` with shape ``(3,4,5,6)`` and ``axes = [2,3]``, gamma must have
shape ``(5,6)``.
* Default is all ones.

beta: const tensor<[K], T> (Optional)
beta: const tensor<\*?, T>, T> (Optional)
* Same shape as gamma.
* Default is all zeros.

Expand Down