Function TRITONSERVER_ServerNew¶
Defined in File tritonserver.h
Function Documentation¶
-
TRITONSERVER_Error *
TRITONSERVER_ServerNew
(TRITONSERVER_Server **server, TRITONSERVER_ServerOptions *options)¶ Create a new server object.
The caller takes ownership of the TRITONSERVER_Server object and must call TRITONSERVER_ServerDelete to release the object.
- Return
a TRITONSERVER_Error indicating success or failure.
- Parameters
server
: Returns the new inference server object.options
: The inference server options object.