pub fn tensordot(
lhs: &IdxTensor,
rhs: &IdxTensor,
pairs: &[(DynIndex, DynIndex)],
) -> Result<IdxTensor, IdxTensorError>Expand description
Contract two tensors along explicitly specified index pairs.
ยงErrors
Returns IdxTensorError::Operation when the contracted indices do not
match or when the backend contraction fails.