xtensor-stack / xtensor

C++ tensors with broadcasting and lazy computing
BSD 3-Clause "New" or "Revised" License
3.27k stars 390 forks source link

Tensor contraction support #561

Open AuroraDysis opened 6 years ago

AuroraDysis commented 6 years ago

Please support tensor contraction and Einstein notation. Eigen3 Tensor Contraction Eigen3 einstein notation pull request Fastor TBLIS

wolfv commented 5 years ago

Another interesting implementation is in Julia: https://github.com/Jutho/TensorOperations.jl

And there is also NumPy's einsum, as well as opt_einsum for Python https://optimized-einsum.readthedocs.io/en/latest/