We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, you can do this:
x[0:2,:], x[0:2,1:3]
which uses GetSli, and this:
x[ cgt.arange(0,10), cgt.arange(0,20,2) ]
which uses GetFlatIndices op after computing the flat indices for the expression.
But you can't do this:
x[ [1,3], : ]
We should have an Op that looks like GetSli but takes an integer vector of indices along some axis, say, GetFancySli
The text was updated successfully, but these errors were encountered:
Is it required to implement something like a lookup table commonly used in networks that learn word embeddings? Or there is some workaround?
Sorry, something went wrong.
Implemented in a43259d
No branches or pull requests
Currently, you can do this:
which uses GetSli, and this:
which uses GetFlatIndices op after computing the flat indices for the expression.
But you can't do this:
We should have an Op that looks like GetSli but takes an integer vector of indices along some axis, say, GetFancySli
The text was updated successfully, but these errors were encountered: