| ggml_predict_classes | R Documentation |
Returns predicted class indices (1-based) by applying argmax
to the output of ggml_predict().
ggml_predict_classes(model, x, batch_size = 32L)
model |
A trained ggml_sequential_model |
x |
Input data (matrix or array) |
batch_size |
Batch size for inference |
Integer vector of predicted class indices (1-based)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.