Function TRTSERVER_ServerModelRepositoryIndex¶
Defined in File trtserver.h
Function Documentation¶
-
TRTSERVER_Error *
TRTSERVER_ServerModelRepositoryIndex(TRTSERVER_Server *server, TRTSERVER_Protobuf **repository_index)¶ Get the index for all unique models in the model repository as a TRTSERVER_Protobuf object.
The caller takes ownership of the object and must call TRTSERVER_ProtobufDelete to release the object.
- Return
a TRTSERVER_Error indicating success or failure.
- Parameters
server: The inference server object.repository_index: Returns the model repository index protobuf.