HubertKrawczyk opened a new pull request, #2312:
URL: https://github.com/apache/systemds/pull/2312

   This PR introduces initial version of einsum operator to SystemDS.
   Einsum operator follows structure of Numpy einsum 
https://numpy.org/doc/stable/reference/generated/numpy.einsum.html
   
   For tests, R package einsum 
https://cran.r-project.org/web/packages/einsum/einsum.pdf is used
   
   Implemented so far:
   
       validation of einsum instruction
       preprocessing: simplifying inputs by contracting dimensions that can be 
contracted at the beginning
       preprocessing: identifying diagonal of matrix
       plan generation
       plan execution using individual operands (matrixMultiply, multiply, 
transpose, sumR, sumC, sumAll)
       fallback: Cell template with for-loops for einsums that cannot be solved 
using further 2D summations (e.g AB,BD->ABD)
   
   (M Thesis at TU Berlin "Efficient Einstein Summation in Apache SystemDS")
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@systemds.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to