pub fn tropical_matmul_batched_with_argmax<T>(
a_batch: &[Vec<T::Scalar>],
b_batch: &[Vec<T::Scalar>],
m: usize,
k: usize,
n: usize,
) -> Vec<GemmWithArgmax<T>>Expand description
Batched tropical matrix multiplication with argmax tracking.
C[i] = A[i] ⊗ B[i] for i = 0..batch_size, with argmax indices.
§Arguments
a_batch: Slice of batch_size matrices, each of size m×kb_batch: Slice of batch_size matrices, each of size k×nm: Number of rows in each A matrixk: Number of columns in A / rows in Bn: Number of columns in each B matrix
§Returns
Vector of batch_size GemmWithArgmax results