C++ API¶
Native¶
Implements the methods for interacting with Proteus in the native C++ API.
-
namespace proteus¶
The Migraphx worker accepts the name of an migraphx model file as an argument and compiles and evaluates it.
gRPC¶
Implements the methods for interacting with Proteus with gRPC.
-
namespace proteus
The Migraphx worker accepts the name of an migraphx model file as an argument and compiles and evaluates it.
Functions
-
ModelMetadata mapProtoToModelMetadata(const inference::ModelMetadataResponse &resp)¶
-
template<class ...Ts>
overloaded(Ts...) -> overloaded<Ts...>¶
-
void mapParametersToProto(const std::map<std::string, proteus::Parameter> ¶meters, google::protobuf::Map<std::string, inference::InferParameter> *grpc_parameters)¶
-
void mapRequestToProto(const InferenceRequest &request, inference::ModelInferRequest &grpc_request)¶
-
void mapPrototoResponse(const inference::ModelInferResponse &reply, InferenceResponse &response)¶
-
ModelMetadata mapProtoToModelMetadata(const inference::ModelMetadataResponse &resp)¶