MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / detectionForwardPostNMSSize

Function detectionForwardPostNMSSize

plugin/common/nmsHelper.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63size_t detectionForwardPostNMSSize(int32_t N, int32_t numClasses, int32_t topK)
64{
65 PLUGIN_ASSERT(sizeof(float) == sizeof(int32_t));
66 return N * numClasses * topK * sizeof(float);
67}
68} // namespace plugin
69} // namespace nvinfer1

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected