UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:directml.DML_LOCAL_RESPONSE_NORMALIZATION_OPERATOR_DESC |
DML_LOCAL_RESPONSE_NORMALIZATION_OPERATOR_DESC |
Performs a local response normalization (LRN) function on the input. |
|
direct3d12\dml_local_response_normalization_operator_desc.htm |
directml |
43C494DC-4922-4944-A07F-802B43122575 |
11/02/2020 |
directml.h |
Windows |
Windows |
19H1 |
|
|
|
|
|
|
Performs a local response normalization (LRN) function on the input. This operator performs the following computation.
Output = Input / (Bias + (Alpha / LocalSize) * sum(Input^2 for every Input in the local region))^Beta
The data type and size of the input and output tensors must be the same.
Type: const DML_TENSOR_DESC*
The tensor containing the input data. This tensor's Sizes should be { BatchCount, ChannelCount, Height, Width }
.
Type: const DML_TENSOR_DESC*
The tensor to write the results to. This tensor's Sizes should match the InputTensor.
Type: BOOL
TRUE if the LRN layer sums across channels; otherwise, FALSE.
Type: UINT
The number of elements to sum over per dimension: Width, Height, and optionally Channel (if CrossChannel is set). This value must be at least 1.
Type: FLOAT
The value of the scaling parameter. A value of 0.0001 is recommended as default.
Type: FLOAT
The value of the exponent. A value of 0.75 is recommended as default.
Type: FLOAT
The value of bias. A value of 1 is recommended as default.
This operator was introduced in DML_FEATURE_LEVEL_1_0
.
InputTensor and OutputTensor must have the same DataType and Sizes.
Tensor | Kind | Supported dimension counts | Supported data types |
---|---|---|---|
InputTensor | Input | 4 | FLOAT32, FLOAT16 |
OutputTensor | Output | 4 | FLOAT32, FLOAT16 |