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

Method FCPluginDynamicCreator

plugin/fcPlugin/fcPlugin.cpp:713–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711/////////////////////////////////////////////////////////
712
713FCPluginDynamicCreator::FCPluginDynamicCreator()
714{
715 mPluginAttributes.clear();
716 mPluginAttributes.emplace_back(PluginField("out_dims", nullptr, PluginFieldType::kINT32, 1));
717 mPluginAttributes.emplace_back(PluginField("type_id", nullptr, PluginFieldType::kINT32, 1));
718 mPluginAttributes.emplace_back(PluginField("W", nullptr, PluginFieldType::kFLOAT32, 1));
719
720 mFC.nbFields = mPluginAttributes.size();
721 mFC.fields = mPluginAttributes.data();
722}
723
724char const* FCPluginDynamicCreator::getPluginName() const noexcept
725{

Callers

nothing calls this directly

Calls 4

PluginFieldClass · 0.85
clearMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected