deeplabcut.pose_estimation_pytorch.models.modules.norm
Normalization layers.
Classes:
| Name | Description |
|---|---|
ScaleNorm |
Implementation of ScaleNorm. |
ScaleNorm
Bases: Module
Implementation of ScaleNorm.
ScaleNorm was introduced in "Transformers without Tears: Improving the Normalization of Self-Attention".
Code based on the mmpose implementation. See https://github.com/open-mmlab/mmpose
for more details.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
int
|
The dimension of the scale vector. |
required |
|
float
|
The minimum value in clamp. |
1e-05
|