TensorRT 8.6.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.

Member Data Documentation

◆ aspectRatios

float* nvinfer1::plugin::GridAnchorParameters::aspectRatios

◆ H

int32_t nvinfer1::plugin::GridAnchorParameters::H

◆ maxSize

float nvinfer1::plugin::GridAnchorParameters::maxSize

◆ minSize

float nvinfer1::plugin::GridAnchorParameters::minSize

◆ numAspectRatios

int32_t nvinfer1::plugin::GridAnchorParameters::numAspectRatios

◆ variance

float nvinfer1::plugin::GridAnchorParameters::variance[4]

◆ W

int32_t nvinfer1::plugin::GridAnchorParameters::W

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