From 8391d45d24d3374d2156688a4d0312b821271232 Mon Sep 17 00:00:00 2001 From: Katarzyna Mitrus Date: Fri, 16 Jul 2021 14:15:55 +0200 Subject: [PATCH] GRN spec revision (#6666) * Update detailed description * Update attrs description * Add Types section and Inputs Outputs description * Update example --- docs/ops/normalization/GRN_1.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/ops/normalization/GRN_1.md b/docs/ops/normalization/GRN_1.md index 0ea7cf3c30b300..de796e681a78f7 100644 --- a/docs/ops/normalization/GRN_1.md +++ b/docs/ops/normalization/GRN_1.md @@ -8,7 +8,7 @@ **Detailed description**: -*GRN* computes the L2 norm by channels for input tensor with shape `[N, C, ...]`. *GRN* does the following with the input tensor: +*GRN* computes the L2 norm across channels for input tensor with shape `[N, C, ...]`. *GRN* does the following with the input tensor: output[i0, i1, ..., iN] = x[i0, i1, ..., iN] / sqrt(sum[j = 0..C-1](x[i0, j, ..., iN]**2) + bias) @@ -16,23 +16,27 @@ * *bias* - * **Description**: *bias* is added to the variance. - * **Range of values**: a non-negative floating-point value + * **Description**: *bias* is added to the sum of squares. + * **Range of values**: a positive floating-point number * **Type**: `float` * **Required**: *yes* **Inputs** -* **1**: Input tensor with element of any floating-point type and `2 <= rank <=4`. **Required.** +* **1**: `data` - A tensor of type *T* and `2 <= rank <= 4`. **Required.** **Outputs** -* **1**: Output tensor of the same type and shape as the input tensor. +* **1**: The result of *GRN* function applied to `data` input tensor. Normalized tensor of the same type and shape as the data input. + +**Types** + +* *T*: arbitrary supported floating-point type. **Example** ```xml - +