predict_savedmodel.webapi_prediction {tfdeploy} | R Documentation |
Predict using a Web API
Description
Performs a prediction using a Web API providing a SavedModel.
Usage
## S3 method for class 'webapi_prediction'
predict_savedmodel(instances, model, ...)
Arguments
instances |
A list of prediction instances to be passed as input tensors to the service. Even for single predictions, a list with one entry is expected. |
model |
The model as a local path, a REST url or graph object. A local path can be exported using A |
... |
See #' @section Implementations: |
[Package tfdeploy version 0.6.1 Index]