Function TRTSERVER_ServerNew¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerNew
(TRTSERVER_Server **server, TRTSERVER_ServerOptions *options)¶ TRTSERVER_Server.
An inference server.Create a new server object. The caller takes ownership of the TRTSERVER_Server object and must call TRTSERVER_ServerDelete to release the object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
server
: Returns the new inference server object.options
: The inference server options object.