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 an error when the contracted indices are incompatible (a shape or /// index mismatch) or the contraction reports a failure (a backend failure).