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

Function createRefitter

samples/trtexec/trtexec.cpp:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217IRefitter* createRefitter(ICudaEngine& engine)
218{
219 if (!initNvinfer())
220 {
221 return {};
222 }
223 ASSERT(pCreateInferRefitterInternal != nullptr);
224 return static_cast<IRefitter*>(pCreateInferRefitterInternal(&engine, &gLogger.getTRTLogger(), NV_TENSORRT_VERSION));
225}
226
227nvonnxparser::IParser* createONNXParser(INetworkDefinition& network)
228{

Callers

nothing calls this directly

Calls 1

initNvinferFunction · 0.85

Tested by

no test coverage detected