Performs a prediction using a SavedModel model already loaded using
load_savedmodel()
.
1 2 3 | ## S3 method for class 'graph_prediction'
predict_savedmodel(instances, model, sess,
signature_name = "serving_default", ...)
|
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 |
sess |
The active TensorFlow session. |
signature_name |
The named entry point to use in the model for prediction. |
... |
See #' @section Implementations:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.