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

Method setErrorRecorder

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

1121 //! \see getErrorRecorder()
1122 //!
1123 void setErrorRecorder(IErrorRecorder* recorder) noexcept
1124 {
1125 mImpl->setErrorRecorder(recorder);
1126 }
1127
1128 //!
1129 //! \brief Get the ErrorRecorder assigned to this interface.

Callers

nothing calls this directly

Calls 1

setErrorRecorderMethod · 0.45

Tested by

no test coverage detected