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

Method setErrorRecorder

include/NvInferRuntime.h:3039–3042  ·  view source on GitHub ↗

\brief Set the ErrorRecorder for this interface Assigns the ErrorRecorder to this interface. The ErrorRecorder will track all errors during execution. This function will call incRefCount of the registered ErrorRecorder at least once. Setting recorder to nullptr unregisters the recorder with the interface, resulting in a call to decRefCount if a recorder has been registered. If an error recorder

Source from the content-addressed store, hash-verified

3037 //! \see getErrorRecorder()
3038 //!
3039 void setErrorRecorder(IErrorRecorder* recorder) noexcept
3040 {
3041 mImpl->setErrorRecorder(recorder);
3042 }
3043
3044 //!
3045 //! \brief Get the ErrorRecorder assigned to this interface.

Callers

nothing calls this directly

Calls 1

setErrorRecorderMethod · 0.45

Tested by

no test coverage detected