pub fn einsum_native_tensor_reads(
operands: &[(&NativeTensorReadInput<'_>, &[usize])],
output_ids: &[usize],
) -> Result<Tensor>Expand description
Execute a cached einsum over read-only native tensor inputs.
Backends consume borrowed host views inside their execution session. Mixed
dtypes are promoted by Convert nodes in the compiled einsum graph, so
non-contiguous operands remain borrowed until runtime execution.
ยงErrors
Returns an error when the native einsum fails (a shape or dtype mismatch, or a backend failure).