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

Method setErrorRecorder

include/NvInferRuntime.h:3694–3697  ·  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

3692 //! \see getErrorRecorder()
3693 //!
3694 void setErrorRecorder(IErrorRecorder* recorder) noexcept
3695 {
3696 mImpl->setErrorRecorder(recorder);
3697 }
3698
3699 //!
3700 //! \brief Get the ErrorRecorder assigned to this interface.

Callers

nothing calls this directly

Calls 1

setErrorRecorderMethod · 0.45

Tested by

no test coverage detected