-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
Dear contributors:
I am working on tensor contraction problems involving various formulas, such as:
Here are some details:
- The range of the state indicator a, b, c, d, e, f is 0 to 15.
- For example,
$T(a,c)$ is$16*16=256$ matrix, but only 25 elements are non-zero. - And
$H(c,d,e,f)$ is a (16,16,16,16) 4D array, with several hundred non-zero elements.
I used to use the einsum function in libtorch in the past, but there is no further optimization for the einusm of this sparse matrix in libtorch. Can tiledarray be applied to these types of situations? If possible, could you provide me with an example or reference.
Thanks for your help!