prepare_input_view_for_backend

Function prepare_input_view_for_backend 

Source
pub fn prepare_input_view_for_backend<T: ScalarBase, B: BackendConfig>(
    view: &StridedView<'_, T>,
    _n_batch: usize,
    n_group1: usize,
    n_group2: usize,
) -> Result<ContiguousOperand<T>>
Expand description

Prepare a borrowed input view for a generic GEMM backend.

Expects batch-last canonical order: [group1..., group2..., batch...]. Like prepare_input_view but works with any ScalarBase type and does not handle conjugation materialization. The conj field of the returned operand is always false.