Hello! Thanks a lot for your great package and feedback on the forum and github.
Currently I’m stuck in a relatively simple issue, but can not solve it.
I would like to combine two tensors, A(i, j) and B(i, k), which have the same index “i”, into a new tensor C(i, m), such that dim(m) = dim(j) + dim(k).
if m <= dim(j)
C(i, m) = A(i, j)
else
C(i,m) = B(i, k)
end
how can I do that easily ? I can iterate over every element of C and element wise copy A and B to C, but probably there is a better with using “combiner”, slicing or smth else ?