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

Method getSerializationSize

plugin/fcPlugin/fcPlugin.cpp:663–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663size_t FCPluginDynamic::getSerializationSize() const noexcept
664{
665 size_t wordSize = getElementSize(mType);
666 return wordSize * mNumParams + sizeof(mType) + sizeof(mOutDim) + sizeof(mNumParams) + sizeof(mAlgo) + sizeof(mNmax)
667 + sizeof(mK);
668}
669
670void FCPluginDynamic::serialize(void* buffer) const noexcept
671{

Callers 1

pyPlugin.cppFile · 0.45

Calls 1

getElementSizeFunction · 0.50

Tested by

no test coverage detected