einsum_with_subscripts_owned

Function einsum_with_subscripts_owned 

Source
pub fn einsum_with_subscripts_owned<T: Scalar + HasAlgebra>(
    _subscripts: &Subscripts,
    _operands: Vec<Tensor<T>>,
) -> Result<Tensor<T>>
Expand description

Execute einsum with pre-built Subscripts, consuming the input tensors.

Combines the benefits of subscript caching (einsum_with_subscripts) with buffer reuse from owned operands.

ยงErrors

Returns an error if tensor shapes are incompatible with the subscripts.