Runs forward pass on input data and returns prediction probabilities
(or raw output values for regression). Unlike ggml_evaluate(), this
does not require labels.
# S3 method for ggml_functional_model
ggml_predict(model, x, batch_size = 32L, ...)ggml_predict(model, ...)
# S3 method for ggml_sequential_model
ggml_predict(model, x, batch_size = 32L, ...)
Matrix of predictions with shape [N, output_units]
A trained ggml_sequential_model
Input data (matrix or array)
Batch size for inference
Additional arguments (ignored).