TensorRT  8.2.0
nvinfer1::plugin::GridAnchorParameters Struct Reference

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]
 

Detailed Description

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:

Parameters
minScaleScale of anchors corresponding to finest resolution.
maxScaleScale of anchors corresponding to coarsest resolution.
aspectRatiosList of aspect ratios to place on each grid point.
numAspectRatiosNumber of elements in aspectRatios.
HHeight of feature map to generate anchors for.
WWidth of feature map to generate anchors for.
varianceVariance for adjusting the prior boxes.

The documentation for this struct was generated from the following file: