TensorRT 10.4.0
|
The PriorBox plugin layer generates the prior boxes of designated sizes and aspect ratios across all dimensions (H x W). More...
#include <NvInferPluginUtils.h>
Public Attributes | |
float * | minSize |
Minimum box size in pixels. Can not be nullptr. More... | |
float * | maxSize |
Maximum box size in pixels. Can be nullptr. More... | |
float * | aspectRatios |
Aspect ratios of the boxes. Can be nullptr. More... | |
int32_t | numMinSize |
Number of elements in minSize. Must be larger than 0. More... | |
int32_t | numMaxSize |
Number of elements in maxSize. Can be 0 or same as numMinSize. More... | |
int32_t | numAspectRatios |
Number of elements in aspectRatios. Can be 0. More... | |
bool | flip |
bool | clip |
If true, will clip the prior so that it is within [0,1]. More... | |
float | variance [4] |
Variance for adjusting the prior boxes. More... | |
int32_t | imgH |
Image height. If 0, then the H dimension of the data tensor will be used. More... | |
int32_t | imgW |
Image width. If 0, then the W dimension of the data tensor will be used. More... | |
float | stepH |
Step in H. If 0, then (float)imgH/h will be used where h is the H dimension of the 1st input tensor. More... | |
float | stepW |
Step in W. If 0, then (float)imgW/w will be used where w is the W dimension of the 1st input tensor. More... | |
float | offset |
Offset to the top left corner of each cell. More... | |
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.
float* nvinfer1::plugin::PriorBoxParameters::aspectRatios |
Aspect ratios of the boxes. Can be nullptr.
bool nvinfer1::plugin::PriorBoxParameters::clip |
If true, will clip the prior so that it is within [0,1].
bool nvinfer1::plugin::PriorBoxParameters::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.
int32_t nvinfer1::plugin::PriorBoxParameters::imgH |
Image height. If 0, then the H dimension of the data tensor will be used.
int32_t nvinfer1::plugin::PriorBoxParameters::imgW |
Image width. If 0, then the W dimension of the data tensor will be used.
float* nvinfer1::plugin::PriorBoxParameters::maxSize |
Maximum box size in pixels. Can be nullptr.
float* nvinfer1::plugin::PriorBoxParameters::minSize |
Minimum box size in pixels. Can not be nullptr.
int32_t nvinfer1::plugin::PriorBoxParameters::numAspectRatios |
Number of elements in aspectRatios. Can be 0.
int32_t nvinfer1::plugin::PriorBoxParameters::numMaxSize |
Number of elements in maxSize. Can be 0 or same as numMinSize.
int32_t nvinfer1::plugin::PriorBoxParameters::numMinSize |
Number of elements in minSize. Must be larger than 0.
float nvinfer1::plugin::PriorBoxParameters::offset |
Offset to the top left corner of each cell.
float nvinfer1::plugin::PriorBoxParameters::stepH |
Step in H. If 0, then (float)imgH/h will be used where h is the H dimension of the 1st input tensor.
float nvinfer1::plugin::PriorBoxParameters::stepW |
Step in W. If 0, then (float)imgW/w will be used where w is the W dimension of the 1st input tensor.
float nvinfer1::plugin::PriorBoxParameters::variance[4] |
Variance for adjusting the prior boxes.
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