Function TRITONSERVER_InferenceTraceModelName

Function Documentation

TRITONSERVER_Error *TRITONSERVER_InferenceTraceModelName(TRITONSERVER_InferenceTrace *trace, const char **model_name)

Get the name of the model associated with a trace.

The caller does not own the returned string and must not modify or delete it. The lifetime of the returned string extends only as long as ‘trace’.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • trace: The trace.

  • model_name: Returns the name of the model associated with the trace.