TensorRT
8.0.3
|
The PriorBox plugin layer generates the prior boxes of designated sizes and aspect ratios across all dimensions (H x W). PriorBoxParameters defines a set of parameters for creating the PriorBox plugin layer. It contains: More...
#include <NvInferPluginUtils.h>
The PriorBox plugin layer generates the prior boxes of designated sizes and aspect ratios across all dimensions (H x W). PriorBoxParameters defines a set of parameters for creating the PriorBox plugin layer. It contains:
minSize | Minimum box size in pixels. Can not be nullptr. |
maxSize | Maximum box size in pixels. Can be nullptr. |
aspectRatios | Aspect ratios of the boxes. Can be nullptr. |
numMinSize | Number of elements in minSize. Must be larger than 0. |
numMaxSize | Number of elements in maxSize. Can be 0 or same as numMinSize. |
numAspectRatios | Number of elements in aspectRatios. Can be 0. |
flip | If true, will flip each aspect ratio. For example, if there is an aspect ratio "r", the aspect ratio "1.0/r" will be generated as well. |
clip | If true, will clip the prior so that it is within [0,1]. |
variance | Variance for adjusting the prior boxes. |
imgH | Image height. If 0, then the H dimension of the data tensor will be used. |
imgW | Image width. If 0, then the W dimension of the data tensor will be used. |
stepH | Step in H. If 0, then (float)imgH/h will be used where h is the H dimension of the 1st input tensor. |
stepW | Step in W. If 0, then (float)imgW/w will be used where w is the W dimension of the 1st input tensor. |
offset | Offset to the top left corner of each cell. |
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact