| 367 | } |
| 368 | |
| 369 | GridAnchorBasePluginCreator::GridAnchorBasePluginCreator() |
| 370 | { |
| 371 | mPluginAttributes.clear(); |
| 372 | mPluginAttributes.emplace_back(PluginField("minSize", nullptr, PluginFieldType::kFLOAT32, 1)); |
| 373 | mPluginAttributes.emplace_back(PluginField("maxSize", nullptr, PluginFieldType::kFLOAT32, 1)); |
| 374 | mPluginAttributes.emplace_back(PluginField("aspectRatios", nullptr, PluginFieldType::kFLOAT32, 1)); |
| 375 | mPluginAttributes.emplace_back(PluginField("featureMapShapes", nullptr, PluginFieldType::kINT32, 1)); |
| 376 | mPluginAttributes.emplace_back(PluginField("variance", nullptr, PluginFieldType::kFLOAT32, 4)); |
| 377 | mPluginAttributes.emplace_back(PluginField("numLayers", nullptr, PluginFieldType::kINT32, 1)); |
| 378 | |
| 379 | mFC.nbFields = mPluginAttributes.size(); |
| 380 | mFC.fields = mPluginAttributes.data(); |
| 381 | } |
| 382 | |
| 383 | char const* GridAnchorBasePluginCreator::getPluginName() const noexcept |
| 384 | { |
nothing calls this directly
no test coverage detected