Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Indexing a tensor with a tensor on LHS of equation #446

Closed
pclucas14 opened this issue May 24, 2018 · 3 comments
Closed

Indexing a tensor with a tensor on LHS of equation #446

pclucas14 opened this issue May 24, 2018 · 3 comments

Comments

@pclucas14
Copy link

Hello,

I'm getting an error when trying to do the following
points_bw(b, indices(b, n, k), y) -= ...

is this type of indexing not supported in the Tensor Comprehensions framework ?

Thanks,
Lucas

@ftynse
Copy link
Contributor

ftynse commented May 24, 2018

Support for that is in progress (#262 #9). There will be restrictions on what indices contain though, in particular, the same expression should not be writing twice in the same element (i.e. all values of indices(b, n, k) must be unique.

@pclucas14
Copy link
Author

I see, thanks for the quick answer!

@ftynse
Copy link
Contributor

ftynse commented May 24, 2018

I'll close this issue in favor of the two earlier ones. Please subscribe to those if you want to get an update on when the support is added.

@ftynse ftynse closed this as completed May 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants