Class ModelControlGrpcContext¶
Defined in File request_grpc.h
Class Documentation¶
-
class
ModelControlGrpcContext
¶ ModelControlGrpcContext is the GRPC instantiation of ModelControlContext.
Public Static Functions
-
static Error
Create
(std::unique_ptr<ModelControlContext> *ctx, const std::string &server_url, bool verbose = false)¶ Create context that controls models to be loaded on a server and to be unloaded from a server using GRPC.
- Return
Error object indicating success or failure.
- Parameters
ctx
: Returns the new ModelControlContext object.server_url
: The inference server name and port.verbose
: If true generate verbose output when contacting the inference server.
-
static Error