-
[ Opening a new issue as discussed in closed issue #292 ]
_Issue_: PyTorch and TensorFlow both implement a function to compute tensor contractions using einstein summation notation (the einsum func…
-
This is a proposal for adding a reduction node/nodes to the index expression IR.
The rationale is that our current approach of inferring summations based on a convention is flawed, because any such…
-
May I have a question about math operation on the sparse output of the descriptor, please?
I would like to do numpy operations on the sparse output. E.g., I want to do np.moveaxis, and einstein summa…
-
```
using Tullio, Zygote, CUDA, KernelAbstractions, OMEinsum
# Show outer product of strings
A = ["x", "y", "z", "w"]
res = Array{String}(undef, length(A), length(A))
for (i, r) in enumerate(A)…
-
The FortranCon 2020 presentation from Patrick Seewald on ["Generic Programming Techniques by example of a tensor contraction"](https://github.com/pseewald/fortran-einsum-example/blob/master/presentati…
-
Hi,
I am currently using Fastor to perform tensor contraction and I am unsure if it supports my example usage.
For example, given this Python code:
```
t1 = np.array([[0.4, 0.11], [0.8, 0.8], …
ghost updated
3 years ago
-
Is _opt_einsum.paths.optimal_ supposed to support non-standard Einstein summations (when an index occurs in more than two tensors)?
Consider contracting 3 tensors: `ij,j,jk->`:
First, DFS looks …
-
I'm currently doing a runtime analysis of the attention matrix of a transformer. Specifically, I'd like to know how the time complexity behaves w.r.t. to the size of the attention matrix.
```
def mo…
-
`bmm`, `tensordot`, and `einsum` all do some sort of `reshape` followed by one or more `mm`s. This makes doing reduction over arbitrary dimensions of large expanded/unfolded tensors slow, as the `resh…
-
# Introduction
A very common fitting problem is to find a vector `x` which solves the matrix equation `A x = y`.
Currently such problems cannot be solved using `symfit`, unless one explicitly wri…
tBuLi updated
4 years ago