Function TRTSERVER_ServerOptionsSetModelRepositoryPath

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsSetModelRepositoryPath(TRTSERVER_ServerOptions *options, const char *model_repository_path)

Set the model repository path in a server options.

The path must be the full absolute path to the model repository.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • model_repository_path: The full path to the model repository.