* Doc Migration from Gitlab (#1289) * doc migration * fix * Update FakeQuantize_1.md * Update performance_benchmarks.md * Updates graphs for FPGA * Update performance_benchmarks.md * Change DL Workbench structure (#1) * Changed DL Workbench structure * Fixed tags * fixes * Update ie_docs.xml * Update performance_benchmarks_faq.md * Fixes in DL Workbench layout * Fixes for CVS-31290 * [DL Workbench] Minor correction * Fix for CVS-30955 * Added nGraph deprecation notice as requested by Zoe * fix broken links in api doxy layouts * CVS-31131 fixes * Additional fixes * Fixed POT TOC * Update PAC_Configure.md PAC DCP 1.2.1 install guide. * Update inference_engine_intro.md * fix broken link * Update opset.md * fix * added opset4 to layout * added new opsets to layout, set labels for them * Update VisionAcceleratorFPGA_Configure.md Updated from 2020.3 to 2020.4 Co-authored-by: domi2000 <domi2000@users.noreply.github.com>
80 lines
2.2 KiB
Markdown
80 lines
2.2 KiB
Markdown
## MVN <a name="MVN"></a> {#openvino_docs_ops_normalization_MVN_1}
|
|
|
|
**Versioned name**: *MVN-1*
|
|
|
|
**Category**: *Normalization*
|
|
|
|
**Short description**: [Reference](http://caffe.berkeleyvision.org/tutorial/layers/mvn.html)
|
|
|
|
**Detailed description**
|
|
|
|
*MVN* subtracts mean value from the input blob:
|
|
\f[
|
|
o_{i} = i_{i} - \frac{\sum{i_{k}}}{C * H * W}
|
|
\f]
|
|
If *normalize_variance* is set to 1, the output blob is divided by variance:
|
|
\f[
|
|
o_{i}=\frac{o_{i}}{\sum \sqrt {o_{k}^2}+\epsilon}
|
|
\f]
|
|
|
|
**Attributes**
|
|
|
|
* *across_channels*
|
|
|
|
* **Description**: *across_channels* is a flag that specifies whether mean values are shared across channels. For example, *across_channels* equal to `false` means that mean values are not shared across channels.
|
|
* **Range of values**:
|
|
* `false` - do not share mean values across channels
|
|
* `true` - share mean values across channels
|
|
* **Type**: `boolean`
|
|
* **Default value**: `false`
|
|
* **Required**: *no*
|
|
|
|
* *normalize_variance*
|
|
|
|
* **Description**: *normalize_variance* is a flag that specifies whether to perform variance normalization.
|
|
* **Range of values**:
|
|
* `false` -- do not normalize variance
|
|
* `true` -- normalize variance
|
|
* **Type**: `boolean`
|
|
* **Default value**: `false`
|
|
* **Required**: *no*
|
|
|
|
* *eps*
|
|
|
|
* **Description**: *eps* is the number to be added to the variance to avoid division by zero when normalizing the value. For example, *epsilon* equal to 0.001 means that 0.001 is added to the variance.
|
|
* **Range of values**: a positive floating-point number
|
|
* **Type**: `float`
|
|
* **Default value**: None
|
|
* **Required**: *yes*
|
|
|
|
**Inputs**
|
|
|
|
* **1**: 4D or 5D input tensor of any floating point type. Required.
|
|
|
|
**Outputs**
|
|
|
|
* **1**: normalized tensor of the same type and shape as input tensor.
|
|
|
|
**Example**
|
|
|
|
```xml
|
|
<layer ... type="MVN">
|
|
<data across_channels="true" eps="1e-9" normalize_variance="true"/>
|
|
<input>
|
|
<port id="0">
|
|
<dim>6</dim>
|
|
<dim>12</dim>
|
|
<dim>10</dim>
|
|
<dim>24</dim>
|
|
</port>
|
|
</input>
|
|
<output>
|
|
<port id="2">
|
|
<dim>6</dim>
|
|
<dim>12</dim>
|
|
<dim>10</dim>
|
|
<dim>24</dim>
|
|
</port>
|
|
</output>
|
|
</layer>
|
|
``` |