ngraph.grn¶
- ngraph.grn(data: _pyngraph.Node, bias: float, name: Optional[str] = None) _pyngraph.Node ¶
Perform Global Response Normalization with L2 norm (across channels only).
Computes GRN operation on channels for input tensor:
\[output_i = \dfrac{input_i}{\sqrt{\sum_{i}^{C} input_i}}\]- Parameters
data – The node with data tensor.
bias – The bias added to the variance. Scalar value.
name – Optional output node name.
- Returns
The new node performing a GRN operation on tensor’s channels.