|
TensorRT 8.2.1
|
The Anchor Generator plugin layer generates the prior boxes of designated sizes and aspect ratios across all dimensions (H x W). GridAnchorParameters defines a set of parameters for creating the plugin layer for all feature maps. It contains: More...
#include <NvInferPluginUtils.h>
Public Attributes | |
| float | minSize |
| float | maxSize |
| float * | aspectRatios |
| int32_t | numAspectRatios |
| int32_t | H |
| int32_t | W |
| float | variance [4] |
The Anchor Generator plugin layer generates the prior boxes of designated sizes and aspect ratios across all dimensions (H x W). GridAnchorParameters defines a set of parameters for creating the plugin layer for all feature maps. It contains:
| minScale | Scale of anchors corresponding to finest resolution. |
| maxScale | Scale of anchors corresponding to coarsest resolution. |
| aspectRatios | List of aspect ratios to place on each grid point. |
| numAspectRatios | Number of elements in aspectRatios. |
| H | Height of feature map to generate anchors for. |
| W | Width of feature map to generate anchors for. |
| variance | Variance for adjusting the prior boxes. |