diff --git a/docs/Changelog.md b/docs/Changelog.md index 8abaa0489b0..dc738b0d888 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -21043,7 +21043,9 @@ This version of the operator has been available since version 17 of the default Let `d[i]` indicate the i-th dimension of `X`. If `X`'s shape is `[d[0], ..., d[axis-1], d[axis], ..., d[rank-1]]`, the shape of `Mean` and `InvStdDev` is `[d[0], ..., d[axis-1], 1, ..., 1]`. - `Y` and `X` have the same shape. + `Y` and `X` have the same shape. This operator supports unidirectional broadcasting + (tensors `Scale` and `B` should be unidirectional broadcastable to tensor `X`); + for more details please check [the doc](Broadcasting.md). #### Version diff --git a/docs/Operators.md b/docs/Operators.md index 56ac3118452..895b03aa01b 100644 --- a/docs/Operators.md +++ b/docs/Operators.md @@ -13172,7 +13172,9 @@ expect( Let `d[i]` indicate the i-th dimension of `X`. If `X`'s shape is `[d[0], ..., d[axis-1], d[axis], ..., d[rank-1]]`, the shape of `Mean` and `InvStdDev` is `[d[0], ..., d[axis-1], 1, ..., 1]`. - `Y` and `X` have the same shape. + `Y` and `X` have the same shape. This operator supports unidirectional broadcasting + (tensors `Scale` and `B` should be unidirectional broadcastable to tensor `X`); + for more details please check [the doc](Broadcasting.md). #### Version diff --git a/onnx/defs/nn/defs.cc b/onnx/defs/nn/defs.cc index eac0e15496a..02d441ea0dc 100644 --- a/onnx/defs/nn/defs.cc +++ b/onnx/defs/nn/defs.cc @@ -2516,7 +2516,9 @@ static const char* LayerNormalization_ver17_doc = R"DOC( Let `d[i]` indicate the i-th dimension of `X`. If `X`'s shape is `[d[0], ..., d[axis-1], d[axis], ..., d[rank-1]]`, the shape of `Mean` and `InvStdDev` is `[d[0], ..., d[axis-1], 1, ..., 1]`. - `Y` and `X` have the same shape. + `Y` and `X` have the same shape. This operator supports unidirectional broadcasting + (tensors `Scale` and `B` should be unidirectional broadcastable to tensor `X`); + for more details please check [the doc](Broadcasting.md). )DOC"; bool BuildContextDependentFunctionBodyLayerNormalization(