| 215 | } |
| 216 | |
| 217 | IRefitter* 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 | |
| 227 | nvonnxparser::IParser* createONNXParser(INetworkDefinition& network) |
| 228 | { |
nothing calls this directly
no test coverage detected