TensorRT 10.0.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. More...

#include <NvInferPluginUtils.h>

Public Attributes

float minSize
 Scale of anchors corresponding to finest resolution. More...
 
float maxSize
 Scale of anchors corresponding to coarsest resolution. More...
 
float * aspectRatios
 List of aspect ratios to place on each grid point. More...
 
int32_t numAspectRatios
 Number of elements in aspectRatios. More...
 
int32_t H
 Height of feature map to generate anchors for. More...
 
int32_t W
 Width of feature map to generate anchors for. More...
 
float variance [4]
 Variance for adjusting the prior boxes. More...
 

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.

Member Data Documentation

◆ aspectRatios

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

List of aspect ratios to place on each grid point.

◆ H

int32_t nvinfer1::plugin::GridAnchorParameters::H

Height of feature map to generate anchors for.

◆ maxSize

float nvinfer1::plugin::GridAnchorParameters::maxSize

Scale of anchors corresponding to coarsest resolution.

◆ minSize

float nvinfer1::plugin::GridAnchorParameters::minSize

Scale of anchors corresponding to finest resolution.

◆ numAspectRatios

int32_t nvinfer1::plugin::GridAnchorParameters::numAspectRatios

Number of elements in aspectRatios.

◆ variance

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

Variance for adjusting the prior boxes.

◆ W

int32_t nvinfer1::plugin::GridAnchorParameters::W

Width of feature map to generate anchors for.


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