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

Method setErrorRecorder

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

749 //! \see getErrorRecorder()
750 //!
751 void setErrorRecorder(IErrorRecorder* recorder) noexcept
752 {
753 mImpl->setErrorRecorder(recorder);
754 }
755
756 //!
757 //! \brief get the ErrorRecorder assigned to this interface.

Callers 4

setErrorRecorderMethod · 0.45
setErrorRecorderFunction · 0.45
setErrorRecorderMethod · 0.45
setErrorRecorderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected