A ggml_task is the contract object passed from the extraction layer to
the dispatch layer. It bundles the operation name, the dense feature matrix
(features in rows, cells in columns — the single-cell convention), the
operation parameters and the requested device. It performs no computation.
ggml_task(op, matrix, params = list(), device = c("auto", "vulkan", "cpu"))An object of class ggml_task.
Operation name; must be registered in
ggml_ops_registry (e.g. "embed").
A numeric matrix (dense) or dgCMatrix (sparse).
Rows are features (genes), columns are cells.
Named list of operation parameters (e.g. n_components).
"vulkan", "cpu" or "auto" (default).
ggml_run, ggml_ops_registry