Class ModelRepositoryGrpcContext¶
Defined in File request_grpc.h
Class Documentation¶
-
class
ModelRepositoryGrpcContext
¶ ModelRepositoryGrpcContext is the GRPC instantiation of ModelRepositoryContext.
Public Static Functions
-
static Error
Create
(std::unique_ptr<ModelRepositoryContext> *ctx, const std::string &server_url, bool verbose = false)¶ Create a context that returns information about the model repository of an inference server using GRPC protocol.
- Return
Error object indicating success or failure.
- Parameters
ctx
: Returns a new ModelRepositoryGrpcContext object.server_url
: The inference server name and port.verbose
: If true generate verbose output when contacting the inference server.
-
static Error