pub fn prepare_input_view<T: Scalar>(
view: &StridedView<'_, T>,
_n_batch: usize,
n_group1: usize,
n_group2: usize,
conj: bool,
) -> Result<ContiguousOperand<T>>Expand description
Prepare a borrowed input view for GEMM.
Expects batch-last canonical order: [group1..., group2..., batch...].
Checks if the two inner dimension groups are fusable.
If not, copies to a contiguous col-major buffer.