50 #ifndef NV_INFER_PLUGIN_H
51 #define NV_INFER_PLUGIN_H
86 inline int EnumMax<PluginType>() {
return 10; }
117 virtual const char *
getName()
const = 0;
145 TENSORRTAPI
INvPlugin * createFasterRCNNPlugin(
int featureStride,
int preNmsTop,
146 int nmsMaxOut,
float iouThreshold,
float minBoxSize,
147 float spatialScale,
DimsHW pooling,
149 TENSORRTAPI
INvPlugin * createFasterRCNNPlugin(
const void * data,
size_t length);
159 TENSORRTAPI
INvPlugin * createSSDNormalizePlugin(
const Weights *scales,
bool acrossSpatial,
bool channelShared,
float eps);
160 TENSORRTAPI
INvPlugin * createSSDNormalizePlugin(
const void * data,
size_t length);
175 TENSORRTAPI
INvPlugin * createSSDPermutePlugin(
const void * data,
size_t length);
198 float *minSize, *maxSize, *aspectRatios;
199 int numMinSize, numMaxSize, numAspectRatios;
222 float minSize, maxSize;
224 int numAspectRatios, H, W;
232 TENSORRTAPI
INvPlugin * createSSDPriorBoxPlugin(
const void * data,
size_t length);
240 TENSORRTAPI
INvPlugin * createSSDAnchorGeneratorPlugin(
const void * data,
size_t length);
246 enum class CodeTypeSSD : int
273 bool shareLocation, varianceEncodedInTarget;
274 int backgroundLabelId, numClasses, topK, keepTopK;
275 float confidenceThreshold, nmsThreshold;
276 CodeTypeSSD codeType;
286 TENSORRTAPI
INvPlugin * createSSDDetectionOutputPlugin(
const void * data,
size_t length);
293 TENSORRTAPI
INvPlugin * createConcatPlugin(
int concatAxis,
bool ignoreBatch);
294 TENSORRTAPI
INvPlugin * createConcatPlugin(
const void * data,
size_t length);
300 TENSORRTAPI
INvPlugin * createPReLUPlugin(
float negSlope);
301 TENSORRTAPI
INvPlugin * createPReLUPlugin(
const void * data,
size_t length);
307 TENSORRTAPI
INvPlugin * createYOLOReorgPlugin(
int stride);
308 TENSORRTAPI
INvPlugin * createYOLOReorgPlugin(
const void * data,
size_t length);
340 TENSORRTAPI
INvPlugin * createYOLORegionPlugin(
const void * data,
size_t length);
344 #endif // NV_INFER_PLUGIN_H
The Permute plugin layer permutes the input tensor by changing the memory order of the data...
Definition: NvInferPlugin.h:166
virtual const char * getName() const =0
Get the name of the plugin from the ID.
SSD Grid Anchor Generator.
PluginType
The type values for the various plugins.
Definition: NvInferPlugin.h:70
virtual PluginType getPluginType() const =0
Get the parameter plugin ID.
Plugin class for user-implemented layers.
Definition: NvInfer.h:2355
Common interface for the Nvidia created plugins.
Definition: NvInferPlugin.h:100
FasterRCNN fused plugin (RPN + ROI pooling).
SSD DetectionOutput plugin.
The PriorBox plugin layer generates the prior boxes of designated sizes and aspect ratios across all ...
Definition: NvInferPlugin.h:196
virtual void destroy()=0
Destroy the plugin.
An array of weights used as a layer parameter.
Definition: NvInfer.h:493
The Region plugin layer performs region proposal calculation: generate 5 bounding boxes per cell (for...
Definition: NvInferPlugin.h:318
Definition: NvInferPlugin.h:331
Descriptor for two-dimensional spatial data.
Definition: NvInfer.h:201
The Anchor Generator plugin layer generates the prior boxes of designated sizes and aspect ratios acr...
Definition: NvInferPlugin.h:220
The DetectionOutput plugin layer generates the detection output based on location and confidence pred...
Definition: NvInferPlugin.h:271