pub fn addmm(
c: impl AsRef<Array>,
a: impl AsRef<Array>,
b: impl AsRef<Array>,
alpha: impl Into<Option<f32>>,
beta: impl Into<Option<f32>>,
) -> Result<Array>Expand description
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.
ยงParams
c: input array,a: input array,b: input array,alpha: Scaling factor for the matrix product ofaandb(default:1)beta: Scaling factor forc(default:1)