Function TRTSERVER_InferenceRequestOptionsAddClassificationOutput

Function Documentation

TRTSERVER_Error *TRTSERVER_InferenceRequestOptionsAddClassificationOutput(TRTSERVER_InferenceRequestOptions *request_options, const char *output_name, uint32_t count)

Request the classification values of the specified output to be returned for requests associated with the request options.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • request_options: The request options object.

  • output_name: The name of the output.

  • count: Indicates how many classification values should be returned for the output. The ‘count’ highest priority values are returned.