pub fn contract_native_tensor(
lhs: &Tensor,
axes_a: &[usize],
rhs: &Tensor,
axes_b: &[usize],
) -> Result<Tensor>Expand description
Contract two native tensors along matching axes.
ยงErrors
Returns an error when the native contraction fails (a shape or index mismatch, or a backend failure).