Function TRTSERVER_InferenceRequestOptionsSetFlags¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_InferenceRequestOptionsSetFlags
(TRTSERVER_InferenceRequestOptions *request_options, uint32_t flags)¶ Set the flag associated with the request in a request options.
‘flags’ should holds a bitwise-or of all flag values, see TRTSERVER_Request_Options_Flag for available flags.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
request_options
: The request options object.flags
: The flags.