mlx.core.addmm#
- addmm(c: array, a: array, b: array, /, alpha: float = 1.0, beta: float = 1.0, *, stream: None | Stream | Device = None) array #
Matrix multiplication with addition and optional scaling.
Perform the (possibly batched) matrix multiplication of two arrays and add to the result with optional scaling factors.
- Parameters:
- Returns:
alpha * (a @ b) + beta * c
- Return type: