-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Hello,
I'd like to use your library to calculate the outer product of 3 sparse vectors. In numpy I can do np.outer(np.outer(u,u),u) or similarly use einsum with a dense matrix in Julia but your library is one of the few that supports high dimensional sparse tensors. How can I do this operation with SparseArrays?
I can define u = SparseArray{Float32}(undef,(5,1)) and get the sparse vector. I can do u * u' to get the first outer product but cannot get the third outer product to work.
And finally how can I contract this result with another rank 3 tensor that is not of the type SparseArray (I think this should be easy I'm just struggling to figure out the source code)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels