Prepare operands for a repeated matrix product
Source:R/prepare-operands.R
amatrix_prepare_operands.RdConverts inputs to amatrix wrappers when needed, chooses a
residency-capable accelerator backend in automatic mode, and binds the
operands so repeated products reuse the resident fast path.
Usage
amatrix_prepare_operands(
x,
y,
op = c("matmul", "crossprod", "tcrossprod"),
backend = "auto",
precision = amatrix_default_precision(),
policy = amatrix_default_policy()
)