| predict.ggml_sequential_model | R Documentation |
Generates predictions from a trained model. Uses the standard R
predict generic for compatibility with keras3 and
the broader R ecosystem.
## S3 method for class 'ggml_sequential_model'
predict(object, x, batch_size = 32L, ...)
## S3 method for class 'ggml_functional_model'
predict(object, x, batch_size = 32L, ...)
object |
A trained model object. |
x |
Input data (matrix, array, or list for multi-input models). |
batch_size |
Batch size for inference (default 32). |
... |
Additional arguments (ignored). |
Matrix of predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.