Skip to main content

tensordot

Function tensordot 

Source
pub fn tensordot(
    lhs: &TensorDynLen,
    rhs: &TensorDynLen,
    pairs: &[(DynIndex, DynIndex)],
) -> Result<TensorDynLen>
Expand description

Contract two tensors along explicitly specified index pairs.